Skip to content

Local result viewer

Browse every result, suite and attempt in a read-only page on your own machine. From the repository root:

./localgauge serve

Then open http://127.0.0.1:8000. The viewer binds to 127.0.0.1:8000 by default. Add --results PATH more than once to include additional JSON result files or directories; committed results/reference/ and, when present, ignored results/runs/ are used by default. An explicit non-loopback --host is allowed, but the command prints a warning. Do not expose result files containing data you consider private.

The server uses only the standard library and opens no outbound model requests. At startup it may read the local inference server's /props route once to identify the resident setup; if that route is unavailable, results remain readable and the resident is reported as unavailable.

Pages

  • /overview compares normalized setups with the currently recognised resident setup. version pins a task-set version when the result folder contains more than one.
  • /suites/{run_id} shows one suite's language and per-task evidence.
  • /runs/{run_id}/attempts/{n} shows verdict, verification, diff, tests, tool calls, model requests, and local timing breakdown.
  • /compare?a=&b=&set=&version= compares two setups on the tasks both ran within one task-set version.
  • /machines/{id} shows the measured hardware facts attached to local runs.

The HTML is semantic and self-contained: real tables, labelled controls, no external fonts or scripts, no mutation routes, and dark mode by default with a light-mode toggle. Phase B run control and delegation controls are not served.

JSON and schemas

Every page has a .json twin with the same rows and verdicts. Sending Accept: application/json to an HTML page returns that twin. /schema/{record_type}.json returns the committed JSON Schema for a record type, and /llms.txt lists the page contracts for agents and other readers.

Examples:

/overview.json?set=polyglot-10&version={task_set_version}
/suites/{run_id}.json
/runs/{run_id}/attempts/1.json
/compare.json?a={setup_id}&b={setup_id}&set=polyglot-10&version={task_set_version}
/machines/personal-4060ti.json
/schema/task_run.json

Missing records and unknown fields remain explicit. A skipped or unreadable file is not counted as a zero, and provider hardware or timing that was not reported is labelled as such.

Comparison rules

How the viewer computes intervals and separates setups

The viewer reads all result JSON through the schema-2 adapter. Multi-attempt setup rates use a deterministic whole-task bootstrap; one-attempt-per-task rates use Wilson intervals. The paired pass-rate difference uses a task bootstrap for repeated attempts and a Wilson-based Newcombe interval adjusted for task-pair correlation when both sides have one attempt per task. A whole interval must be away from zero for a comparison to be separated.

Time comparisons use the median of the per-task B-minus-A gaps on tasks both setups passed. A fixed-seed 95% bootstrap resamples those tasks; fewer than five shared passed tasks is reported as too few. Local attempt timings sum request prompt_ms and predicted_ms, then subtract them from the attempt wall time to show an unexplained remainder. Hosted attempts do not invent an equivalent breakdown.