CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl/npm-snazzy

Format JavaScript Standard Style as Stylish (i.e. snazzy) output

94

1.18x
Overview
Eval results
Files

rubric.jsonevals/scenario-10/

{
  "context": "This evaluation assesses the engineer's ability to use the standard-json library to parse compact linter output. The focus is on using the library correctly with appropriate options for robust parsing, handling format variations, and producing properly normalized JSON output.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Uses standard-json library",
      "description": "Code imports and uses the standard-json package (require('standard-json') or equivalent) for parsing linter output rather than implementing custom parsing logic or using other libraries.",
      "max_score": 30
    },
    {
      "name": "Noisey option enabled",
      "description": "Code passes the { noisey: true } option to the standard-json parser to enable robust parsing with error tolerance and format variation handling.",
      "max_score": 40
    },
    {
      "name": "Correct data extraction",
      "description": "Code correctly extracts and uses the parsed result from standard-json, accessing the appropriate properties (filePath, messages array with line, column, message, ruleId fields) as returned by the library.",
      "max_score": 20
    },
    {
      "name": "Input to parser",
      "description": "Code correctly passes compact linter output from stdin to the standard-json parser as string input.",
      "max_score": 10
    }
  ]
}

Install with Tessl CLI

npx tessl i tessl/npm-snazzy

tile.json