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

{
  "context": "This criteria evaluates how effectively an engineer uses the linkify-it package to detect and categorize URLs based on their explicit protocol types (HTTP, HTTPS, FTP). It focuses on proper instantiation, protocol filtering, and extraction of match metadata.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "LinkifyIt instantiation",
      "description": "Creates an instance of LinkifyIt using the constructor (e.g., `new LinkifyIt()` or `LinkifyIt()`)",
      "max_score": 15
    },
    {
      "name": "Uses .match() method",
      "description": "Uses the `.match(text)` method to detect all links in the input text and retrieve an array of match objects",
      "max_score": 25
    },
    {
      "name": "Filters by schema",
      "description": "Filters detected links by checking the `schema` property of match objects to distinguish between 'http:', 'https:', and 'ftp:' protocols",
      "max_score": 25
    },
    {
      "name": "Extracts match metadata",
      "description": "Correctly extracts and uses match object properties including `url` (or `raw`/`text`), `index`, and `lastIndex` for each detected link",
      "max_score": 20
    },
    {
      "name": "Protocol categorization",
      "description": "Groups or categorizes URLs by their protocol type (http, https, ftp) in the output structure as specified in the API",
      "max_score": 15
    }
  ]
}

Install with Tessl CLI

npx tessl i tessl/npm-linkify-it

tile.json