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

{
  "context": "Evaluates how well the solution leverages the isbot package to expose the compiled bot-detection regex and curated identifier list, and how that data flows into metadata and inspection helpers described in the spec. Emphasizes reuse of package-provided structures instead of custom patterns or hardcoded data.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Pattern retrieval",
      "description": "Retrieves the compiled detection regex via isbot's `getPattern()` (or equivalent exported pattern) instead of constructing a custom regex.",
      "max_score": 25
    },
    {
      "name": "Identifier list",
      "description": "Populates the identifiers output directly from isbot's exported `list` data, not from hardcoded strings.",
      "max_score": 25
    },
    {
      "name": "Pattern-based match",
      "description": "`inspectAgent` (or equivalent) uses the regex returned by `getPattern()` to evaluate user agents rather than a separate or naive pattern.",
      "max_score": 20
    },
    {
      "name": "Source echo",
      "description": "Returns a `patternSource` value derived from the `getPattern()` result (e.g., `.source`) to reflect the dependency's compiled pattern.",
      "max_score": 15
    },
    {
      "name": "Match fragments",
      "description": "Derives match fragments from the regex match results (e.g., using `RegExp.exec` against the `getPattern()` regex) instead of manual substring heuristics.",
      "max_score": 15
    }
  ]
}

Version

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