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 effectively the engineer uses the titlecase package to solve the hyphenated phrase formatting problem. The focus is on proper usage of the titlecase library's API and understanding its hyphenated word processing capabilities.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Uses titlecase function",
"description": "The solution imports and uses the titlecase() function from the titlecase package",
"max_score": 30
},
{
"name": "Correct function call",
"description": "The titlecase() function is called with appropriate arguments (text input as first parameter)",
"max_score": 25
},
{
"name": "Handles hyphenated words",
"description": "The solution correctly processes hyphenated phrases (e.g., 'end-to-end' becomes 'End-to-End') by leveraging titlecase's built-in hyphenated word processing",
"max_score": 25
},
{
"name": "Small words handled",
"description": "Small words (prepositions, articles, conjunctions) within hyphenated phrases are kept lowercase in middle positions, demonstrating understanding of titlecase's small word handling",
"max_score": 15
},
{
"name": "No manual splitting",
"description": "The solution avoids manually splitting on hyphens and instead relies on titlecase's automatic hyphenated word processing capability",
"max_score": 5
}
]
}