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

{
  "context": "Assesses whether the solution filters strings by fully leveraging anymatch's ability to evaluate string, glob, regex, and predicate matchers. Evaluators check that matching work is delegated to the library rather than reimplemented by hand and that each matcher type is exercised as specified.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Delegates to anymatch",
      "description": "Filtering uses the anymatch function (direct call or curried predicate) to decide matches instead of custom matcher implementations.",
      "max_score": 25
    },
    {
      "name": "String & glob",
      "description": "Literal strings and glob patterns from the matcher list are passed through anymatch so both exact and globbed inputs match as expected.",
      "max_score": 20
    },
    {
      "name": "RegExp matchers",
      "description": "RegExp criteria are supplied to anymatch and relied upon for matching rather than manual `.test` loops.",
      "max_score": 20
    },
    {
      "name": "Predicate matchers",
      "description": "Function matchers are included in the anymatch matcher collection and invoked through the library to accept or reject entries.",
      "max_score": 20
    },
    {
      "name": "Mixed matcher array",
      "description": "Mixed matcher arrays are evaluated through a single anymatch matcher set so multiple matcher types can combine without ad-hoc branching.",
      "max_score": 15
    }
  ]
}

Version

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