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

{
  "context": "This criteria evaluates how well an engineer uses lodash's zipWith and unzipWith functions to implement element-wise array merging and unmerging operations. The focus is on correctly leveraging these specific lodash utilities rather than implementing the logic manually.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Uses zipWith",
      "description": "The mergeArrays function uses lodash's zipWith method to combine arrays element-by-element with a custom operation",
      "max_score": 40
    },
    {
      "name": "Uses unzipWith",
      "description": "The unmergeGrouped function uses lodash's unzipWith method to reverse the merge operation and apply a function across corresponding positions",
      "max_score": 40
    },
    {
      "name": "Correct argument handling",
      "description": "Both functions correctly handle variable arguments - mergeArrays extracts the operation from the rest parameters, and unmergeGrouped passes the operation correctly to unzipWith",
      "max_score": 10
    },
    {
      "name": "Handles edge cases",
      "description": "Functions correctly handle edge cases like empty arrays without additional manual checks, relying on lodash's built-in handling",
      "max_score": 10
    }
  ]
}

tile.json