tessl install tessl/pypi-titlecase@2.4.0Python port of John Gruber's titlecase.pl for intelligent title case conversion with style guide compliance
Agent Success
Agent success rate when using this tile
79%
Improvement
Agent success rate improvement when using this tile compared to baseline
0.92x
Baseline
Agent success rate without this tile
86%
{
"context": "This criteria evaluates how well the engineer uses the titlecase package's small_first_last parameter to control first and last word capitalization behavior. The focus is on correctly invoking the titlecase function with the appropriate parameter value to achieve the desired formatting outcomes.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Uses titlecase function",
"description": "Imports and calls the titlecase() function from the titlecase package to perform title case conversion",
"max_score": 30
},
{
"name": "Passes small_first_last parameter",
"description": "Correctly uses the small_first_last parameter when calling titlecase() to control first/last word capitalization",
"max_score": 40
},
{
"name": "Maps parameter correctly",
"description": "Correctly maps the capitalize_first_last input parameter to the small_first_last parameter of titlecase() (passing capitalize_first_last value directly to small_first_last)",
"max_score": 20
},
{
"name": "Returns titlecase result",
"description": "Returns the result from titlecase() function call as the output of format_title()",
"max_score": 10
}
]
}