CtrlK
CommunityDocumentationLog inGet started
Tessl Logo

tessl/pypi-pygsheets

tessl install tessl/pypi-pygsheets@2.0.0

Google Spreadsheets Python API v4

Agent Success

Agent success rate when using this tile

76%

Improvement

Agent success rate improvement when using this tile compared to baseline

1.23x

Baseline

Agent success rate without this tile

62%

rubric.jsonevals/scenario-6/

{
  "context": "Evaluates how the solution uses pygsheets to enforce data entry rules and conditional formatting on an inventory worksheet. Checks focus on leveraging pygsheets helpers for dropdowns, numeric limits, checkboxes, and formatting rules instead of manual cell edits. Also verifies rule refreshes reuse pygsheets APIs without clobbering existing values.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Category dropdown",
      "description": "Restricts the Category column with pygsheets validation (e.g., Worksheet.set_data_validation or DataRange.set_data_validation using condition_type='ONE_OF_LIST' / listRule) so only the provided options are selectable, with strict or custom UI enabled to block free-form text.",
      "max_score": 25
    },
    {
      "name": "Quantity limits",
      "description": "Enforces non-negative integers in Quantity via pygsheets validation (number condition such as 'NUMBER_GREATER_THAN_EQ' with 0) applied to the entire data range, instead of post-processing values after write.",
      "max_score": 20
    },
    {
      "name": "Restock checkboxes",
      "description": "Creates true/false checkboxes for the Restock Needed column using pygsheets validation tools (checkbox rule or condition_type='BOOLEAN') rather than plain text values, and sets the default state to unchecked.",
      "max_score": 15
    },
    {
      "name": "Low-stock formatting",
      "description": "Applies conditional formatting through Worksheet.add_conditional_formatting (or equivalent pygsheets rule builder) to tint Quantity cells below the low_stock_threshold amber and exactly zero red, not via manual color writes.",
      "max_score": 20
    },
    {
      "name": "Overdue dates format",
      "description": "Uses pygsheets conditional formatting with a date comparison rule to style Restock By dates earlier than today (e.g., bold red text), leaving future/empty cells unchanged and avoiding hard-coded formatting.",
      "max_score": 10
    },
    {
      "name": "Idempotent refresh",
      "description": "Reapplies validations and conditional formats by clearing/replacing rules through pygsheets APIs (such as clear_data_validation plus add_conditional_formatting) without deleting existing user data or overwriting values.",
      "max_score": 10
    }
  ]
}

Version

Workspace
tessl
Visibility
Public
Created
Last updated
Describes
pypipkg:pypi/pygsheets@2.0.x
tile.json