The web page¶
Who this page is for: everyone who prefers reading reports, adding cases and giving reviews in a browser to doing it in a terminal: product managers, QA engineers, technical analysts, and the people a review asks.
gvn eval serve starts a page on your own computer for the project's evals: the recorded runs
and their reports, single trials with their conversations, two runs compared, the cases files,
and the reviews waiting for a reviewer. The page is the Evals section of the
gvn Workbench, the local site that comes with the gvn-workbench
package and that also draws the project's harnesses and reads its recorded runs. This page
describes the Evals section; it stands on its own, and none of it needs the rest of the
Workbench.
- You will be able to: start the page, find your way through its six views, add and edit cases, and give reviews.
- Read first: Your first eval.
- Time: about 10 minutes.
How it fits¶
flowchart LR
browser(["Your browser"])
page["gvn Workbench, Evals section<br/>(gvn eval serve)<br/>on 127.0.0.1"]
files[("Cases and eval files")]
stores[("The project's journal<br/>and results store")]
cli["gvn eval run, compare, ..."]
browser <--> page
page <--> files
page <--> stores
cli <--> files
cli <--> stores
The page and the command line are two ways into the same things. The page reads and writes the
same cases files you would edit by hand, and the same stores gvn eval run records into: a run
started in the terminal appears in the page as soon as it records its first trial, and a
review given in the page is in the next gvn eval show.
The page runs on this computer only. It listens on 127.0.0.1, the address that only programs on the same computer can reach; nobody on your network or elsewhere can open it. Changes are accepted only from the page the server itself served (Files and safety has the rules).
Starting it¶
The page comes with the Workbench: install the gvn-workbench package next to gvn, as a
development dependency (a deployed harness does not need it). Then, from the folder you run
gvn eval in:
$ gvn eval serve --open
The eval page is at http://127.0.0.1:8000/evals/ on this computer; press Ctrl-C to stop it.
Coding agents reach its MCP server at http://127.0.0.1:8000/mcp with the header X-Gvn-Token set to the token in /path/to/project/.gvn/workbench/mcp-token.
--open opens it in your browser; without it, open the address yourself. --port 8010 uses
another port, for when 8000 is taken. Ctrl-C in the terminal stops it. The same command starts
the whole Workbench: the site's root (http://127.0.0.1:8000/) has the project's harnesses, its
recorded runs and what they wait on, and a second line says how a coding agent connects
(The guide and coding agents).
The six views¶
The header has four links: Runs, Compare, Cases and Reviews (with the number of reviews waiting). From a run you reach its report, and from the report each trial. Under each view's heading one sentence says what the view is for, with a Read the guide link to the page of this guide that explains it. Pass rates are drawn as bars: the mark is the rate, and the shaded part is the range it is likely between.
1. Runs¶
Every recorded eval run, newest first: the eval and the version, how many trials passed with
the bar of the pass rate and the range it is likely between, the share of cases that passed
every time, and the cost. Badges say how many reviews are waiting for a reviewer, how many
trials could not run, how many to score again (their scores were given under criteria that
have changed since), how many are being run elsewhere (by another gvn eval run right now),
and Not finished for a run that has trials still to run. When not every trial was judged, the
count says so (4 of 17 judged trials passed), the line under it says why (Only 17 of 24
trials were judged: 4 could not run, 3 wait to be scored again.), and the bar is drawn dashed
and hatched, so such a run never looks as good as a complete one. Tick two runs and press
Compare the two runs. An eval file that cannot be read is shown at the top with
the reason, so someone can fix it in a text editor. With no runs yet, the view shows the command
that starts one, ready to copy.
2. A run's report¶
What gvn eval show prints, laid out:
- the result: how many trials passed, the bar with the range it is likely between, the share of cases that passed every time, the cases by solid, flaky, failing and could not run, the cost, and Finished or Not finished. When not every trial was judged, the count reads 1 of 1 judged trials passed (100%) and the line right under it, as large, says how many were judged and why the rest were not: Only 1 of 10 trials was judged: 9 could not run (also have not run yet, wait to be scored again, are not judged yet);
- a notice when reviews are waiting for a reviewer, with a Give the reviews button; one
when judgements are missing, saying to run the same command again; one when trials wait to
be scored again because the criteria changed, with the
gvn eval regradecommand that scores them, ready to copy; and one when trials are being run by another gvn eval run right now; - Criteria: for each criterion its pass rate with its bar and likely between, and how many cases passed every time (and at least once, when that differs); must-pass criteria under Must pass for a trial to pass, measured ones under Measured, does not decide pass or fail; each says whether it is checked by code, decided by a model or answered by a reviewer;
- Cases, grouped failing, could not run (no trial of these cases ran, each with the reason), flaky, solid and not judged yet, failing first: each case with a mark per trial; open it to see every trial with what each criterion said, Waiting for a reviewer where a person has not answered, Could not run with the reason, Waiting to be scored again for a trial scored under criteria that have changed since (its old scores no longer count), the trial's cost, and Read the conversation;
- Trials that could not run, when there are any, each with its reason;
- About this run, folded away: the eval, the version, the cases, the number of trials per case, the environment, the stand-in for people, the models by role, the tokens and calls used, and when the last trial was recorded.
3. A trial¶
One trial of one case, in full:
- Conversation: every message, every tool call with its arguments and result, as recorded;
- How each criterion judged it: each criterion's result and explanation; for a judge or a review, the answer, who gave it and their reasoning or note; Waiting for a reviewer with a link to answer it in Reviews; Could not judge when a judge failed, and why;
- the case: what the harness was given and what a good result looks like;
- Waiting to be scored again, at the top, when the trial was scored under criteria that have changed since: its scores are shown but no longer count;
- What the environment reported when the run ended;
- For developers: raw events and record, folded away: the run's events one per line and the stored record of the trial.
4. Compare¶
Pick a Newer run and the run it is Compared with (both must have run the same cases). The view shows:
- the verdict as a sentence, the same four as
gvn eval compare: better, about the same, worse, or not enough data to tell, with how much the pass rate changed and the range it is likely in, and What to do next. When the verdict could not be read from the numbers at all, the box says Not enough data to tell and why (because only 3 cases were judged in both runs, and telling needs at least 6), and what to do next is to finish the runs (when cases were not judged in one of them) or to add cases; - These also differ between the two runs, when more than the version changed between the two runs, so part of the difference may come from them;
- Change per criterion: each criterion's own verdict in a word (better, worse, about the same, not enough data to tell) and the reason when it differs from the overall one, the difference in percentage points, newer minus older, with the range it is likely in drawn as a bar around 0, and how many cases did better and did worse;
- Cases that changed: the cases that Did worse and Did better, then those Not judged in one of the runs, with their trials before and after and a link to open the case;
- As text, to paste in a ticket: the same comparison as plain text;
- Compare other runs, to pick another pair.
When two runs cannot be compared at all (they ran different cases, or decide whether a trial
passed by criteria that changed), the view says so as a caution, These two runs cannot be
compared yet, with gvn's reason and, when scoring the baseline again would fix it, the
gvn eval regrade command to copy.
5. Cases¶
The cases files of the project. Pick one to see its cases in a table: name, what the harness is given, tags. Find a case by name, tag or text. From here you add, edit and delete cases:
- Add a case opens a form with one input per field the file already uses: What the harness
is given (the brief), Case name (the
case_id, filled in from the first text field until you change it), What a good result looks like (the expect), and Tags (type a tag, then Enter). Add another field adds a field. - A value is read as a cell of the CSV file is: text that reads as JSON (a number,
true, a list) is that value, anything else is text. - Edit changes a case in place; changing its name renames it, and runs that already tried it keep the old name.
- Delete removes a case after you confirm. The last case of a file cannot be deleted.
Saving writes the file at once, keeping its column order. A file that cannot be read is shown with the reason instead of its cases. Writing cases explains what each part of a case is for.
6. Reviews¶
Every review waiting for a reviewer, one at a time. In the rest of the Workbench, Waiting on you lists the recorded runs that wait on a person and links here for the reviews:
- Where: the eval and version, the case and the trial, and Open the full trial.
- What happened: the account of the trial the question is about (the brief, the conversation, how it ended, what the environment reported).
- Why (optional), a note shown with your answer on the trial, and Your name, which the page remembers on this computer.
- The question, as the eval file wrote it, and one button per verdict (pass, fail, cannot tell; the keys 1, 2 and 3 press them, S skips).
Your verdict is recorded with your name and note, the trial is scored again, and the next
review opens at once. Skip this one for now leaves it waiting. A review whose run's version
is no longer offered, whose eval file is gone, or whose run's criteria changed since it was
asked, is shown with the reason under This review cannot be answered here, after the reviews
that can be answered; for changed criteria the reason names the gvn eval regrade command that
scores the run again, after which its reviews are asked anew. The same reviews can be
answered in a terminal with gvn eval review.
When the list is empty, every report includes the verdicts given, and runs that were waiting only for reviews are finished.
Recap¶
gvn eval serve --openstarts the page, the Evals section of the Workbench, on this computer only; Ctrl-C stops it.- Six views: Runs, a run's report, a trial, Compare, Cases and Reviews.
- The page writes the same files and stores as the command line.
Next: Writing the project, for developers.