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

{
  "context": "Checks how well the solution leans on anymatch to build include/exclude filters that honor negated glob patterns and provide a reusable predicate for repeated path filtering. Emphasizes correct use of anymatch APIs rather than custom glob logic.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Anymatch usage",
      "description": "Uses the anymatch API (direct call or curried matcher) to evaluate glob patterns instead of hand-rolled string or regex checks when filtering paths.",
      "max_score": 30
    },
    {
      "name": "Negated globs",
      "description": "Applies anymatch's support for globs prefixed with '!' so that any candidate matching a negated pattern is excluded even if it matches a positive include.",
      "max_score": 30
    },
    {
      "name": "Positive gating",
      "description": "Ensures candidates are only accepted when they match at least one positive glob pattern per spec expectations, not merely because they avoid negated patterns.",
      "max_score": 20
    },
    {
      "name": "Reusable predicate",
      "description": "Builds a reusable predicate via anymatch (e.g., calling anymatch with patterns once and reusing the returned matcher) rather than rebuilding matchers on every path check.",
      "max_score": 20
    }
  ]
}

Version

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