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 uses lodash's collection grouping capabilities (groupBy, keyBy, partition) to solve the product analytics organization problem. The focus is on correct usage of these specific lodash methods rather than reimplementing the grouping logic manually.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Uses groupBy",
"description": "The organizeByCategory function uses lodash's _.groupBy method to group products by their category property, rather than implementing manual grouping logic with loops or reduce.",
"max_score": 35
},
{
"name": "Uses keyBy",
"description": "The createProductIndex function uses lodash's _.keyBy method to create an object indexed by product ID, rather than implementing manual indexing with loops or reduce.",
"max_score": 35
},
{
"name": "Uses partition",
"description": "The separateByStock function uses lodash's _.partition method to split products into two arrays based on the inStock property, rather than using filter twice or manual separation logic.",
"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