# Evaluating a change

**Who this page is for:** anyone deciding whether a change to a harness is an improvement:
developers, product managers and QA engineers.

The Workbench answers two different questions about a change. **Replay** answers "what would
the changed harness have done with exactly what happened in this run?": it feeds a recorded
run's events to another version and shows the first moment where the two take different
steps. **Evals** answer "does the changed harness do its job better?": they run the version
afresh on a set of cases, judge every trial and compare the reports. A recorded run can become
an eval case in one action, and the eval pages are the Workbench's Evals section.

- **You will be able to:** replay a run against another version and read the first
  difference, turn a run into an eval case, and find the Evals section.
- **Read first:** [Reading a run](runs.md) and [Evals](../evals/index.md).
- **Time:** about 10 minutes.

## Where each fits

```mermaid
flowchart LR
    run[("A recorded run<br/>in the journal")]
    replay["Replay against<br/>another version"]
    divergence["The first difference<br/>position · state · event"]
    case["An eval case<br/>its brief and its end"]
    cases[("The project's<br/>cases file")]
    eval["gvn eval run<br/>fresh trials of a version"]
    compare["Compare<br/>better · about the same · worse"]
    run --> replay --> divergence
    run --> case --> cases --> eval --> compare
```

Replay is cheap and exact. Nothing is fulfilled: the recorded replies of the model, the tools
and the people are handed to the other version as they were. So it shows changes in the
machine's shape (states, transitions, stages, how endings lead on, how a judge or a join
reads what children did), and it shows them on the very run you are looking at.

What it cannot show is what a model would answer to a changed request. A version with new
instructions is replayed with the old replies. That question needs the harness run again on
cases, with fresh model calls: an eval.

## Replay against another version

On a run page, **Replay against another version** opens the replay view. Pick a version (the
project's [versions](../evals/project.md#the-versions), the ones its evals name; the one the run
was recorded with is marked) and press **Replay**.

The Workbench builds that version's actor for the run's id from the run's first event, feeds it
every recorded event with gvn's [`Inspector.against`](../guides/inspecting-a-run.md#against-a-change),
and compares the two, moment by moment. Two moments differ when one version took other steps,
started or ended other actors, ended somewhere else, or began or ended other kinds of request.

The answer is one of three:

- **They never differ.** The other version would have taken exactly the same steps on this run.
- **They first differ at a moment.** The view names the journal position, the state the recorded
  run's own actor stood in just before it, and the event that arrived there. Below, the two
  sides from that moment on: the recorded run's moments and the replayed version's moments, and
  where each ends.
- **The other version could not be built or fed.** The view says why, with the error text
  recorded as content.

In the release review, the `candidate` version changes only the cross-checkers' instructions.
Replaying `release-changes-requested` against `candidate` answers that the two never differ:
the machine and the stages are the same, and the recorded replies are reused. Whether the new
instructions change what the model says is a question for the eval below.

Changing a route in a version's plan is what replay shows. Had a version sent the
`collecting_evidence` stage's `evidence_ready` to `awaiting_approval`, skipping the reviews,
a replay of `release-approved` would first differ at moment 3, where the CI result arrives:
the recorded run moved to `reviewing_components` and the changed version to
`awaiting_approval`.

## A run becomes an eval case

A finished run can become an eval [case](../evals/cases.md): what the run was started with (its
[brief](../reference/glossary.md#brief)), and the end it reached as what a good result looks
like. Added to a cases file, it makes an eval check that the harness still gets there.

On a finished run's page, the case panel shows the case as it would be saved: its case id (the
run's id, unless you give another), its brief, and `expect.outcome`, the final state the run
ended in. Pick one of the project's cases files and save. For `release-ci-failed`:

```json
{
  "case_id": "release-ci-failed",
  "brief": {
    "release_id": "2026.11.3",
    "change_summary": "Moves card payments to the new payments worker and adds receipts.",
    "components": ["checkout-api", "payments-worker", "notifications"],
    "rollback_plan": "Redeploy the previous tag of each component; no data migration."
  },
  "expect": {"outcome": "needs_attention"},
  "tags": []
}
```

The case is appended through the Evals section's own interface, so the same checks apply as
when you add a case on the cases page: a case id that is already in the file is refused, and so
is a file that is not one of the project's cases files. A case id uses letters, digits, `-` and
`_`, starting with a letter or a digit. A run that has not ended makes no case: there is no end
for it to expect.

A case says what a run should do; the criteria of the eval say how that is judged. The release
review's eval checks `expect.outcome` with its `ends_as_expected` criterion. A case made from a
run may need more than its end state: whether the CI build passes in the trial's world
(`expect.ci`) and what the release manager's stand-in answers (`expect.answer`) are written in
the release review's cases by hand. [Writing cases](../evals/cases.md) explains each part.

## The Evals section

**Evals**, in the header of every page, is the eval page: recorded eval runs and their reports,
single trials with their conversations, two runs compared, the cases files, and the reviews
waiting for a reviewer. [The web page](../evals/web-page.md) explains each of its views. It
stands on its own: a product manager or a QA engineer can add cases, give reviews and read
reports there without opening a drawing.

Reviews that wait for a reviewer and runs that wait on a person are both things waiting on
you: **Waiting on you** lists the runs and says how many eval reviews wait too, with a link to
them.

`gvn eval run`, `show`, `compare`, `gate` and `regrade` are part of `gvn`, not of the
Workbench: they work in CI and in a deployment with no Workbench installed, and the Evals
section reads and writes the same files and stores they do.

## Recap

- Replay feeds a recorded run to another version, fulfilling nothing, and names the first
  moment where the two differ; it shows changes in the machine and its stages.
- What a model would answer to a changed request needs fresh trials: an eval.
- A finished run becomes an eval case (its brief and its end) in one action, written to one of
  the project's cases files.
- The Evals section is the eval page; the `gvn eval` commands work without the Workbench.

**Next:** [Editing a harness](editing.md).
