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-1/

{
  "context": "This evaluation assesses how well the engineer uses the titlecase package to handle recursive processing of compound constructions including hyphenated words, slash-separated phrases, and Mac/Mc Scottish/Irish name patterns.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Uses titlecase function",
      "description": "Imports and calls the titlecase() function from the titlecase package as the primary mechanism for title case conversion",
      "max_score": 25
    },
    {
      "name": "Hyphenated word handling",
      "description": "Correctly relies on titlecase package's built-in recursive processing for hyphenated compounds (e.g., 'end-to-end', 'state-of-the-art') without manually splitting or processing hyphens",
      "max_score": 20
    },
    {
      "name": "Slash-separated phrase handling",
      "description": "Correctly relies on titlecase package's built-in recursive processing for slash-separated phrases (e.g., 'yes/no', 'start/stop/restart') without manually splitting or processing slashes",
      "max_score": 20
    },
    {
      "name": "Mac/Mc name processing",
      "description": "Correctly relies on titlecase package's built-in recursive processing for Scottish/Irish names with Mac/Mc prefixes (e.g., 'mcdonald', 'macintosh', 'mccoy') without custom pattern matching",
      "max_score": 20
    },
    {
      "name": "Combined pattern processing",
      "description": "Correctly handles combined patterns (e.g., 'mcgregor's state-of-the-art', 'yes/no-maybe') by relying on titlecase's recursive architecture that processes nested compound constructions",
      "max_score": 15
    }
  ]
}

Version

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