or run

tessl search
Log in

Version

Files

tile.json

rubric.jsonevals/scenario-9/

{
  "context": "This evaluation assesses how well the engineer uses nuqs for URL state management with browser history integration, specifically focusing on the History API patching capability for tracking external navigation events.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "useQueryState hook usage",
      "description": "Uses the useQueryState hook from nuqs to manage the count query parameter with proper type parser (parseAsInteger)",
      "max_score": 15
    },
    {
      "name": "Default value configuration",
      "description": "Configures the parser with withDefault(0) method to set the default count value to 0",
      "max_score": 10
    },
    {
      "name": "Push history mode",
      "description": "Implements the Increment button using push history mode via withOptions({ history: 'push' }) or per-call options override",
      "max_score": 20
    },
    {
      "name": "Replace history mode",
      "description": "Implements the Reset button using replace history mode via withOptions({ history: 'replace' }) or per-call options override",
      "max_score": 20
    },
    {
      "name": "Navigation event tracking",
      "description": "Uses useEffect or similar mechanism to track URL changes and navigation events, including those triggered by browser back/forward buttons",
      "max_score": 20
    },
    {
      "name": "Adapter integration",
      "description": "Properly integrates with nuqs adapter system (NuqsAdapter or framework-specific adapter) to enable History API patching and external navigation tracking",
      "max_score": 15
    }
  ]
}