How we test Brain: an evaluation harness, not impressions
A prompt change that makes an answer sound better is not the same as one that makes it more accurate, and the two are easy to confuse in the moment. We confused them once, early, and a card-raising prompt that read beautifully collapsed the number of cards Live raised to almost nothing. Since then, nothing that affects what Brain says ships without being measured. This is what that means.
The checkpoint set
A fixed collection of questions, each on a real matter with known documents, each with the answer that a careful reading of the file produces. Not "does the answer sound right" — "does it contain this fact, cited to this document, and not that one". The set covers:
- Retrieval: for each question, does the right passage come back among the top results? Measured as a rate across the set.
- Citation integrity: does every finding cite, do the citations resolve, does the cited passage support the finding?
- Absence: when the file does not contain the answer, does Brain say so, or invent one?
- Lead consistency: does the opening sentence agree with the findings beneath it?
- Loaded premises: asked a leading question, does Brain check the premise or agree with it?
Each has a baseline — the score on the day the checkpoint was frozen. A change is run against the set and compared to the baseline. A change that improves one score and degrades another is a change we know about before a user does.
What it has caught
- The lead sentence contradicting its own findings, described in the pilot notes. Zero contradictions across fourteen reruns after the fix; the harness is how we know the number.
- A wording change to the Live prompt, meant to reduce noise, that cut cards raised on a replayed hearing from sixty-four to one. It read as an improvement. The replay said otherwise.
- A model that agreed with loaded questions one time in five and, after the premise check, six times in six.
- A retrieval model chosen by bake-off against the same questions: the winner returned the right passage in the top five 87.5 per cent of the time, and we publish that number because a system described without one has not been measured.
Citation checks in code
Some checks do not need a model at all and run on every answer, in every mode, without exception:
- A finding that asserts a fact is absent is checked against its own cited passage — if the passage contains the fact, the finding is wrong, and it is flagged.
- A finding that binds an attribute to a name — "Mehta's account number" — is checked against whether the cited passage actually connects them, or merely mentions both.
- Unknown citation markers are stripped rather than displayed.
Thirty-eight assertions, and counting. They are cheap, they are deterministic, and no mode is allowed to skip them.
Deep mode is measured differently
Deep mode reads every document, and a single run is noisy — the same question can produce slightly different findings twice. So Deep checkpoints are run repeatedly and scored on coverage across runs: does the set of findings, taken together, include the facts a careful reader would have found? A single sample is not evidence for Deep, and the harness knows that.
What the harness cannot do
It cannot tell us the answer is useful. A cited, consistent, complete answer to the wrong question is still the wrong answer, and only an advocate can say whether the question was right. That is what the pilot is for.
It cannot cover every matter type. The checkpoint set is weighted towards the matters we have real files for — cheque dishonour, employment, a few commercial disputes. A prompt that scores well there might regress on a property chain, and we would not know until someone told us. Expanding the set is a standing task.
And it cannot measure what it does not test. The inference-versus-quotation gap in the verified mark — the risk we most want to close — was found by an external evaluator, not by the harness, because the harness did not yet have a check for it. It does now.
Why we write this down
Because "we test it carefully" is a sentence every vendor says, and it means nothing without the specifics. The specifics are: a fixed set, a frozen baseline, a comparison before every change, checks in code that run on every answer, and a public number for retrieval. If a vendor cannot tell you their equivalent, they are shipping on impressions — and impressions, we learned, are how you end up with one card per hearing.
See it on a file you know.
The pilot is invite-only and runs in India. Every new account comes with a worked sample matter, so the first thing you do is check whether Brain is right.