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-7/

{
  "context": "This criteria evaluates how well the engineer uses the CoffeeScript package's compilation API to implement a build tool. The focus is on correct usage of CoffeeScript.compile(), proper handling of compilation options, file I/O operations, and directory traversal.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "CoffeeScript.compile() usage",
      "description": "Uses CoffeeScript.compile() method to compile CoffeeScript source code to JavaScript in all three functions (compileFile, compileDirectory, printCompiled)",
      "max_score": 25
    },
    {
      "name": "Bare mode option",
      "description": "Correctly passes the bare option to CoffeeScript.compile() to control whether the output includes a top-level function wrapper",
      "max_score": 15
    },
    {
      "name": "File reading",
      "description": "Uses fs.readFile() or fs.readFileSync() to read CoffeeScript source files before compilation",
      "max_score": 15
    },
    {
      "name": "File writing",
      "description": "Uses fs.writeFile() or fs.writeFileSync() to write compiled JavaScript output to the specified output path in compileFile() and compileDirectory()",
      "max_score": 15
    },
    {
      "name": "Directory traversal",
      "description": "Uses fs.readdir() or similar to list files in the input directory and processes each .coffee file in compileDirectory()",
      "max_score": 15
    },
    {
      "name": "File filtering",
      "description": "Filters files by .coffee extension to skip non-CoffeeScript files during directory compilation",
      "max_score": 10
    },
    {
      "name": "Return compiled string",
      "description": "Returns the compiled JavaScript code as a string in printCompiled() without writing to disk",
      "max_score": 5
    }
  ]
}

Version

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