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 to handle multiple Unicode dash types as subphrase delimiters. The focus is on correctly leveraging the package's built-in dash recognition capabilities to capitalize words following different dash characters.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Uses titlecase function",
"description": "Import and use the titlecase() function from the titlecase package as the primary text processing mechanism",
"max_score": 25
},
{
"name": "Dash type preservation",
"description": "Solution correctly preserves all original dash types (hyphen-minus, en dash, figure dash, em dash, horizontal bar) in the output without conversion",
"max_score": 20
},
{
"name": "Capitalization after dashes",
"description": "Words immediately following any of the five supported dash types are properly capitalized, demonstrating that titlecase recognizes all dash types as subphrase delimiters",
"max_score": 30
},
{
"name": "Handles em dash",
"description": "Correctly processes text containing em dashes (—) with proper capitalization after the dash",
"max_score": 10
},
{
"name": "Handles en dash",
"description": "Correctly processes text containing en dashes (–) with proper capitalization after the dash",
"max_score": 10
},
{
"name": "Test coverage",
"description": "Tests demonstrate correct handling of multiple dash types with appropriate test cases covering the specified requirements",
"max_score": 5
}
]
}