tessl install tessl/npm-anymatch@3.1.0Matches 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%
{
"context": "This checklist evaluates whether the solution correctly leverages anymatch to deliver boolean or index-based results as outlined in the spec, both through direct calls and reusable testers. It emphasizes using anymatch's built-in returnIndex behavior instead of reimplementing matching logic.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Direct boolean",
"description": "Uses the default anymatch(matchers, value) invocation in boolean mode for checkMatch without reimplementing matcher traversal.",
"max_score": 20
},
{
"name": "Direct index",
"description": "When index mode is requested, calls anymatch(matchers, value, true) to surface the first matching matcher index or -1 instead of computing indices manually.",
"max_score": 20
},
{
"name": "Curried tester",
"description": "Builds the reusable tester via anymatch(matchers) rather than custom closures, preserving support for strings, globs, regexes, and function matchers.",
"max_score": 20
},
{
"name": "Curried index",
"description": "Invokes the curried tester with the returnIndex flag (tester(value, true)) when index mode is requested, relying on anymatch to emit matcher indices.",
"max_score": 20
},
{
"name": "Filter ready",
"description": "Uses the curried tester from anymatch directly as an Array.prototype.filter callback for boolean filtering instead of wrapping or replicating its logic.",
"max_score": 20
}
]
}