CtrlK
CommunityDocumentationLog inGet started
Tessl Logo

tessl/npm-coffeescript

tessl install tessl/npm-coffeescript@2.7.0

A programming language that compiles into JavaScript, offering more concise and readable syntax while maintaining full JavaScript compatibility.

Agent Success

Agent success rate when using this tile

77%

Improvement

Agent success rate improvement when using this tile compared to baseline

1.01x

Baseline

Agent success rate without this tile

76%

rubric.jsonevals/scenario-8/

{
  "context": "This evaluation assesses how effectively the engineer uses the CoffeeScript package's compile API to build a compiler utility. The criteria focus exclusively on correct usage of CoffeeScript's compile method and its options (bare, sourceMap, filename) for transforming CoffeeScript source code to JavaScript.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Uses compile method",
      "description": "Code imports and calls CoffeeScript.compile() or coffeescript.compile() to transform CoffeeScript source code to JavaScript",
      "max_score": 25
    },
    {
      "name": "Implements bare mode",
      "description": "Code passes the bare option (bare: true) to the compile method when the --bare flag is provided, resulting in JavaScript without a top-level function wrapper",
      "max_score": 20
    },
    {
      "name": "Generates source maps",
      "description": "Code passes the sourceMap option (sourceMap: true) to the compile method when the --map flag is provided, and correctly extracts the v3SourceMap or sourceMap property from the compilation result",
      "max_score": 20
    },
    {
      "name": "Writes source map file",
      "description": "When source maps are enabled, code writes the source map to a separate .map file and includes a sourceMappingURL comment in the generated JavaScript file",
      "max_score": 15
    },
    {
      "name": "Passes filename option",
      "description": "Code passes the filename option to the compile method for better error reporting and source map generation (e.g., {filename: inputPath})",
      "max_score": 10
    },
    {
      "name": "Handles compilation errors",
      "description": "Code properly catches and handles errors thrown by the compile method (such as SyntaxError), displaying error information and returning non-zero exit codes",
      "max_score": 10
    }
  ]
}

Version

Workspace
tessl
Visibility
Public
Created
Last updated
Describes
npmpkg:npm/coffeescript@2.7.x
tile.json