tessl install tessl/npm-coffeescript@2.7.0A 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%
{
"context": "This criteria evaluates how well the engineer uses CoffeeScript's code execution APIs (CoffeeScript.run() and CoffeeScript.eval()) to implement dynamic configuration loading and expression evaluation. The focus is on proper usage of execution context, sandbox isolation, and appropriate API method selection.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Uses CoffeeScript.run()",
"description": "The loadConfig function uses CoffeeScript.run() method to execute configuration files with proper module context",
"max_score": 25
},
{
"name": "Filename context setup",
"description": "Passes filename option to CoffeeScript.run() to establish proper __filename and __dirname context for the executed configuration file",
"max_score": 15
},
{
"name": "Uses CoffeeScript.eval()",
"description": "The evalExpression function uses CoffeeScript.eval() method to evaluate expressions",
"max_score": 25
},
{
"name": "Sandbox isolation",
"description": "Passes sandbox option to CoffeeScript.eval() with the context object to provide isolated execution environment and make context variables available to the expression",
"max_score": 20
},
{
"name": "File reading",
"description": "Reads the CoffeeScript file content from the filesystem using Node.js fs module before passing to CoffeeScript.run()",
"max_score": 10
},
{
"name": "Error handling",
"description": "Implements try-catch blocks to handle compilation errors and runtime errors from CoffeeScript execution methods",
"max_score": 5
}
]
}