CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl/pypi-titlecase

Python port of John Gruber's titlecase.pl for intelligent title case conversion with style guide compliance

79

0.91x
Quality

Pending

Does it follow best practices?

Impact

79%

0.91x

Average score across 10 eval scenarios

SecuritybySnyk

Pending

The risk profile of this skill

Overview
Eval results
Files

criteria.jsonevals/scenario-1/

{
  "context": "This criteria evaluates how well the engineer uses the titlecase package's small_first_last parameter to control first and last word capitalization behavior. The focus is on correctly invoking the titlecase function with the appropriate parameter value to achieve the desired formatting outcomes.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Uses titlecase function",
      "description": "Imports and calls the titlecase() function from the titlecase package to perform title case conversion",
      "max_score": 30
    },
    {
      "name": "Passes small_first_last parameter",
      "description": "Correctly uses the small_first_last parameter when calling titlecase() to control first/last word capitalization",
      "max_score": 40
    },
    {
      "name": "Maps parameter correctly",
      "description": "Correctly maps the capitalize_first_last input parameter to the small_first_last parameter of titlecase() (passing capitalize_first_last value directly to small_first_last)",
      "max_score": 20
    },
    {
      "name": "Returns titlecase result",
      "description": "Returns the result from titlecase() function call as the output of format_title()",
      "max_score": 10
    }
  ]
}

tile.json