Ctrl + K
DocumentationLog inGet started

tessl/npm-isbot

tessl install tessl/npm-isbot@5.1.0

Recognise bots/crawlers/spiders using the user agent string.

Agent Success

Agent success rate when using this tile

82%

Improvement

Agent success rate improvement when using this tile compared to baseline

0.94x

Baseline

Agent success rate without this tile

87%

rubric.jsonevals/scenario-6/

{
  "context": "Assesses whether solutions build custom bot detectors using the isbot package rather than manual regex checks. Focuses on constructing detectors from regex inputs or pattern lists and letting the package handle falsy user agents.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "createIsbot use",
      "description": "Detector built from a regex string or RegExp delegates matching to isbot's createIsbot result instead of manual RegExp.test calls.",
      "max_score": 30
    },
    {
      "name": "RegExp passthrough",
      "description": "When callers supply a RegExp, it is passed directly into createIsbot so flags and structure are preserved.",
      "max_score": 10
    },
    {
      "name": "String regex compile",
      "description": "String patterns are compiled (e.g., with case-insensitive flag) and given to createIsbot rather than hand-rolled matching logic.",
      "max_score": 15
    },
    {
      "name": "List-based builder",
      "description": "Pattern arrays are turned into detectors via createIsbotFromList, not by manually joining strings or crafting standalone regexes.",
      "max_score": 30
    },
    {
      "name": "Falsy input safety",
      "description": "Detectors lean on isbot's behavior of returning false for empty/undefined/null user agents instead of throwing or doing custom guards.",
      "max_score": 15
    }
  ]
}

Version

Workspace
tessl
Visibility
Public
Created
Last updated
Describes
npmpkg:npm/isbot@5.1.x
tile.json