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 the solution uses the anymatch package to normalize mixed-separator paths while keeping trailing separators and to apply directory-aware include/exclude globs. Checks focus on leveraging anymatch for both inclusion and exclusion rather than reimplementing matching logic. Ensures globs ending in a separator behave correctly against directory entries from the provided candidates.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Include matching",
"description": "Uses anymatch (e.g., anymatch(includeMatchers, candidate) or its curried predicate) to decide which candidates satisfy include patterns instead of hand-rolled glob or regex checks.",
"max_score": 30
},
{
"name": "Exclude filtering",
"description": "Applies anymatch on exclude patterns after inclusion, using its boolean/returnIndex result to drop matching candidates rather than custom string comparisons.",
"max_score": 25
},
{
"name": "Trailing slash globs",
"description": "Relies on anymatch's path normalization that preserves trailing separators so directory globs ending with '/' (e.g., \"*/\", \"**/node_modules/\") correctly match entries like \"tmp\\\\logs\\\\\" or \"src\\\\node_modules\\\\\".",
"max_score": 25
},
{
"name": "Mixed separators",
"description": "Feeds mixed '\\\\' and '/' inputs directly to anymatch so its built-in normalization handles cross-platform paths without manual separator replacement that might drop directory markers.",
"max_score": 20
}
]
}