Notes / 03 · Verification

The cost of saying “verified”.

A verifier can stop accepting broken changes by refusing to decide. Counting wrong accepts without counting verdicts hides that trade.

ProposedFigure: Worked example, six changes

Two numbers, reported together

When an agent says a change is verified, it can be wrong in a costly way: the change is broken and was accepted anyway. The obvious measure is the share of accepts that are wrong.

That measure has an easy way out. A verifier that declines to decide can’t accept anything wrongly. So a second number has to sit next to the first: verdict coverage, the share of all changes that get an accept or a reject at all.

Worked example · six changes
Case010203040506
Graderpasspassfailfailfailfail
Policy A
Policy B
Wrong accepts
A1 of 3
B0 of 2
Verdict coverage
A6 of 6
B3 of 6
Same six changes, two verification policies

Reading the example

Policy A decides all six changes and wrongly accepts case 03, so one of its three accepts is wrong. Policy B defers on case 03 and has no wrong accepts. If you report only that, B is plainly better.

B also deferred on cases 05 and 06, which A rejected. Its coverage is three of six. Someone still has to decide the other three, and whether B is an improvement depends on what those deferrals cost compared with the one wrong accept they avoided. Taken to the limit, a policy that defers on everything scores a perfect zero and is useless.

How to measure it

  • Run both policies on the same set of changes.
  • Label each change with an independent grader that neither policy can see.
  • Report wrong accepts and coverage side by side, with their denominators, since 0 of 2 and 0 of 200 are different claims.