Ctrl + k

or run

tessl search
Log in

Version

Workspace
tessl
Visibility
Public
Created
Last updated
Describes
npmpkg:npm/lodash.unescape@4.0.x
tile.json

tessl/npm-lodash-unescape

tessl install tessl/npm-lodash-unescape@4.0.0

Converts 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%

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
    }
  ]
}