CtrlK
CommunityDocumentationLog inGet started
Tessl Logo

tessl/pypi-tabulate

tessl install tessl/pypi-tabulate@0.9.0

Pretty-print tabular data in Python with extensive formatting options and output format support.

Agent Success

Agent success rate when using this tile

69%

Improvement

Agent success rate improvement when using this tile compared to baseline

0.9x

Baseline

Agent success rate without this tile

77%

rubric.jsonevals/scenario-10/

{
  "context": "This criteria evaluates how well the engineer uses the tabulate library's missing value handling capabilities, specifically the missingval parameter for both global and per-column missing value replacement in formatted tables.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Uses tabulate function",
      "description": "Imports and calls the tabulate() function from the tabulate package to format tables",
      "max_score": 15
    },
    {
      "name": "Passes data to tabulate",
      "description": "Correctly structures parsed CSV data as a list of lists or similar tabular format that tabulate can process, with empty cells represented as None values",
      "max_score": 15
    },
    {
      "name": "Global missingval parameter",
      "description": "Uses the missingval parameter with a string value (e.g., missingval='N/A') to globally replace all None/missing values in the table",
      "max_score": 25
    },
    {
      "name": "Per-column missingval parameter",
      "description": "Uses the missingval parameter with a tuple or list (e.g., missingval=('Unknown', 'Confidential')) to specify different placeholder text for different columns",
      "max_score": 30
    },
    {
      "name": "Correct placeholder mapping",
      "description": "Correctly maps column-specific placeholders to their respective columns, ensuring the order matches the data columns",
      "max_score": 10
    },
    {
      "name": "Returns formatted string",
      "description": "Returns the string output from tabulate() rather than printing directly, allowing the table to be used programmatically",
      "max_score": 5
    }
  ]
}

Version

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