CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl/npm-lodash-unescape

Converts HTML entities to their corresponding characters in a string

Overall
score

85%

Evaluation85%

1.39x

Agent success when using this tile

Overview
Eval results
Files

rubric.jsonevals/scenario-2/

{
  "context": "This evaluation assesses how well the engineer uses lodash's property access methods (get, set, has) to implement a configuration manager. The focus is on proper usage of these specific lodash utilities rather than manual property traversal.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Uses _.get function",
      "description": "The getConfig function uses lodash's _.get() method to retrieve nested property values with default fallback, rather than manually traversing the object",
      "max_score": 25
    },
    {
      "name": "Uses _.set function",
      "description": "The setConfig function uses lodash's _.set() method to set nested property values and automatically create intermediate objects in the path",
      "max_score": 25
    },
    {
      "name": "Uses _.has function",
      "description": "The hasConfig function uses lodash's _.has() method to check for the existence of nested properties",
      "max_score": 25
    },
    {
      "name": "Correct path handling",
      "description": "All three functions correctly pass string paths (e.g., 'database.host') to the lodash methods and handle the results appropriately",
      "max_score": 15
    },
    {
      "name": "Proper default values",
      "description": "The getConfig function correctly passes the defaultValue parameter to _.get() as the third argument",
      "max_score": 10
    }
  ]
}

Install with Tessl CLI

npx tessl i tessl/npm-lodash-unescape

tile.json