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

{
  "context": "Evaluates whether bot/human classification relies on the isbot package's compiled regex pipeline, exposes that regex for reuse, and adjusts pattern sources with package helpers rather than custom heuristics.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Primary detection",
      "description": "Classification calls `isbot` (or a detector created via `createIsbot`/`createIsbotFromList` that wraps `getPattern`) for each user agent instead of building custom regexes or heuristics.",
      "max_score": 35
    },
    {
      "name": "Match detail",
      "description": "The `match` field is populated using package match helpers such as `isbotMatch`, `isbotPattern`, or `isbotPatterns` to surface the first bot identifier rather than manually parsing strings.",
      "max_score": 20
    },
    {
      "name": "Pattern overrides",
      "description": "Allowlist handling rebuilds detection from the package's `list` data via `createIsbotFromList` or filtered `createIsbot` so allowlisted tokens are removed from the compiled regex instead of being ignored with ad-hoc string checks.",
      "max_score": 15
    },
    {
      "name": "Regex export",
      "description": "`compiledBotPattern` is sourced directly from `getPattern()` (or the `.pattern` on a detector created from `getPattern`) to mirror the exact compiled bot regex used for detection, not a hand-rolled expression.",
      "max_score": 20
    },
    {
      "name": "Detector consistency",
      "description": "The same package-derived compiled regex powers both classification and the exported pattern, with any fallback to `isbotNaive` limited to the package-documented inability to build the main pattern.",
      "max_score": 10
    }
  ]
}

Version

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