The lodash method kebabCase exported as a standalone Node.js module for converting strings to kebab-case format
Overall
score
68%
Evaluation — 68%
↑ 1.08xAgent success when using this tile
{
"context": "Evaluates how well the solution uses Lodash string casing and formatting helpers to normalize messy text into title-case, slug, and camelCase outputs. Scoring prioritizes direct usage of the library’s dedicated casing utilities instead of manual string manipulation. Points reward applying the correct helper per transformation and handling separator cleanup with Lodash string utilities.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Title casing",
"description": "Uses Lodash casing helpers (e.g., startCase combined with trim/toLower) to convert mixed separators into the required single-space title case for toTitle.",
"max_score": 30
},
{
"name": "Slug output",
"description": "Generates slugs with Lodash’s kebabCase (optionally with deburr) to collapse punctuation/whitespace into lowercase hyphenated text for toSlug.",
"max_score": 30
},
{
"name": "Camel casing",
"description": "Builds lower camelCase identifiers via Lodash camelCase for toCamel, ensuring delimiters and punctuation are normalized by the helper.",
"max_score": 25
},
{
"name": "Input cleanup",
"description": "Applies Lodash string utilities like trim/trimStart/trimEnd (or deburr when needed) to sanitize inputs before casing so outputs match the spec examples without manual regex-heavy code.",
"max_score": 15
}
]
}Install with Tessl CLI
npx tessl i tessl/npm-lodash-kebabcasedocs
evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10