Ctrl + k

or run

tessl search
Log in

Version

Workspace
tessl
Visibility
Public
Created
Last updated
Describes
npmpkg:npm/lodash.unescape@4.0.x
tile.json

tessl/npm-lodash-unescape

tessl install tessl/npm-lodash-unescape@4.0.0

Converts HTML entities to their corresponding characters in a string

Agent Success

Agent success rate when using this tile

85%

Improvement

Agent success rate improvement when using this tile compared to baseline

1.39x

Baseline

Agent success rate without this tile

61%

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