A polished agent-generated PR proves the setup produced that PR once. It doesn't tell you whether the next attempt will be acceptable, need rework, or fail to finish.

A comparison of favorite runs hides that distinction. A model, an instruction file, or a new reviewer skill looks convincing after the awkward attempts disappear from the screenshot.

Evaluate the setup you intend to use, including its failures. Otherwise you're selecting for a retry policy you haven't written down.

Name the outcome before counting it

MergeReady-Bench makes the gap concrete: across 50 tasks from 20 repositories and 900 attempts, it reports 400 solved attempts but 172 merge-ready attempts.

Those labels have specific meanings:

  • Solved: the hidden behavior tests and the repository's existing tests pass.
  • Merge-ready: solved, every additional repository code check passes, and the code-review judge has no requests.
  • Trustworthy: the safe-process and honest-report judges both award full marks, covering verification obligations, workspace behavior and supported claims.

Trustworthy is a separate axis. An agent can report an unsuccessful attempt accurately. A working patch can come with an unsupported success claim.

The review threshold matters too. In this benchmark, even a minor request fails merge-readiness. Allowing the judge's intermediate score changes both the counts and the ordering of agents. A missing changelog entry and a broken fix should not become indistinguishable red badges in your team's report.

Keep the reasons visible. And call the result judge-defined merge-readiness, not confirmed maintainer acceptance.

“At least once” answers a different question

The benchmark's top agent was merge-ready at least once on 20 of the 50 tasks. It was merge-ready on all three attempts on only 6.

Both counts are useful. Neither replaces the other.

At-least-once performance matters if your workflow generates several candidates and pays someone to choose among them. Every-run performance matters when you expect to delegate a task without repeatedly rescuing it. Those workflows have different costs and review requirements.

For each setup, keep per-attempt outcomes beside task-level counts: how many tasks succeeded at least once, and how many succeeded on every scheduled attempt?

The paper's three runs expose a distinction; they don't establish a universal repeat count or predict your next task's probability of success.

Freeze the work and the standard

Repository-specific evaluation starts with recognizable work. A merged PR can supply a task request, a pre-fix starting state and evidence of intended behavior. It should not supply an exact diff the agent must reproduce.

RELAI Agent Eval Loop documents this workflow: reconstruct tasks from merged PRs, validate and freeze them before scoring, obtain human sign-off, and draft review standards from repository instructions, contribution guides and review comments.

That is a useful starting structure. It isn't independent validation of the benchmark or a guarantee that an automated judge understands your maintainers.

Before comparing setups, have a maintainer inspect the task and rubric. Check that the hidden tests accept the merged fix and a reasonable alternative, while rejecting the base and known-wrong changes. Then compare a sample of judge labels with the maintainer's own ratings. Investigate disagreements before treating the score as a decision rule.

Also inspect what the agent can reach. Checking out an old commit doesn't hide a later fix if it remains accessible through Git objects, remotes, external tickets or network tools. A historical worktree alone isn't an answer-isolation boundary.

Approve and freeze these inputs before the comparison. If the task or rubric needs repair, record the change and repeat the affected comparison under the repaired version.

One frontend task, three visible attempts

Consider a proposed task: closing a dialog restores keyboard focus to the element that opened it.

First agree on the expected close paths and the relevant keyboard behavior. Check the behavior through the component's public interface; don't grade whether the patch matches one maintainer's implementation.

Here is an unfilled pilot scorecard. These are planned attempts, not experiment results.

Attempt Task success Repository checks and review Process and report Failure class
1 Not run Not run Not run Unknown
2 Not run Not run Not run Unknown
3 Not run Not run Not run Unknown

For every attempt, preserve the patch, check results, judge requests and final report. Record task success separately from process/report judgments. Retain individual check failures and review requests rather than only their combined badge.

Keep the task suite, starting environment and dependencies fixed. Pin the model, harness and instruction versions, budget, and judge/rubric configuration. Start independent sessions without carrying over a failed attempt's transcript or slipping an improved instruction into run two. A changed setup belongs in a separate comparison.

Decide the denominator and retry policy in advance. Show every scheduled attempt, including setup and provider failures. You can distinguish infrastructure failures from task failures and report an evaluable subset, but show the exclusions alongside the full schedule.

An early quit belongs in that record. Low spend doesn't make an unsuccessful attempt an efficient success. Add actual cost and elapsed time only when collected, alongside quality and repeatability.

Calibrate the judge before tuning the agent

A grader is part of the system you're evaluating. If its labels don't reflect your acceptance standard, improving its score can mean learning to please the wrong reviewer.

MergeReady-Bench acknowledges that its judges were not validated against maintainers' ratings. The judge also uses the same model as one evaluated agent and the case-study reviewer. Repository-level slices contain only one to seven tasks. Those limits rule out treating small ranking differences as a universal buying guide.

The seven-task improvement case study was tuned and measured on the same tasks. It supports an improvement on that set, not proof of transfer to other work.

Reserve held-out tasks before tuning your own setup. Change one component, rerun the frozen comparison, and inspect the disagreements and failures—not just the aggregate gain. If the sample is too small to distinguish the setups, “we can't tell yet” is a valid result.

An agent evaluation should tell you how consistently a setup produces an acceptable change and what remains for a reviewer. Start by keeping the attempts you'd rather leave out of the demo.

Source notes

The paper and tool share a research/project context. The dialog workflow and scorecard are proposals. No tools were tested or measurements collected for this article.