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

{
  "context": "This criteria evaluates how well the engineer uses the titlecase package to properly format French and Italian contractions (d', l', o'). The focus is on correctly utilizing the titlecase function which has built-in support for this specific formatting pattern.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Imports titlecase function",
      "description": "The solution imports the titlecase function from the titlecase package (e.g., 'from titlecase import titlecase' or 'import titlecase').",
      "max_score": 20
    },
    {
      "name": "Uses titlecase function",
      "description": "The solution calls the titlecase() function to perform the text formatting rather than implementing custom capitalization logic.",
      "max_score": 40
    },
    {
      "name": "Passes input correctly",
      "description": "The solution passes the input text as the first argument to titlecase() function, allowing it to process the contractions automatically.",
      "max_score": 20
    },
    {
      "name": "Returns titlecase output",
      "description": "The solution returns the result from the titlecase() function directly or uses it as the formatted output without manual post-processing of the contractions.",
      "max_score": 20
    }
  ]
}

Version

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