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": "Evaluates how well the solution uses anymatch to build a reusable curried tester from mixed matchers and apply it for filtering and index lookup as described in the spec.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Curried creation",
"description": "Uses anymatch(matchers, options?) exactly once to create a curried tester reused across calls instead of rebuilding inside loops or per invocation.",
"max_score": 30
},
{
"name": "Mixed matchers",
"description": "Configures anymatch with the required mix of matcher types (glob string plus regex and predicate) so the curried tester honors all criteria in order.",
"max_score": 20
},
{
"name": "Return index",
"description": "Invokes the curried tester with returnIndex=true to surface matcher positions, relying on anymatch's returnIndex behavior (index on hit, -1 on miss).",
"max_score": 20
},
{
"name": "Predicate forwarding",
"description": "Passes array input through the curried tester so anymatch forwards trailing elements to predicate matchers for the extra checks defined in the spec.",
"max_score": 15
},
{
"name": "Filter reuse",
"description": "Reuses the curried tester (e.g., as an Array#filter callback) for boolean matching without reconstructing matchers, reflecting anymatch's reusable function design.",
"max_score": 15
}
]
}