CtrlK
CommunityDocumentationLog inGet started
Tessl Logo

tessl/npm-anymatch

tessl install tessl/npm-anymatch@3.1.0

Matches strings against configurable strings, globs, regular expressions, and/or functions

Agent Success

Agent success rate when using this tile

76%

Improvement

Agent success rate improvement when using this tile compared to baseline

1.12x

Baseline

Agent success rate without this tile

68%

rubric.jsonevals/scenario-4/

{
  "context": "Evaluates whether the event filtering utility relies on anymatch to test path-and-metadata tuples and respects the package's ability to forward extra tuple elements to predicate matchers. Emphasizes using built-in matcher handling and index-return behavior instead of reimplementing matching logic.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Uses anymatch",
      "description": "Matching logic delegates to anymatch (direct call or curried tester) instead of reimplementing matcher iteration, and event tuples are passed directly into anymatch for evaluation.",
      "max_score": 25
    },
    {
      "name": "Tuple forwarding",
      "description": "Event tuples are supplied to anymatch so predicate matchers receive forwarded args (e.g., event type and metadata) and filtering decisions rely on predicates using those extra arguments.",
      "max_score": 25
    },
    {
      "name": "Matcher variety",
      "description": "anymatch is configured to accept the full matcher array (strings/globs, RegExp objects, and predicate functions) from the spec without rewriting or splitting, including support for negated globs to exclude temporary files.",
      "max_score": 20
    },
    {
      "name": "Return index",
      "description": "When returnIndex mode is requested, the code uses anymatch's returnIndex capability to obtain the first matching matcher index (or -1) and threads that numeric result into the filter outputs.",
      "max_score": 15
    },
    {
      "name": "Curried tester",
      "description": "createEventTester (or equivalent) is built via the curried form of anymatch so the same tester can be reused across multiple events without reconstructing matcher logic each time.",
      "max_score": 15
    }
  ]
}

Version

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