Same-input comparison

Outputs · lens

Run the original and the edited model on the same inputs and count what changed, group by group: the check that an edit did what was asked and nothing else.

Also called Before and after, Held-out check, Regression test

The original router and an edit run on the same 272 held-out tickets. Each dot is a ticket, coloured by the edited route; outlined dots changed. The task: send urgent, complete tickets to Expedited and leave the rest alone.

136 of 272 changed

Routine · missing info0 moved

Routine · complete68 moved

Urgent · missing info0 moved

Urgent · complete · target68 moved

  • Request info
  • Standard
  • Expedited
  • Changed
Figure 1. Every number is computed in your browser.

What it shows

One example can show that an edit works; only a set of examples shows what else it broke. The comparison runs both versions on identical inputs that the edit was not designed on (held-out examples) and counts changed answers in each group you care about. A good edit moves the target group and leaves every other group exactly where it was.

How to read it

Dot
One input, coloured by the answer.
Outlined dot
The edited model answers differently from the original.
Count per group
Where the edit acted. Changes outside the target group are collateral.

What it does not tell you

It only covers the inputs you test: no collateral change on 272 tickets is evidence, not proof, for ticket 273. Choose the groups before looking at the result, or it is easy to find a story. Scores can drift without any answer changing, so look at the margins too.

Regression tests for models, behavioural testing such as CheckList, and A/B evaluation of fine-tunes and patches.

In WeightSpace

Every edit in WeightSpace is checked this way: Effect on every sample runs the original and the edit on all samples, and a shared version replays the same comparison. Lesson 2 is built on it: changing one weight reroutes 136 of 272 held-out tickets, half of them routine tickets that should not move, while the archived 4-weight edit reroutes 68, all urgent and complete.