CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl/pypi-pygsheets

Google Spreadsheets Python API v4

76

1.22x
Overview
Eval results
Files

rubric.jsonevals/scenario-4/

{
  "context": "Evaluates how well the solution uses pygsheets cell-level APIs to place literals, formulas, and annotations into the first worksheet. Scoring checks that values, notes, and formatting are applied through Cell objects and persisted via updates rather than ad hoc data handling.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Cell access",
      "description": "Opens the spreadsheet with pygsheets, selects the first worksheet (e.g., sheet1 or index 0), and targets addresses via Worksheet.cell instead of only range-wide helpers.",
      "max_score": 15
    },
    {
      "name": "Value writes",
      "description": "Sets literal assignments by writing through Cell.value (or set_value) on the specified addresses and commits each change with Cell.update so subsequent reads return the stored values.",
      "max_score": 20
    },
    {
      "name": "Formula assignment",
      "description": "Stores provided formulas by setting Cell.formula on the target cells (rather than precomputing values locally) and triggers Cell.update so the sheet recalculates using in-sheet references.",
      "max_score": 25
    },
    {
      "name": "Notes",
      "description": "Attaches notes using the Cell.note setter when requested and persists them with Cell.update or an equivalent cell-level sync.",
      "max_score": 15
    },
    {
      "name": "Formatting",
      "description": "Applies formatting at the cell level by calling Cell.set_number_format for numeric patterns and setting Cell.color for backgrounds, ensuring these changes are saved on the cell objects.",
      "max_score": 25
    }
  ]
}

Install with Tessl CLI

npx tessl i tessl/pypi-pygsheets

tile.json