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

{
  "context": "This evaluation assesses how effectively the engineer uses linkify-it's performance optimization features, specifically focusing on the pretest() method for fast preliminary checks, the match() method for full link extraction, and understanding of linkify-it's built-in caching mechanisms for repeated operations.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "pretest() usage",
      "description": "Uses the pretest() method for fast preliminary checks to quickly determine if text might contain links before performing full analysis",
      "max_score": 30
    },
    {
      "name": "match() implementation",
      "description": "Uses the match() method to extract full link details including index, lastIndex, url, text, and schema properties from the Match objects",
      "max_score": 25
    },
    {
      "name": "test() or match() for full detection",
      "description": "Uses test() or match() appropriately for complete link detection operations (not pretest() alone for final results)",
      "max_score": 15
    },
    {
      "name": "Caching awareness",
      "description": "Demonstrates understanding that linkify-it automatically caches scan results for repeated operations on identical text (implementation reuses the same linkify instance rather than creating new instances repeatedly)",
      "max_score": 20
    },
    {
      "name": "Match object properties",
      "description": "Correctly accesses and uses Match object properties such as index, lastIndex, url, raw, text, or schema in the output",
      "max_score": 10
    }
  ]
}

Install with Tessl CLI

npx tessl i tessl/npm-linkify-it

tile.json