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