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-9/

{
  "context": "This criteria evaluates how well the engineer uses lodash's attempt function to safely handle errors when executing functions that may throw exceptions. The focus is on proper usage of attempt to return either the result or the error object.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Uses attempt for JSON parsing",
      "description": "Uses lodash's _.attempt() function to safely call JSON.parse, wrapping it to catch and return any parsing errors as an error object",
      "max_score": 30
    },
    {
      "name": "Uses attempt for integer parsing",
      "description": "Uses lodash's _.attempt() function to safely call parseInt, wrapping it to handle any potential errors",
      "max_score": 25
    },
    {
      "name": "Uses attempt for method execution",
      "description": "Uses lodash's _.attempt() function to safely invoke methods on objects, capturing errors when methods don't exist or objects are null/undefined",
      "max_score": 30
    },
    {
      "name": "Uses isError helper",
      "description": "Uses lodash's _.isError() function to check if the result from _.attempt() is an error object, demonstrating proper error handling pattern",
      "max_score": 15
    }
  ]
}

Install with Tessl CLI

npx tessl i tessl/npm-lodash-unescape

tile.json