CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl/npm-uglify-save-license

License detector for UglifyJS that identifies and preserves license comments during minification

98

1.12x
Quality

Pending

Does it follow best practices?

Impact

98%

1.12x

Average score across 10 eval scenarios

SecuritybySnyk

Pending

The risk profile of this skill

Overview
Eval results
Files

criteria.jsonevals/scenario-1/

{
  "context": "This criteria evaluates how well the engineer uses uglify-save-license package concepts to implement comment type detection. The focus is on understanding and utilizing the comment type conventions ('comment1' for line comments, 'comment2' for block comments) that are used by UglifyJS and similar minification tools.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Comment Type Field Usage",
      "description": "Implementation correctly accesses and uses the comment.type field to determine comment type",
      "max_score": 30
    },
    {
      "name": "Line Comment Detection",
      "description": "Implementation correctly identifies 'comment1' type as line comments and returns 'line'",
      "max_score": 25
    },
    {
      "name": "Block Comment Detection",
      "description": "Implementation correctly identifies 'comment2' type as block comments and returns 'block'",
      "max_score": 25
    },
    {
      "name": "Type Convention Understanding",
      "description": "Implementation demonstrates understanding of UglifyJS comment type conventions by properly mapping 'comment1'/'comment2' to their respective comment types, regardless of comment content",
      "max_score": 20
    }
  ]
}

tile.json