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 evaluation criteria assesses how well an engineer uses lodash's array searching methods (_.find, _.includes, _.indexOf) to implement user search functionality. The focus is entirely on correct usage of these specific lodash methods.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Uses _.find",
"description": "Uses lodash's _.find method to implement findUserById function, passing the users array and a predicate (either function or iteratee shorthand like ['id', userId])",
"max_score": 30
},
{
"name": "Uses _.find predicate",
"description": "Uses lodash's _.find method with a custom predicate function to implement findUserByPredicate function",
"max_score": 20
},
{
"name": "Uses _.includes",
"description": "Uses lodash's _.includes method to implement userExists function, checking if the searchId exists in the userIds array",
"max_score": 25
},
{
"name": "Uses _.indexOf",
"description": "Uses lodash's _.indexOf method to implement getUserPosition function, returning the index of searchId in the userIds array",
"max_score": 25
}
]
}