CtrlK
CommunityDocumentationLog inGet started
Tessl Logo

tessl/npm-babel--preset-stage-0

tessl install tessl/npm-babel--preset-stage-0@7.8.0

Deprecated Babel preset for stage 0 plugins that provides migration guidelines to explicit plugin configurations

Agent Success

Agent success rate when using this tile

80%

Improvement

Agent success rate improvement when using this tile compared to baseline

1.21x

Baseline

Agent success rate without this tile

66%

rubric.jsonevals/scenario-3/

{
  "context": "Evaluates whether the solution actually drives Babel's compiler entry points to transform inline sources and files using the provided presets/plugins, returning code, source maps, and metadata. It checks use of async, sync, and callback forms plus extension handling built into @babel/core.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "String entrypoint",
      "description": "Inline compilation calls @babel/core.transformAsync (or its callback equivalent) on provided source, passing through caller presets/plugins rather than hand-written transforms.",
      "max_score": 25
    },
    {
      "name": "Preset wiring",
      "description": "Presets like @babel/preset-env and @babel/preset-typescript are forwarded via the @babel/core options so output strips types and downlevels features such as nullish coalescing, honoring filename and sourceMaps settings for inline runs.",
      "max_score": 20
    },
    {
      "name": "File compilation",
      "description": "File-based paths use @babel/core.transformFileAsync (or transformFileSync) with cwd/filename forwarded to preserve correct source map paths and produce code that mirrors inline behavior.",
      "max_score": 20
    },
    {
      "name": "Callback support",
      "description": "Error-first callback path is implemented with @babel/core.transformFile (or transform) and surfaces raw Babel errors before invoking the success branch with the same shape as async results.",
      "max_score": 10
    },
    {
      "name": "Extension guard",
      "description": "Allowed extensions derive from @babel/core.DEFAULT_EXTENSIONS (or an equivalent list from the package) to decide when to reject a file, instead of a hardcoded or unrelated set.",
      "max_score": 10
    },
    {
      "name": "Metadata return",
      "description": "Results expose Babel's generated map and metadata fields (result.map, result.metadata) without stripping or recomputing them, enabling downstream tooling to reuse compiler outputs.",
      "max_score": 15
    }
  ]
}

Version

Workspace
tessl
Visibility
Public
Created
Last updated
Describes
npmpkg:npm/@babel/preset-stage-0@7.8.x
tile.json