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 leverages lodash collection helpers to compute the order analytics in the spec, covering aggregation, filtering, ranking, and nested item processing.",
"type": "weighted_checklist",
"checklist": [
{
"name": "By-status counts",
"description": "Computes totalCount and byStatus via lodash collection helpers (e.g., size + countBy/groupBy) rather than manual loops, producing the exact counts described in the spec.",
"max_score": 20
},
{
"name": "Revenue sum",
"description": "Uses lodash numeric aggregation (such as sumBy or lodash reduce) over order totals to produce totalRevenue, avoiding ad hoc arithmetic outside lodash utilities.",
"max_score": 20
},
{
"name": "Pending filter",
"description": "Selects stale pending orders with lodash predicates (filter/reject/find or shorthand) and orders them oldest-first with sortBy/orderBy before returning stalePending ids.",
"max_score": 20
},
{
"name": "Top customer ranking",
"description": "Aggregates spend per customer using lodash grouping/aggregation (groupBy + sumBy or chain) and ranks with orderBy/sortBy + take/slice to return the capped topCustomers list with tie-break by name.",
"max_score": 20
},
{
"name": "Item quantity totals",
"description": "Flattens nested items and totals qty per sku using lodash iterators (flatMap/map + groupBy/countBy/sumBy or reduce) to build the itemCounts object.",
"max_score": 20
}
]
}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