How rounds work

What your coding agent does in each step of an experiment, when it starts a new round, and when it finishes.

Beta
Experiments is in beta. It is live and you can use it today; screens, CLI flags and limits may still change. Send feedback or problems to neatlogs-support@neatlogs.com.

This page follows one experiment from the setup prompt to the final result. Your coding agent does every step. You answer its plan, approve the sign-in, and read the result. For the exact commands, see Reference for coding agents.

1. Set up the experiment

The coding agent creates the experiment with a short name and your goal. Then it prepares four parts, together called the setup:

PartWhat it isMore
CasesThe inputs both versions run, pinned to one dataset versionChoose cases
QuestionsPass/fail questions about each case runQuestions, judge, and detections
JudgeThe AI evaluator that answers the questionsQuestions, judge, and detections
DetectionsAutomatic checks for known problems, run on every case runQuestions, judge, and detections

For each part, the coding agent either reuses one that fits the goal or creates a new one, and saves the reason. While it works, the experiment page shows Setting up and a Setup list that ticks each part as it is saved.

Before it runs anything, the coding agent shows you one short plan in your coding agent's chat: the change in A and B, the cases and how many, the questions, the judge, and the detections. Say if something is wrong.

When all four parts are saved, the coding agent saves the setup. The setup is frozen: every round that uses it runs the same cases, questions, judge and detections. Changing any of them needs a new setup and a new round. While the experiment is still open, the new setup is saved in the same experiment; earlier rounds keep the setup they ran with.

2. Create a round

A round tests one idea. It has a name, a hypothesis (what B changes and why it should help), and the exact change in A and B. A is the current version; B is A plus the change.

3. Capture the code of A and B

So you can see exactly what changed, the coding agent saves the relevant source files of each version:

  1. A's files, before it edits anything.
  2. Then it makes the change.
  3. B's files, the same file paths, after the edit.

It selects only the agent, prompt and tool files the change touches, never secrets or the whole repository. In a clean Git checkout it also links the commit and branch. On the round, select View baseline code for A and View change for B to see the difference.

4. Run A, then B

Each version runs every case through your real agent, with its own tools and conversation history. A runs first, then B. Each case run is recorded as a trace. Both versions use the same cases, trials, questions and judge.

If B fails and A succeeded, A's run is kept and only B is resumed or run again. A is never run again just to make the page look even.

5. Grade and check

The judge grades each case run against the questions. Then the detections check each run. Both happen after each version's run; the page shows Judging and then Running detections.

6. Compare and record the result

When every case run is graded and every check has finished, the coding agent compares A and B and records the round's result:

  • the verdict: B wins, Keep A, Tie or Inconclusive;
  • the outcome: Goal met, Goal not met or Tradeoff, or incomplete;
  • the reasoning: What changed, What we saw and Next;
  • the next step: another round, or finish.

neatlogs grades, checks and measures, but it does not pick the winner: your coding agent does, and neatlogs refuses a result while any grade or detection result is missing. See How a round is judged for a worked round.

A round that could not finish (for example because grading stopped) is recorded as incomplete with the verdict Inconclusive. It can be replaced once the missing grading or detections finish. A complete result never changes.

Another round, or finish

The coding agent starts another round when the evidence points to a worthwhile next step: a refined B, or the next-best idea. Each round says why it follows the previous one.

It finishes when it has a clear answer to your goal, or when the budget is spent. Before round 1 it sets a budget of time and spend from your request. If you gave none, it runs at most 3 rounds.

A new idea, other cases, or a changed judge always means a new round in the same experiment (with a new setup when cases, questions, judge or detections change). To test something after the experiment has finished, paste the setup prompt again to start a new experiment.

What the coding agent decides on its own

When a step can't be done as planned, the coding agent does not stop to ask. It takes the best path within your instructions and records a decision: what was planned, what it chose, why, and what the result gives up. Decisions appear in the experiment's Activity, so you can see what the test did not cover. Example: recorded cases were refused, so it used input-only cases of the same topics.

It asks you only when a choice needs you, such as an unclear goal, an unclear account, or a blocker it can't route around.

What neatlogs never does

  • It does not change, deploy or roll back your code. B's code stays where your coding agent put it.
  • It does not pick a winner by itself. The verdict is your coding agent's assessment of the recorded evidence.
  • It does not run your agent. Your coding agent runs it on your machine.

Next steps

On this page

neatlogs
neatlogs

Ask neatlogs AI

Answers grounded in the docs

neatlogs

How can I help?

Ask anything about Incidents, Experiments, tracing, or the neatlogs dashboard.