Pretty-print tabular data in Python with extensive formatting options and output format support.
Overall
score
69%
{
"context": "This criteria evaluates how well the engineer uses the tabulate package's custom column alignment features, including the colalign, colglobalalign, numalign, and stralign parameters to achieve specific alignment requirements.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Uses tabulate function",
"description": "Code imports and uses the tabulate() function from the tabulate package to format tables",
"max_score": 10
},
{
"name": "colalign parameter",
"description": "Uses the colalign parameter to specify per-column alignment (e.g., colalign=['right', 'left', 'center', 'decimal', 'decimal']) for test case 1",
"max_score": 30
},
{
"name": "colglobalalign parameter",
"description": "Uses the colglobalalign parameter to set a global alignment for all columns that can be overridden by colalign for test case 2",
"max_score": 25
},
{
"name": "numalign parameter",
"description": "Uses the numalign parameter to control default alignment for numeric columns (e.g., numalign='decimal') for test case 3",
"max_score": 20
},
{
"name": "stralign parameter",
"description": "Uses the stralign parameter to control default alignment for string columns (e.g., stralign='left') for test case 3",
"max_score": 15
}
]
}Install with Tessl CLI
npx tessl i tessl/pypi-tabulatedocs
evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10