glossary

Evals

Regression testing

Regression testing is the practice of re-running a fixed set of cases after a change to the prompt, the model, or a tool, to see which previously passing tasks now fail.

Abracadabra Team Glossary

How it works

Take the cases that already have expected outcomes and run them again after the change, on the same inputs. The question is narrow: what used to pass and now fails. For a library hold agent, a prompt edit meant to sound warmer can break "renew a hold" because the tool name in the new wording no longer matches the one the checker expects. The re-run shows that case in the fail list. A fresh demo of a different question would not.

Read the flips before declaring the change safe. Separate a tool rename, which fails many cases for one mechanical reason, from a behaviour change that fails one task. Re-run the whole fixed set, not only the cases that failed last time. A case that was green is the one a regression is supposed to catch. If the expected outcome changed in the same edit, you are not seeing a regression. You are seeing a new test.

A worked example

Renewing a hold at a library

The library set has a case whose input is "Please renew my hold on the kiln-building book" and whose expected outcome is a successful renew call plus a reply that names the new pickup date from the tool. Last week's prompt passed it. The new prompt, written to be warmer, tells the person the hold is renewed but never calls the renew tool, and it invents a pickup date of Friday. The re-run marks that case as a fail and leaves the unrelated "where is my book" cases green. The break is specific. The change does not ship until the renew case passes again on the same input, with the tool called and the date taken from the tool result.

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

What goes wrong

  • Only last week's failures are re-run, the renew case was green, and the warmer prompt breaks it in production because nobody asked the suite about cases that used to pass.
  • The expected pickup wording is edited in the same change as the prompt, both diffs land together, and a red case is blamed on the model when the test itself moved.
  • A renamed tool fails every case at once, the list is treated as thirty separate product bugs, and the one mechanical break is buried under a pile of identical red rows.

How to measure it

After each change, record which cases flipped from pass to fail and which flipped the other way, against an unchanged set. The pass-to-fail list is the regression.

Group those flips by cause before counting them as many bugs. A single tool rename should show up as one cause with many rows, not as a collapse of the whole agent, and the note should name that cause and the set version.

Further reading

How Abracadabra helps

After a change, open the conversations behind any drop in task success and see whether they match a case that used to pass. That pairing shows what the re-run should have caught.

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.