tessl install tessl/pypi-tabulate@0.9.0Pretty-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%
{
"context": "This criteria evaluates the engineer's ability to use the tabulate library for basic table formatting tasks, specifically focusing on proper usage of the tabulate() function with different data structures and header configurations.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Uses tabulate() function",
"description": "The implementation imports and uses the tabulate() function from the tabulate package for formatting tables",
"max_score": 20
},
{
"name": "List of lists formatting",
"description": "Correctly passes list of lists data structure to tabulate() for the employee report without headers",
"max_score": 20
},
{
"name": "Headers parameter usage",
"description": "Correctly uses the headers parameter of tabulate() to add column headers when provided",
"max_score": 20
},
{
"name": "Empty data handling",
"description": "Handles empty list input correctly, leveraging tabulate()'s behavior of returning empty string for empty data",
"max_score": 15
},
{
"name": "Dictionary data formatting",
"description": "Correctly passes list of dictionaries to tabulate() for the product report",
"max_score": 15
},
{
"name": "Automatic headers from keys",
"description": "Uses the headers='keys' parameter or equivalent to extract column headers from dictionary keys",
"max_score": 10
}
]
}