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-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
    }
  ]
}

tile.json