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

{
  "context": "This criteria evaluates how well the engineer uses the linkify-it package to detect and validate links in multilingual content with international characters. The focus is on proper instantiation, configuration for unicode support, TLD management, and link detection methods.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "LinkifyIt instantiation",
      "description": "Correctly creates a LinkifyIt instance using `new LinkifyIt()` or `LinkifyIt()` constructor",
      "max_score": 10
    },
    {
      "name": "Fuzzy link configuration",
      "description": "Properly configures fuzzy link detection using constructor options or `.set()` method with appropriate settings like `fuzzyLink`, `fuzzyEmail`, or `fuzzyIP`",
      "max_score": 15
    },
    {
      "name": "TLD management",
      "description": "Uses `.tlds()` method to add custom top-level domains, correctly passing the TLD string/array and the keepOld parameter (true to merge with existing TLDs)",
      "max_score": 20
    },
    {
      "name": "Link detection method",
      "description": "Uses appropriate link detection method (`.match()`, `.test()`, or `.matchAtStart()`) to identify links in text",
      "max_score": 20
    },
    {
      "name": "Match result handling",
      "description": "Correctly accesses and uses Match object properties like `url`, `text`, `raw`, `index`, `lastIndex`, or `schema` from the results returned by `.match()`",
      "max_score": 20
    },
    {
      "name": "International domain support",
      "description": "Solution correctly handles unicode characters in domain names (Cyrillic, Chinese, Arabic, emoji) without requiring additional configuration beyond default linkify-it behavior",
      "max_score": 15
    }
  ]
}

Install with Tessl CLI

npx tessl i tessl/npm-linkify-it

tile.json