glossary

Experiments

Baseline

A baseline is the reference version of an agent, usually the one already in production, against which a candidate prompt, model or tool is compared so a result has a fixed point rather than a loose claim of improvement.

Abracadabra Team Glossary

How it works

The baseline is the version a candidate is compared with. For invoice coding, that is the production prompt, model and tool list, pinned, on a stated set of invoices. Better means better than that, on a metric named in advance, not better than a memory of how the agent felt last quarter. Save the baseline the way you save a prompt version: an id, the text, the model, the tools, and the window of tasks it was measured on. A candidate that cannot be run on that same window is not in a comparison.

Do not move the baseline because the new version looks strong, and do not pick a broken week unless the question is recovery from that week. In an A/B test, version A is a baseline that stays live. In an offline eval, the baseline is a frozen run. The word names the reference, not the winner. A result with no saved reference cannot be rerun.

A worked example

Invoice coding against the production agent

Example, not a measured result.
Accounts agent coding supplier invoices to a ledger.
Baseline, pinned: prompt invoices-v2, model M, tool list T, on the March invoices, 400 of them.
That run coded 300 of the 400 without a human correction. The id of this run is stored.
The candidate changes only the prompt, to invoices-v3, and is run on the same 400 invoices.
In this example it codes 330 without a correction.
The comparison is v3 against the stored v2 run,
not against a colleague’s memory of February.
February is not the baseline. March, with the saved body, is.

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

What goes wrong

  • The baseline week is one where the tool was already broken. The candidate “wins” by coding invoices the broken tool dropped. The gain is recovery from an outage, and it is reported as a better prompt.
  • The candidate is scored on this month’s invoices and the baseline on last month’s, with a different supplier mix. The gap is then partly the work, not the version, and there is no shared window to rerun.
  • The reference is a sentence in a ticket: “the old one was fine”. No prompt body, no model, no tool list, no invoice window. A later reader cannot rebuild the comparison, so the baseline was never saved.

How to measure it

Store the baseline as an id plus body, model, tools and the task window. Report the candidate as a difference against that id on a metric chosen before the run, on the same window.

If the window or the cohort differs, say so in the result and do not call it the baseline comparison. When version A of a live test is the baseline, keep it pinned for the length of the test rather than editing it in place.

Further reading

How Abracadabra helps

Compare task success for that task and cohort against the saved baseline period, and open the conversations that account for a drop or a gain before treating the candidate as better.

Experimentation, canary releases and guarded rollouts are in early access. Today, compare task success before and after a change on the same task and cohort, and open the conversations behind a drop.

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.