or run

npx @tessl/cli init
Log in

Version

Files

tile.json

rubric.jsonevals/scenario-7/

{
  "context": "Evaluates how well the solution leverages jsx-ast-utils' canonical JSX event handler catalogs to list, group, and query event props per the spec. Focus is entirely on using the provided flat and grouped handler exports rather than reimplementing event lists.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Flat list usage",
      "description": "Uses the package's `eventHandlers` export to detect and filter handler prop names, rather than hardcoded strings, when building the deduped list.",
      "max_score": 25
    },
    {
      "name": "Grouped mapping",
      "description": "Builds category groupings directly from `eventHandlersByType`, keeping only categories present in that export and retaining their canonical order when returning matches.",
      "max_score": 25
    },
    {
      "name": "Category queries",
      "description": "Implements category checks by reading `eventHandlersByType[category]` and testing membership in those arrays (or the derived flat list), not by inventing category strings.",
      "max_score": 20
    },
    {
      "name": "Canonical sourcing",
      "description": "Derives all recognized handler names from the package exports (e.g., spreads or copies of `eventHandlers`/`eventHandlersByType`) before applying deduplication or sorting logic.",
      "max_score": 15
    },
    {
      "name": "Rejects unknowns",
      "description": "Filters out props not found in `eventHandlers` when producing lists or groups so near-miss names (onClicker, casing variants) are excluded.",
      "max_score": 15
    }
  ]
}