CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl/npm-babel--runtime

Babel's modular runtime helpers that provide transpilation support for modern JavaScript features

94

1.18x
Quality

Pending

Does it follow best practices?

Impact

94%

1.18x

Average score across 10 eval scenarios

SecuritybySnyk

Pending

The risk profile of this skill

Overview
Eval results
Files

criteria.jsonevals/scenario-5/

{
  "context": "This evaluation assesses the engineer's ability to use @babel/core's parserOverride capability to implement a custom parser within a Babel plugin. The focus is specifically on proper usage of the parserOverride API, correct parser delegation patterns, and appropriate integration with Babel's parsing infrastructure.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "parserOverride implementation",
      "description": "The plugin correctly implements a parserOverride function that accepts (code, options, parse) parameters and returns an AST",
      "max_score": 30
    },
    {
      "name": "Default parser delegation",
      "description": "The custom parser correctly calls the original parse function (the third parameter) to leverage Babel's default parser for standard JavaScript syntax",
      "max_score": 25
    },
    {
      "name": "Plugin structure",
      "description": "The plugin exports a function that accepts the Babel api parameter and returns an object with the parserOverride property",
      "max_score": 15
    },
    {
      "name": "AST manipulation",
      "description": "The implementation correctly modifies or extends the AST returned from the default parser to include custom metadata from special comments",
      "max_score": 20
    },
    {
      "name": "Integration correctness",
      "description": "The parserOverride returns an AST structure that is compatible with Babel's transformation pipeline (maintains proper AST node types and structure)",
      "max_score": 10
    }
  ]
}

tile.json