CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl/npm-linkify-it

Links recognition library with FULL unicode support for detecting high-quality link patterns in plain text

Overall
score

97%

Overview
Eval results
Files

rubric.jsonevals/scenario-2/

{
  "context": "This criteria evaluates how effectively the engineer uses the linkify-it package to detect linkifiable patterns in text, specifically focusing on proper instantiation and usage of the test() method for boolean link detection.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "LinkifyIt instantiation",
      "description": "Creates an instance of LinkifyIt (e.g., using `new LinkifyIt()` or `LinkifyIt()`) to access the library's detection capabilities",
      "max_score": 30
    },
    {
      "name": "test() method usage",
      "description": "Uses the `.test()` method to check if text contains linkifiable patterns, which returns a boolean value indicating presence of links",
      "max_score": 40
    },
    {
      "name": "Correct return value",
      "description": "Returns the boolean result from the `.test()` method directly or appropriately, ensuring the function returns true when links are present and false otherwise",
      "max_score": 20
    },
    {
      "name": "No reimplementation",
      "description": "Relies on linkify-it's built-in detection capabilities rather than implementing custom pattern matching, regex, or URL parsing logic",
      "max_score": 10
    }
  ]
}

Install with Tessl CLI

npx tessl i tessl/npm-linkify-it

tile.json