Python port of John Gruber's titlecase.pl for intelligent title case conversion with style guide compliance
Overall
score
79%
{
"context": "This criteria evaluates how well the engineer uses the titlecase package to implement protocol name formatting, specifically leveraging the automatic acronym detection feature for all-consonant words. The evaluation focuses on proper usage of the titlecase function and understanding of its built-in acronym detection capability.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Imports titlecase function",
"description": "Successfully imports the titlecase function from the titlecase package (e.g., 'from titlecase import titlecase')",
"max_score": 15
},
{
"name": "Uses titlecase function",
"description": "Calls the titlecase() function to process the input text, passing the text as an argument",
"max_score": 30
},
{
"name": "Leverages automatic acronym detection",
"description": "Relies on titlecase's built-in automatic acronym detection for all-consonant words (TCP, DNS, HTTP, etc.) without implementing custom logic to manually uppercase these acronyms",
"max_score": 35
},
{
"name": "Returns titlecase output",
"description": "Returns the result from the titlecase() function call directly or with minimal processing",
"max_score": 20
}
]
}Install with Tessl CLI
npx tessl i tessl/pypi-titlecasedocs
evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10