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

{
  "context": "This criteria evaluates how well the engineer uses the titlecase package to format blog post titles while preserving domain names and URLs. The focus is on correctly utilizing the package's domain/URL preservation capability through its main titlecase() function.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Uses titlecase function",
      "description": "The solution imports and uses the titlecase() function from the titlecase package as the primary mechanism for title formatting.",
      "max_score": 40
    },
    {
      "name": "Domain preservation works",
      "description": "Domain names and URLs within titles are preserved exactly as they appear in the input, demonstrating that the titlecase package's automatic domain detection is functioning correctly.",
      "max_score": 30
    },
    {
      "name": "Title case rules",
      "description": "Regular words follow proper title case rules (first/last words capitalized, small words lowercase in middle positions), showing correct usage of titlecase package behavior.",
      "max_score": 20
    },
    {
      "name": "Handles multiple patterns",
      "description": "The solution correctly processes all types of web addresses specified (simple domains, subdomains, multi-dot domains, and full URLs with protocols) without additional custom logic.",
      "max_score": 10
    }
  ]
}

Version

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