Format JavaScript Standard Style as Stylish (i.e. snazzy) output
94
{
"context": "This evaluation assesses how well the engineer uses the snazzy package to compose a multi-stage stream pipeline. The focus is on proper stream composition patterns, accessing the snazzy stream's exitCode property, and integrating the CompactToStylishStream class into a pipeline architecture.",
"type": "weighted_checklist",
"checklist": [
{
"name": "CompactToStylishStream instantiation",
"description": "Creates an instance of the CompactToStylishStream class (the main export from the snazzy package) using the 'new' operator or equivalent constructor pattern.",
"max_score": 20
},
{
"name": "Stream piping",
"description": "Uses the pipe() method to connect the input stream to the snazzy stream instance, and then pipes the snazzy stream to the output stream, creating a proper stream chain (e.g., inputStream.pipe(snazzy).pipe(outputStream)).",
"max_score": 25
},
{
"name": "exitCode property access",
"description": "Accesses the exitCode property on the snazzy stream instance to determine whether linting errors were found (e.g., snazzy.exitCode or checking if it's non-zero).",
"max_score": 25
},
{
"name": "Event handling",
"description": "Uses stream event listeners (such as 'finish', 'end', or 'close') on the snazzy stream to detect when processing is complete before checking the exitCode property.",
"max_score": 20
},
{
"name": "Stream instance exposure",
"description": "Returns an object that exposes the snazzy stream instance (e.g., returns { snazzy: snazzyInstance }) so callers can access its properties and methods.",
"max_score": 10
}
]
}Install with Tessl CLI
npx tessl i tessl/npm-snazzydocs
evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10