tessl install tessl/npm-lodash-unescape@4.0.0Converts 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%
{
"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
}
]
}