Converts HTML entities to their corresponding characters in a string
85
Pending
Does it follow best practices?
Impact
85%
1.39xAverage score across 10 eval scenarios
Pending
The risk profile of this skill
{
"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
}
]
}docs
evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10