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-6/

{
  "context": "Evaluates how well the solution uses Lodash iteratee and predicate-building helpers to implement the rule-based filtering and projection described in the spec. Scoring favors reliance on Lodash shorthands (paths, objects, tuples, functions) and combination utilities over manual property handling.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Rule dispatcher",
      "description": "Centralizes rule handling with _.iteratee or _.cond so all rule shapes (string, object, tuple, function) are routed through Lodash's iteratee-building helpers instead of bespoke branching.",
      "max_score": 20
    },
    {
      "name": "Path iteratee",
      "description": "Uses _.property (or string-aware _.iteratee) to build the truthy predicate for string paths like \"status.active\" rather than manually drilling into objects.",
      "max_score": 15
    },
    {
      "name": "Object matcher",
      "description": "Builds object rule predicates with _.matches so nested subset checks (e.g., region/tags) rely on Lodash's matcher instead of ad hoc deep comparisons.",
      "max_score": 15
    },
    {
      "name": "Tuple matcher",
      "description": "Implements [path, value] handling with _.matchesProperty (or _.iteratee on a two-item array) to perform strict equality checks at the specified path.",
      "max_score": 15
    },
    {
      "name": "Function passthrough",
      "description": "Detects function rules and returns them directly (leveraging _.iteratee's passthrough behavior) without wrapping or rebinding the original predicate.",
      "max_score": 10
    },
    {
      "name": "Mode aggregation",
      "description": "Uses _.overEvery for the default \"all\" mode and _.overSome for the \"any\" mode to combine compiled predicates, avoiding manual loops or reduce logic.",
      "max_score": 15
    },
    {
      "name": "Projection mapping",
      "description": "Builds projector functions with _.property / _.propertyOf or _.iteratee so string and array selectors shape the filtered output without custom field-plucking code.",
      "max_score": 10
    }
  ]
}

Install with Tessl CLI

npx tessl i tessl/npm-lodash-kebabcase

tile.json