glossary

Evals

Evaluation-driven development

Evaluation-driven development means the pass rule is written before or with the change, the eval is run, and that result, not a demo that looked fine, decides what the next edit should be.

Abracadabra Team Glossary

How it works

Write the pass rule before the edit, or in the same change, and run it before anyone argues from a demo. For parking permits the rule is written first: the date in the reply must match the date on the letter, and the zone must be one of the known codes. Then the prompt is changed. If the case fails, the next edit is chosen to make that case pass. If it passes, the next edit is not a victory lap. It is whatever the remaining failures say.

The discipline is letting the result decide. A demo that looked fine is not a result. Bending the rule after a fail, so the edit can be called done, throws the practice away. Keep the rule text in the same review as the prompt diff, so a reader can see that the rule was not loosened to fit. When there is no recorded pass or fail, there is nothing for the next edit to answer to.

A worked example

A parking permit pulled from a letter

Before anyone touches the prompt, the case is written. The input is a photo of a resident's letter. The pass rule says the extracted date equals the date printed on the letter, and the zone is one of the city's known codes. The grader is a script. The first prompt returns the right date and a zone code that is not on the list. The case fails. The next edit is aimed at that fail, not at making the reply friendlier. The second run returns the date and a code from the list. The case passes, so that edit stays. A side-by-side demo of a different letter is not consulted. The recorded fail and the later pass are the decision.

Illustrative example, not a production trace and not a measured result.

What goes wrong

  • The prompt is polished until a demo looks right, and only then is a pass rule written to match what the demo already did, so the case cannot fail.
  • The date check fails, the known-code list is quietly shortened until the bad zone passes, and the edit is declared done because the rule moved.
  • No pass or fail is stored, the next edit is chosen from memory of the demo, and two people disagree about whether the zone bug is still there.

How to measure it

Store the pass rule text beside the prompt diff and the pass or fail that followed. An edit with no stored result did not follow the practice, whatever the demo suggested.

When a fail is followed by a rule edit, mark that separately from a prompt edit. Only a pass on an unchanged rule says the change did what was asked, and the note should say which of the two moved.

Further reading

How Abracadabra helps

Put the pass rule in place before the harness change, then let the before-and-after task success on that task decide whether the edit stays. A convincing demo is not the decision.

Abracadabra does not run the eval or the simulation. Search by meaning, and by tool event, for the sessions that stopped, and use that wording when you write the case. After a change, compare task success for that task and cohort with the previous period.

Request access to read this on your own agent.

See it in your own agent's conversations.

Each task, the step where it stops, and the conversations behind every count. Free during early access.