Links recognition library with FULL unicode support for detecting high-quality link patterns in plain text
Overall
score
97%
{
"context": "This criteria evaluates how effectively an engineer uses linkify-it's unicode-aware pattern components and custom schema features to implement a multilingual mention detector. The focus is on leveraging linkify-it's built-in unicode support rather than implementing unicode handling from scratch.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Uses linkify-it",
"description": "Creates a LinkifyIt instance to leverage the library's link detection capabilities",
"max_score": 15
},
{
"name": "Custom schema",
"description": "Uses the .add() method to define a custom schema for '@' mentions (e.g., linkify.add('@', {...}))",
"max_score": 20
},
{
"name": "Unicode pattern support",
"description": "Leverages linkify-it's unicode-aware regex patterns (accessed via self.re properties) rather than writing custom unicode regex from scratch",
"max_score": 25
},
{
"name": "Validator function",
"description": "Implements a validate function that receives (text, pos, self) parameters and returns match length or 0",
"max_score": 15
},
{
"name": "Match extraction",
"description": "Uses .match() method to extract all mentions from text and processes the returned Match objects",
"max_score": 15
},
{
"name": "Normalizer function",
"description": "Implements a normalize function to transform match.url or match.text for proper handle extraction and URL generation",
"max_score": 10
}
]
}Install with Tessl CLI
npx tessl i tessl/npm-linkify-itdocs
evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10