Choose cases
Pick the inputs A and B both run, and know the difference between recorded and input-only cases.
A case is one input your agent handles, such as one user request or one document to summarize. An experiment's cases are saved in a dataset, and both versions run exactly the same cases. You can browse datasets under improve → datasets.
Tell your coding agent which cases to use
Say it in your goal or when the coding agent asks. If you say nothing on a new experiment, the coding agent asks you once, or picks and records the choice as a decision.
| You want | What the coding agent does |
|---|---|
| Fresh cases | Runs new, realistic requests through your current agent, checks their traces, and saves them as a new dataset. Earlier cases are not reused. |
| An existing dataset | Lists your datasets and versions, checks that the cases fit the goal, and uses the ones you named. |
| More cases in a dataset | Records the new cases and saves them as a new version of the same dataset. Earlier versions stay as they were. |
| Resume an interrupted run | Reuses the exact same dataset version, cases and settings, and finishes only the unfinished work. |
Good cases match the goal and include hard ones: follow-up questions, unclear requests, tool failures and requests your agent should refuse. Picking only easy cases makes a winner meaningless.
Recorded cases and input-only cases
| Recorded case | Input-only case | |
|---|---|---|
| Made from | A saved trace of a real run (neatlogs datasets from-traces) | Just the input (neatlogs datasets create) |
| Holds | The input plus the recorded model calls and tool results | The input only |
| In a round | A and B run it with your real agent; the recording stays with the case | A and B run it with your real agent |
Saving recorded cases can be refused with GRADING_EVIDENCE_INCOMPLETE: Neatlogs could not read everything the judge needs from the recorded model calls, even when every span looks fine. The coding agent does not retry. It creates an input-only dataset of the same cases, records a decision, and continues. See Troubleshooting.
Rules that keep the comparison fair
- One dataset version and the same case IDs for A and B. The coding agent pins them in the setup and never changes them in the middle of a comparison.
- One dataset per experiment. Any further dataset (for example the input-only copy) is created with
--standalone. - Blocked cases are left out of both versions. If a case can't be repaired, the coding agent removes it from A and B and says why.
- Other cases mean a new round. Changing the dataset needs a new setup, saved in the same experiment while it is open. Earlier rounds keep the cases they ran.
How many cases
There is no fixed minimum. More cases give a more reliable verdict: with 4 cases, one case can flip the result. Use trials (--trials) to run each case more than once when your agent's answers vary from run to run.
