CtrlK
CommunityDocumentationLog inGet started
Tessl Logo

tessl/pypi-titlecase

tessl install tessl/pypi-titlecase@2.4.0

Python 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%

rubric.jsonevals/scenario-2/

{
  "context": "This criteria evaluates how well the engineer uses the titlecase package to preserve mixed-case brand names while converting text to title case. The focus is on understanding and correctly applying titlecase's brand name preservation capability.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Uses titlecase function",
      "description": "Imports and uses the titlecase() function from the titlecase package as the primary mechanism for title case conversion.",
      "max_score": 30
    },
    {
      "name": "Brand preservation",
      "description": "Correctly relies on titlecase's automatic mixed-case preservation behavior without implementing custom brand name handling logic. The solution should leverage that titlecase() preserves mixed-case words when input is not all-caps.",
      "max_score": 40
    },
    {
      "name": "All-caps handling",
      "description": "Correctly handles all-caps input by passing it to titlecase(), which normalizes all-caps text and does not preserve brand capitalization. Does not add special logic to detect or handle all-caps scenarios beyond calling titlecase().",
      "max_score": 20
    },
    {
      "name": "Test compliance",
      "description": "Implementation produces correct outputs for all test cases as specified in the problem, demonstrating proper understanding of titlecase behavior.",
      "max_score": 10
    }
  ]
}

Version

Workspace
tessl
Visibility
Public
Created
Last updated
Describes
pypipkg:pypi/titlecase@2.4.x
tile.json