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

{
  "context": "This criteria evaluates how effectively the engineer uses the linkify-it package to detect and extract email addresses from plain text without requiring the mailto: prefix (fuzzy email detection).",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "LinkifyIt instantiation",
      "description": "Correctly creates an instance of LinkifyIt (or uses require('linkify-it')() pattern) to access the library's functionality.",
      "max_score": 20
    },
    {
      "name": "Fuzzy email enabled",
      "description": "Ensures fuzzy email detection is enabled (default behavior or explicitly configured via constructor options or .set() method with fuzzyEmail: true).",
      "max_score": 15
    },
    {
      "name": "Match method usage",
      "description": "Uses the .match() method to detect and extract email addresses from the input text.",
      "max_score": 25
    },
    {
      "name": "Schema filtering",
      "description": "Filters the match results to include only email matches (by checking that match.schema is empty string for fuzzy emails or filtering for email-like patterns).",
      "max_score": 20
    },
    {
      "name": "URL extraction",
      "description": "Extracts the normalized URL from each match object using the .url property, which provides the mailto:-prefixed email address.",
      "max_score": 20
    }
  ]
}

Install with Tessl CLI

npx tessl i tessl/npm-linkify-it

tile.json