docs
evals
scenario-1
scenario-2
scenario-3
scenario-4
scenario-5
scenario-6
scenario-7
scenario-8
scenario-9
scenario-10
{
"context": "This criteria evaluates how well the engineer uses the micromatch package to implement file path filtering based on glob patterns, specifically focusing on single wildcard (*) matching capabilities.",
"type": "weighted_checklist",
"checklist": [
{
"name": "Uses micromatch function",
"description": "Uses the main micromatch function (micromatch() or micromatch.match()) to filter the array of file paths against patterns",
"max_score": 40
},
{
"name": "Pattern handling",
"description": "Correctly passes patterns parameter to micromatch, handling both string and array pattern inputs appropriately",
"max_score": 20
},
{
"name": "Direct array filtering",
"description": "Leverages micromatch's built-in array filtering capability rather than manually iterating and testing each path with isMatch",
"max_score": 20
},
{
"name": "Returns filtered array",
"description": "Returns the filtered array directly from micromatch without unnecessary post-processing or transformations",
"max_score": 20
}
]
}