Create an error from multiple errors
94
{
"context": "This criteria evaluates how well an engineer uses the clean-stack package and implements custom regex-based internal frame removal to produce clean, readable error stack traces.",
"type": "weighted_checklist",
"checklist": [
{
"name": "clean-stack import",
"description": "Successfully imports and uses the clean-stack package (or cleanStack function from clean-stack) to clean error stack traces",
"max_score": 25
},
{
"name": "clean-stack application",
"description": "Applies clean-stack to the error's stack property to remove Node.js internals and implementation noise",
"max_score": 25
},
{
"name": "Internal frame regex",
"description": "Implements regex pattern matching to identify and remove stack frames originating from the utility file itself (e.g., using replaceAll or replace with a regex pattern matching the utility filename)",
"max_score": 30
},
{
"name": "Stack cleaning combination",
"description": "Correctly combines both clean-stack cleaning and internal frame removal in the proper order to produce the final cleaned stack trace",
"max_score": 15
},
{
"name": "Edge case handling",
"description": "Handles errors without stack traces by returning an appropriate fallback (e.g., String(error) or error.toString())",
"max_score": 5
}
]
}Install with Tessl CLI
npx tessl i tessl/npm-aggregate-errordocs
evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9