CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl/npm-lodash-kebabcase

The lodash method kebabCase exported as a standalone Node.js module for converting strings to kebab-case format

Overall
score

68%

Evaluation68%

1.08x

Agent success when using this tile

Overview
Eval results
Files

rubric.jsonevals/scenario-3/

{
  "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-kebabcase

tile.json