Glob matching for javascript/node.js, a replacement and faster alternative to minimatch and multimatch
90
Pending
Does it follow best practices?
Impact
90%
1.50xAverage score across 10 eval scenarios
Pending
The risk profile of this skill
{
"context": "This criteria evaluates the engineer's ability to use micromatch's ignore option for pattern filtering. The focus is on correctly utilizing the ignore parameter in micromatch functions to exclude files from results based on glob patterns.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Uses micromatch function",
"description": "Implementation uses the micromatch() main function or similar micromatch API (e.g., micromatch.match()) to filter the files array based on patterns",
"max_score": 25
},
{
"name": "Uses ignore option",
"description": "Implementation correctly passes the ignore patterns using the 'ignore' option parameter in the micromatch options object (e.g., micromatch(files, patterns, { ignore: ignorePatterns }))",
"max_score": 35
},
{
"name": "Handles single ignore pattern",
"description": "Implementation correctly handles a single string ignore pattern, allowing the ignore option to accept a string value",
"max_score": 15
},
{
"name": "Handles multiple ignore patterns",
"description": "Implementation correctly handles an array of ignore patterns, allowing the ignore option to accept an array of strings",
"max_score": 15
},
{
"name": "Returns correct results",
"description": "The function correctly returns the filtered array with files that match the inclusion patterns but are excluded if they match any ignore pattern",
"max_score": 10
}
]
}docs
evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10