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

{
  "context": "This criteria evaluates how well the engineer uses the linkify-it package to implement fuzzy link detection functionality. The focus is on proper usage of linkify-it's API for detecting URLs with and without protocol prefixes, configuring fuzzy link detection options, and accessing match information.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "LinkifyIt instantiation",
      "description": "Creates a LinkifyIt instance (using `new LinkifyIt()` or `LinkifyIt()` constructor) to enable link detection functionality",
      "max_score": 20
    },
    {
      "name": "Fuzzy link configuration",
      "description": "Uses the `fuzzyLink` configuration option (either in constructor or via `.set()` method) to control detection of URLs without protocol prefixes",
      "max_score": 25
    },
    {
      "name": "Match detection method",
      "description": "Uses the `.match()` method to extract all detected URLs from text, correctly handling the return value (array of matches or null)",
      "max_score": 20
    },
    {
      "name": "Match object properties",
      "description": "Correctly accesses match object properties including `index` (start position), `lastIndex` (end position), `raw` (original text), `text` (normalized text), and `url` (generated URL with protocol)",
      "max_score": 20
    },
    {
      "name": "Quick check method",
      "description": "Uses the `.test()` method (not `.match()`) to perform a boolean check for URL presence without extracting full match information",
      "max_score": 15
    }
  ]
}

Install with Tessl CLI

npx tessl i tessl/npm-linkify-it

tile.json