CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl/npm-swc--core-darwin-arm64

Platform-specific native binary for SWC TypeScript/JavaScript compiler on macOS ARM64 architecture

89

1.15x
Overview
Eval results
Files

rubric.jsonevals/scenario-6/

{
  "context": "This criteria evaluates how well the engineer uses @swc/core to transform modern JavaScript class features (public properties and private fields) to ES5-compatible code. The focus is on correct usage of SWC's transformation API and configuration options.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Uses transform API",
      "description": "Uses @swc/core's transform() or transformSync() methods to process the source code",
      "max_score": 25
    },
    {
      "name": "Configures jsc.target",
      "description": "Correctly configures the jsc.target option to 'es5' or appropriate older ECMAScript version to ensure class features are transformed",
      "max_score": 20
    },
    {
      "name": "Configures parser syntax",
      "description": "Properly configures jsc.parser with syntax set to 'ecmascript' to parse JavaScript code with class features",
      "max_score": 15
    },
    {
      "name": "Handles public properties",
      "description": "The solution correctly transforms public class properties (e.g., 'name = \"John\"') using SWC's class property transformation capability",
      "max_score": 20
    },
    {
      "name": "Handles private fields",
      "description": "The solution correctly transforms private class fields (e.g., '#count = 0') using SWC's private field transformation capability",
      "max_score": 20
    }
  ]
}

Install with Tessl CLI

npx tessl i tessl/npm-swc--core-darwin-arm64

tile.json