CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl/npm-lodash-unescape

Converts HTML entities to their corresponding characters in a string

85

1.39x
Quality

Pending

Does it follow best practices?

Impact

85%

1.39x

Average score across 10 eval scenarios

SecuritybySnyk

Pending

The risk profile of this skill

Overview
Eval results
Files

criteria.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
    }
  ]
}

tile.json