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 assesses how effectively the engineer uses lodash's property path utilities (_.get, _.toPath, _.property, _.matchesProperty) to implement a configuration query system. The focus is on leveraging lodash's built-in path handling capabilities rather than implementing custom path parsing logic.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Uses _.get",
"description": "The getValue function uses lodash's _.get method to safely extract values from nested objects using path strings, rather than implementing custom traversal logic.",
"max_score": 30
},
{
"name": "Uses _.toPath",
"description": "The normalizePath function uses lodash's _.toPath method to convert path strings into arrays, handling dot notation, bracket notation, and mixed formats automatically.",
"max_score": 25
},
{
"name": "Uses _.matchesProperty",
"description": "The createPropertyMatcher function uses lodash's _.matchesProperty method to create a predicate function that checks if objects have a property at a given path matching a specified value.",
"max_score": 30
},
{
"name": "Correct _.get usage",
"description": "_.get is called with the correct signature: _.get(object, path, [defaultValue]), properly handling the undefined default case.",
"max_score": 5
},
{
"name": "Correct _.toPath usage",
"description": "_.toPath is called with a string argument and returns an array of path segments, correctly handling various path notations.",
"max_score": 5
},
{
"name": "Correct _.matchesProperty usage",
"description": "_.matchesProperty is called with path and value arguments and returns a predicate function suitable for use with array methods like filter.",
"max_score": 5
}
]
}