CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl/npm-lodash-unescape

Converts HTML entities to their corresponding characters in a string

Overall
score

85%

Evaluation85%

1.39x

Agent success when using this tile

Overview
Eval results
Files

rubric.jsonevals/scenario-7/

{
  "context": "This criteria evaluates how effectively the engineer uses lodash's collection grouping capabilities (groupBy, keyBy, partition) to solve the product analytics organization problem. The focus is on correct usage of these specific lodash methods rather than reimplementing the grouping logic manually.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Uses groupBy",
      "description": "The organizeByCategory function uses lodash's _.groupBy method to group products by their category property, rather than implementing manual grouping logic with loops or reduce.",
      "max_score": 35
    },
    {
      "name": "Uses keyBy",
      "description": "The createProductIndex function uses lodash's _.keyBy method to create an object indexed by product ID, rather than implementing manual indexing with loops or reduce.",
      "max_score": 35
    },
    {
      "name": "Uses partition",
      "description": "The separateByStock function uses lodash's _.partition method to split products into two arrays based on the inStock property, rather than using filter twice or manual separation logic.",
      "max_score": 30
    }
  ]
}

Install with Tessl CLI

npx tessl i tessl/npm-lodash-unescape

tile.json