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