Back home

The eval harness

How I test AI

A change is tried against a held-out set of cases before it can merge or release. The fuller picture of the desk is on How it's built.

The eval harness uses three kinds of cases, and it can run against a swappable model. Continuous integration runs those checks automatically. Required status checks — the tests that must stay green — stand between a change and a merge, then a release. A failed check does not ship.

Golden set
A known-good collection of cases we expect to pass, and that we keep scoring as the desk changes.
Red-team set
Cases written to catch risky or off-limits behavior, not just the happy path.
Holdout set
A set kept back so we are not only testing what we already know.
Swappable model
The Assistant can run on a hosted model or a local open-weights model — here, on a MacBook Air. The rest of the desk does not care which one is on.
Scores from the last run

Golden set 1,282 cases

Rule-based parser
16.8%
Local, MacBook Air
48.4%
Hosted model
65%

Red-team set 114 cases

Local, MacBook Air
93%
Hosted model
96.5%

Holdout set 642 cases

Local, MacBook Air
73.2%
Hosted model
78.7%

On the red-team set, neither model invented an amount, and the server-side permission checks held.

On the holdout set, after rewording the tool definitions, the local model reached 73.2% and the hosted model 78.7%. The gap narrowed from 17 points on the golden set to about 5.

The holdout is a different case set, so that is a narrowing, not a like-for-like gain.

How the web desk, the Assistant, and these checks fit together is the diagram on How it's built.