Converts HTML entities to their corresponding characters in a string
Overall
score
85%
Evaluation — 85%
↑ 1.39xAgent success when using this tile
{
"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
}
]
}Install with Tessl CLI
npx tessl i tessl/npm-lodash-unescapedocs
evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10