Converts HTML entities to their corresponding characters in a string
Overall
score
85%
Evaluation — 85%
↑ 1.39xAgent success when using this tile
{
"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
}
]
}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