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

Overall
score

79%

Overview
Eval results
Files

Evaluation results

100%

Title Case Formatter with Flexible First/Last Word Rules

First/last word capitalization control

Criteria
Without context
With context

Uses titlecase function

100%

100%

Passes small_first_last parameter

100%

100%

Maps parameter correctly

100%

100%

Returns titlecase result

100%

100%

70%

17%

Brand Name Formatter

Mixed-case preservation for brand names

Criteria
Without context
With context

Uses titlecase function

100%

100%

Brand preservation

12%

25%

All-caps handling

40%

100%

Test compliance

100%

100%

100%

Article Title Formatter

Basic title casing with small words handling

Criteria
Without context
With context

Import titlecase

100%

100%

Use titlecase() function

100%

100%

Basic conversion works

100%

100%

First/last capitalization

100%

100%

Punctuation handling

100%

100%

Parameter usage

100%

100%

75%

-25%

Blog Post Title Formatter

Domain name/URL preservation

Criteria
Without context
With context

Uses titlecase function

100%

50%

Domain preservation works

100%

100%

Title case rules

100%

100%

Handles multiple patterns

100%

50%

100%

Article Title Formatter

Quote handling

Criteria
Without context
With context

titlecase import

100%

100%

titlecase function call

100%

100%

Quote handling

100%

100%

Single quotes

100%

100%

Double quotes

100%

100%

Simple implementation

100%

100%

25%

-75%

Title Case Formatter for Compound Phrases

Recursive processing for complex compounds

Criteria
Without context
With context

Uses titlecase function

100%

100%

Hyphenated word handling

100%

0%

Slash-separated phrase handling

100%

0%

Mac/Mc name processing

100%

0%

Combined pattern processing

100%

0%

100%

Hyphenated Phrase Formatter

Hyphenated word processing

Criteria
Without context
With context

Uses titlecase function

100%

100%

Correct function call

100%

100%

Handles hyphenated words

100%

100%

Small words handled

100%

100%

No manual splitting

100%

100%

100%

5%

Text Formatter with Dash Delimiter Support

Multiple dash type support

Criteria
Without context
With context

Uses titlecase function

100%

100%

Dash type preservation

100%

100%

Capitalization after dashes

100%

100%

Handles em dash

100%

100%

Handles en dash

100%

100%

Test coverage

0%

100%

65%

Protocol Name Formatter

Automatic acronym detection (all-consonant words)

Criteria
Without context
With context

Imports titlecase function

100%

100%

Uses titlecase function

100%

100%

Leverages automatic acronym detection

0%

0%

Returns titlecase output

100%

100%

50%

French and Italian Name Formatter

French/Italian apostrophe contractions (d'/o'/l')

Criteria
Without context
With context

Imports titlecase function

100%

100%

Uses titlecase function

37%

25%

Passes input correctly

50%

100%

Returns titlecase output

25%

0%

Install with Tessl CLI

npx tessl i tessl/pypi-titlecase
Evaluated
Agent
Claude Code

Table of Contents