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

{
  "context": "This evaluation criteria assesses how well the engineer uses CoffeeScript's comment preservation capabilities during compilation. The focus is on proper usage of CoffeeScript's API to extract and preserve comments from source code.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Uses tokens method",
      "description": "Uses CoffeeScript.tokens() to obtain the token stream from the source code, which contains comment information",
      "max_score": 30
    },
    {
      "name": "Accesses comment tokens",
      "description": "Correctly accesses and filters comment tokens from the token stream (tokens with 'COMMENT' or 'HERECOMMENT' tags)",
      "max_score": 25
    },
    {
      "name": "Extracts comment type",
      "description": "Correctly identifies and categorizes comment types as 'line' (from '#' comments) or 'block' (from '###' comments) based on token tags",
      "max_score": 15
    },
    {
      "name": "Extracts comment text",
      "description": "Correctly extracts the comment text content from token values, removing comment markers (# and ###)",
      "max_score": 10
    },
    {
      "name": "Extracts line numbers",
      "description": "Uses token locationData to extract accurate line numbers for each comment",
      "max_score": 10
    },
    {
      "name": "Uses compile method",
      "description": "Uses CoffeeScript.compile() to generate the JavaScript output from the source code",
      "max_score": 10
    }
  ]
}

Version

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