or run

tessl search
Log in

Version

Files

tile.json

rubric.jsonevals/scenario-3/

{
  "context": "This criteria evaluates how well the engineer uses the micromatch package to filter arrays of file paths based on glob patterns. The focus is on whether they leverage micromatch's core array filtering functions appropriately rather than implementing pattern matching from scratch.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Uses micromatch",
      "description": "Implementation imports and uses the micromatch package (directly calls micromatch() or micromatch.match() function)",
      "max_score": 40
    },
    {
      "name": "Array filtering",
      "description": "Correctly passes the paths array as the first argument to micromatch for filtering",
      "max_score": 25
    },
    {
      "name": "Pattern handling",
      "description": "Correctly passes the patterns parameter (string or array) as the second argument to micromatch",
      "max_score": 25
    },
    {
      "name": "Return value",
      "description": "Returns the filtered array result from micromatch without unnecessary post-processing",
      "max_score": 10
    }
  ]
}