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

{
  "context": "This criteria evaluates how effectively the engineer utilizes lodash's array filtering and compacting functions to implement the data sanitizer utility. The focus is on proper usage of lodash methods like compact, filter, uniq, and uniqBy rather than implementing these operations manually.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Uses _.compact",
      "description": "The removeFalsy function uses lodash's _.compact method to remove falsy values from arrays instead of manually filtering",
      "max_score": 25
    },
    {
      "name": "Uses _.filter",
      "description": "The filterByThreshold function uses lodash's _.filter method with appropriate predicate to filter array elements by threshold",
      "max_score": 20
    },
    {
      "name": "Uses _.uniq",
      "description": "The removeDuplicates function uses lodash's _.uniq method to remove duplicate primitive values from arrays",
      "max_score": 25
    },
    {
      "name": "Uses _.uniqBy",
      "description": "The uniqueByProperty function uses lodash's _.uniqBy method with the property parameter to remove duplicate objects based on a specific property",
      "max_score": 30
    }
  ]
}

tile.json