CtrlK
BlogDocsLog inGet started
Tessl Logo

tessl/npm-micromatch

Glob matching for javascript/node.js, a replacement and faster alternative to minimatch and multimatch

90

1.50x
Overview
Eval results
Files

rubric.jsonevals/scenario-1/

{
  "context": "This criteria evaluates how effectively the engineer uses micromatch's object key filtering functionality (matchKeys) to filter configuration objects based on glob patterns. The focus is on proper usage of the matchKeys API for simple patterns, multiple patterns, negation, and pattern combination.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Uses matchKeys function",
      "description": "Implementation uses micromatch.matchKeys() as the primary method for filtering object keys based on patterns",
      "max_score": 30
    },
    {
      "name": "Handles single patterns",
      "description": "Correctly passes a single pattern string to matchKeys (e.g., 'api*') to filter keys with simple wildcard matching",
      "max_score": 15
    },
    {
      "name": "Handles multiple patterns",
      "description": "Correctly passes an array of patterns to matchKeys (e.g., ['PROD_*', 'NODE_*']) to match multiple pattern rules",
      "max_score": 15
    },
    {
      "name": "Implements negation patterns",
      "description": "Correctly uses negation patterns with '!' prefix (e.g., '!password', '!*Token') to exclude specific keys from results",
      "max_score": 20
    },
    {
      "name": "Combines patterns correctly",
      "description": "Correctly combines inclusion and exclusion patterns in a single matchKeys call (e.g., ['*', '!password', '!*Token']) to create complex filtering rules",
      "max_score": 20
    }
  ]
}

Install with Tessl CLI

npx tessl i tessl/npm-micromatch

tile.json