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
Overview
Eval results
Files

rubric.jsonevals/scenario-6/

{
  "context": "This criteria evaluates how well the engineer uses @babel/core's transformation APIs to access and work with the FileResult object structure, including the code, AST, metadata, and map properties returned by transformation functions.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Uses transform API",
      "description": "Imports and correctly uses @babel/core transformation methods (transform, transformSync, or transformAsync) to transform JavaScript code",
      "max_score": 25
    },
    {
      "name": "Extracts code property",
      "description": "Accesses and returns the 'code' property from the FileResult object returned by transform/transformSync/transformAsync",
      "max_score": 20
    },
    {
      "name": "Extracts ast property",
      "description": "Accesses and returns the 'ast' property from the FileResult object, using the 'ast: true' option in transformation options when necessary",
      "max_score": 20
    },
    {
      "name": "Extracts metadata property",
      "description": "Accesses and returns the 'metadata' property from the FileResult object",
      "max_score": 15
    },
    {
      "name": "Handles source maps",
      "description": "Accesses and returns the 'map' property from the FileResult object when the 'sourceMaps: true' or 'sourceMaps: \"inline\"' option is used",
      "max_score": 20
    }
  ]
}

Install with Tessl CLI

npx tessl i tessl/npm-babel--runtime

tile.json