Manuscript Offprint
arXiv:2610.38610Repairs for Whom? Evaluator-Executor Mismatch in Selecting Repairs for Failed LLM Agents
Abstract
When an LLM agent fails, repair methods choose which action to replace and what to put in its place. They often score candidate repairs with greedy replay, a stronger model, an environment oracle, or a judge that reads the failed log. We ask whether these evaluators pick repairs that help the agent that will actually execute them. Holding failed trajectories and candidate single-step repairs fixed, we label every candidate with independent rollouts of the deployed policy and measure how much deployment value each evaluator's choice loses. On failures not screened for repair value, pre-specified tests show that greedy replay loses 0.08–0.13 in expected net success gain in ALFWorld and 0.06–0.13 in net reward in WebShop, relative to selection with the deployed agent's own rollouts. At an equal rollout budget, selecting repairs for Qwen2.5-7B with Qwen2.5-14B rollouts loses 0.25 in ALFWorld and 0.07 in WebShop, twenty 14B rollouts per candidate are worth no more than two of the 7B agent's own, and fresh rollouts confirm that the two models prefer opposite repairs on selected disagreement cases. Between similar-sized models from different families, the losses appear in both directions in both environments (0.07–0.17). The scoring executor also changes repair-location labels and method rankings. Repairs should be verified with the executor that will run them, and repair labels should name their executor.
1. Introduction
LLM agents fail in long, multi-step interactions, and a growing line of work analyzes failed trajectories to find out what went wrong and how to fix it (Zhang et al., 2025b;a; Zhu et al., 2026a; Ma et al., 2026; Shah, 2026; Bonagiri et al., 2026; Zhu et al., 2026c). Some methods identify the step

Figure 1. Which repair is best depends on who executes it. One failed ALFWorld trajectory of the deployed Qwen2.5-7B agent; each point is one of 18 candidate repairs at three steps, placed by its net gain (change in success probability over keeping the original action) when the 7B agent (30 rollouts per branch, horizontal) or Qwen2.5-14B (10 rollouts, vertical) executes the rest. The same action, going to the fridge, is the 7B agent's best repair at step 0 but the 14B model's at step 20; at step 0 the 14B model already succeeds without help, so the repair gains it nothing. Qwen3.8-flash succeeds from every branch (all net gains 0). An illustrative case from a screened pool.
at which an error was made or the agent responsible for it. Others choose a repair—a step to change and an action to put there—or define their labels by which counterfactual correction would have turned the failure into a success (Zhang et al., 2025a; Ma et al., 2026; Shah, 2026; Bonagiri et al., 2026). This paper is about the second decision. Which repair is best is a counterfactual about the rest of the episode, and therefore depends on who executes that rest (Figure 1).
In practice, the executor imagined during evaluation is often not the agent that will run the repair. Deterministic replay is attractive for reproducibility; oracles and planners check whether the task is still solvable; verification relies on a handful of rollouts, for example accepting an intervention when two of three replays succeed (Ma et al., 2026); corrections are proposed and validated by a stronger model with access to the ground truth (Zhang et al., 2025a); and LLM judges read the log and name the decisive step (Zhang et al., 2025b). Each of these substitutes an evaluator for the deployed executor, implicitly assuming that the repair that
¹Independent Researcher ²South China University of Technology.
looks best to the evaluator is also best for the agent that will execute it.
That a repair's value depends on the executing policy is unsurprising in principle: value functions are policy-dependent, and step-level Monte-Carlo labels are known to depend on the policy that completes them (Xiong et al., 2024; Choudhury, 2025; Meng, 2026). But a different value estimate need not change a decision: two evaluators can disagree on every candidate's value yet select the same repair. What a repair method incurs is decision regret—deployment value lost by the repair it actually selects—and whether, and how much, mismatched evaluators incur it in practice is not known.
We measure this regret directly. Our protocol holds fixed the failed trajectories of a deployed agent and a set of candidate single-step repairs, estimates every candidate's net gain for the deployed agent from rollouts that no selection uses, and compares each evaluator's choice with matched selection, which uses the deployed agent's own rollouts. We apply it to a gridworld, ALFWorld (Shridhar et al., 2021), and WebShop (Yao et al., 2022), with two deployed agents whose failures we repair (Qwen2.5-7B-Instruct and Llama-3.1-8B-Instruct) and failure pools that were not screened for repair value, under tests pre-specified in a dated analysis plan; stronger models such as Qwen2.5-14B-Instruct serve only as substitute executors.
On the unscreened pools, greedy replay of the deployed agent loses 0.08–0.13 in success probability in ALFWorld and 0.06–0.13 in reward in WebShop, and choosing with five rollouts per candidate from Qwen2.5-14B instead of the deployed 7B agent loses 0.25 in ALFWorld and 0.07 in WebShop; between Qwen2.5-7B and Llama-3.1-8B the loss is present in both directions in both environments, with each model selecting repairs for the other on the other's own failures. Screened pools, in which we compare many more evaluators, show the same pattern for environment oracles, published verification rules, and LLM judges (Section 4).
More rollouts of a substitute executor close the gap slowly: twenty 14B rollouts per candidate select repairs worth about as much to the 7B agent as one of its own in ALFWorld, and less than two in WebShop. Fresh rollouts confirm that the 7B and 14B models prefer opposite repairs on selected disagreement cases, whereas Llama mainly fails to separate the repairs the 7B agent needs (Section 5). The executor that scores the counterfactuals changes where a repair-location label points and which selection method a benchmark ranks first (Section 6).
A few rollouts of the deployed agent per candidate recover most of the loss; we delineate when this verification is cheap and when the bottleneck is the candidate set instead (Section 7). Our contributions are a measurement protocol for
repair selection under evaluator–executor mismatch (fixed candidates, independent deployed-policy labels, cross-fitted selection loss, pre-specified tests); evidence across three environments and two deployed agents, including fresh-rollout evidence of genuine preference reversals; and the consequences for repair labels, benchmarks, and low-cost verification. We release code, trajectories, all rollout outcomes, and the analysis plan.¹
We use the net gain rather than the post-repair success probability as the primary objective because the original action can itself succeed on a rerun, and a repair should be credited only for the success it adds. Across positions the baselines differ, so the two objectives can rank repairs differently; we report the post-repair objective in Section C.
The repair will be executed by the deployed executor , which in our experiments is the policy that produced the failure. Given the candidate set of a trajectory, an evaluator assigns each candidate a score and selects ; ties are broken uniformly at random, and we average over them. The deployment value of this choice is . An evaluator can depart from the deployed executor in two distinct ways (Table 1). It can change the target, estimating a different quantity than : the success of greedy decoding, the solvability of the task, the success of another model, or a judge's opinion. Or it can keep the target but cut the budget, estimating from a handful of rollouts. We report the two separately, so that “more samples help” is not mistaken for evidence of mismatch.
As the reference we use matched selection , which estimates for every candidate from the deployed executor's
¹https://github.com/lyj20071013/repairs-for-whom
Table 1. Evaluators compared against matched selection. Target: the evaluator estimates a different quantity than the deployed executor's net gain. Budget: same target, fewer samples or a decision rule applied to the deployed executor's own rollouts. The published decision rules re-implement only the verification step of each method within our fixed-candidate protocol; they are not full reproductions.
| Evaluator | Practice it stands for | Departs in |
|---|---|---|
| Deployed executor, 1–5 roll-outs | few-rollout verification | budget |
| Same model at temperature 0.3 | close decoding proxy | target |
| Greedy replay (temperature 0) | deterministic replay | target |
| Solvability oracle | oracle / planner checks | target |
| Oracle, ties broken by slack | strongest environment signal | target |
| Planner action at earliest position | planner-based repair | target |
| 2-of-3 acceptance (Ma et al., 2026) | intervention verification | budget |
| Single-replay flip (Bonagiri et al., 2026) | counterfactual repair | budget |
| Earliest single success (Zhang et al., 2025a) | earliest sufficient step | budget |
| Latest significant step (Shah, 2026) | point of commitment | budget |
| Other models' rollouts (14B, Llama, flash) | stronger or different model | target |
| LLM judge (log only / informed) | judge-based attribution | target |
own rollouts. The selection loss of evaluator is
where both deployment values are estimated from rollouts that neither selection has seen. Matched selection is itself a finite-sample procedure, not the true best repair, so compares two selection procedures and can be negative. Because both are scored on the same independent rollouts, the comparison needs no validation-set maximum and is free of the winner's curse. As a positive control, matched selection must beat random selection by more than our margin ; otherwise the candidates offer too little selection gain for a small loss to be informative, and we would mark the pool as uninformative.
3. Experimental Setup
We use three text environments in which an episode can be restored exactly to any intermediate history by replaying its action prefix (verified across instances and processes). The gridworld is a fully observed world: the agent must pick up a key, open a locked door, pick up the gem behind it, and return to the start within 30 steps, and a trap ends the episode when stepped on. We compute exactly whether the task is still solvable from any history ()
and how many steps of slack remain; stepping on the trap or wasting too many steps creates an irreversible point, after which no action can succeed. ALFWorld (Shridhar et al., 2021) is a partially observed household environment with a 50-step budget, in which the contents of closed containers are unknown until opened. It has no irreversible actions, so every failure is an exhausted budget. A Fast Downward planner (Helmert, 2006) with access to the full state gives a plan length , from which we define solvability and slack ; we exclude the two-object task type, on which the 7B agent almost never succeeds. WebShop (Yao et al., 2022) is a simulated online store: the agent searches, opens products, selects options, and buys, and the purchase ends the episode with a reward in that scores it against the instruction. We use the original code with its 100,000-product configuration, the 1,021 human-written instructions on those products, BM25 search (Lin et al., 2021), and a 25-step budget. Because rollouts rarely reach full reward, the primary objective in WebShop, fixed before any formal run, is reward; success (reward 1) is a secondary readout (Section F).
The deployed agents, whose failures we repair and whose success defines deployment value, are Qwen2.5-7B-Instruct (Qwen et al., 2025) and, on the unscreened pools, Llama-3.1-8B-Instruct (Grattafiori et al., 2024), a model of similar size from another family. Both are served with vLLM (Kwon et al., 2023) at temperature 0.7 and top- 0.95, with a separate random seed for every request. At each step the agent writes a short thought followed by one action. The prompt contains the task, the current observation, the admissible actions (ALFWorld and WebShop), and the history of actions and environment feedback; earlier thoughts are not kept, so a substituted action never contradicts stale reasoning, and an inadmissible answer is re-asked up to twice without consuming a step. Other executors—Qwen2.5-14B-Instruct, Qwen3.8-flash (Qiu et al., 2026) (API, without reasoning), and each deployed model on the other's pool—use exactly the same prompt, history protocol, decoding parameters, and action parsing. The LLM judge is Qwen3.8-flash with reasoning: it reads the trajectory and the candidate list, is told which model will execute the repair, and names one candidate.
Table 2 lists all pools. Each unscreened pool takes the first 60 failures of fresh episodes in collection order without looking at any repair signal (in WebShop, a failure is a reward below 1). “Unscreened” means not screened by estimated repair value: the pools still exclude ALFWorld’s two-object task, and repairs are placed only at positions that leave room to recover (at least five steps of planner slack in ALFWorld, at least five remaining steps in WebShop); no failure lacked such a position. The screened pools, collected first, keep only failures in which some single-step repair helps, according to screening rollouts that are never reused:
Table 2. Unscreened: the first failures of fresh episodes, not screened by repair value. Screened: failures in which screening rollouts showed some alternative helping. Candidates (mean per position): L, two proposals from each of three LLMs; P, privileged action (the planner in ALFWorld); R, random action; C, every clickable element. Rollouts per stochastic branch for each executor, plus one greedy rollout each; in the gridworld, also 20 rollouts of the 7B agent at temperature 0.3.
| Pool (deployed) | Failures | Candidates | Rollouts per branch |
|---|---|---|---|
| Unscreened (primary) | |||
| ALFWorld, 7B | 60/82 | L, P, R (6.1) | 7B 10, 14B 20, Llama 10 |
| ALFWorld, Llama | 60/109 | L, P, R (6.0) | Llama 10, 7B 10 |
| WebShop, 7B | 60/72 | C, L, P, R (11.5) | 7B 10, 14B 20, Llama 10 |
| WebShop, Llama | 60/86 | C, L, P, R (10.1) | Llama 10, 7B 10 |
| Screened (controlled comparisons) | |||
| Gridworld, 7B | 34/107 | all legal (6) | 7B 40, 14B 10, flash 10 |
| ALFWorld, 7B | 30/78 | P, R (6) | 7B 30, 14B 10, flash 10 |
in the gridworld, 34 of the 107 failures by the trap or by timeout on the way back with the gem, in which some alternative at the irreversible point succeeded in at least 3 of 10 rollouts; in ALFWorld, 30 drawn at random from the 78 of 94 failures in which some alternative beat the original action by at least two successes in four rollouts each. We use the screened pools as a controlled setting in which to compare many evaluators and to analyze mechanisms.
Positions are fixed before candidates are generated. In the gridworld we intervene at the irreversible point and at three earlier solvable positions, with all six legal alternatives as candidates. In ALFWorld and WebShop, eligible positions are split into early, middle, and late thirds and one position is drawn from each. Screened ALFWorld uses the planner's next action plus random admissible commands. In the unscreened pools, each position's candidates are the union of two alternatives from each of three LLMs that read the task, the full failed log, and the admissible actions (the deployed model, Qwen3.8-flash, and Qwen2.5-14B on the 7B ALF-World pool or else the other deployed model), a privileged action computed from the hidden state (ALFWorld: the planner's next action; WebShop: the next action toward the target product and its options), and one random admissible action; in WebShop, whose pages offer a bounded set of clickable elements, we also add every clickable alternative. Privileged and exhaustive candidates keep the candidate sets from reflecting any single proposer's preferences.
The unit of analysis is the trajectory. Matched selection is cross-fitted: candidates are selected on one fold of the deployed agent's rollouts and scored on the other (in the unscreened pools, five of ten rollouts select and five evaluate, averaged over 50 random splits); any evaluator that uses the deployed agent's rollouts follows the same split, and all other evaluators are scored on all of the deployed agent's evaluation rollouts. Comparisons with other executors use the same number of rollouts per candidate on both sides. We report 90% intervals from 2,000 bootstrap

Figure 2. Deployment value lost by substitute evaluators. Each row is a paired difference: the deployed agent's value of repairs selected with its own rollouts minus that of the substitute's, both scored on its held-out rollouts. Unscreened pools (every pre-specified primary test, all Holm-confirmed): own selection with five rollouts per candidate versus greedy replay (diamonds) or five rollouts of another model (circles); nonparametric 90% intervals. Screened pools: ten rollouts per candidate on both sides; bias-corrected 90% intervals. ALFWorld and gridworld values are success probabilities, WebShop values rewards.
replicates that resample trajectories, and one-sided tests at , Holm-corrected within each pre-specified family. On the unscreened pools the bootstrap is nonparametric (percentile intervals). The screened pools were analyzed with a two-level bootstrap that also redraws each branch's success count from a shrunken binomial; the shrinkage shifts the bootstrap distribution, so we report intervals re-centered on the point estimate, which lead to the same decisions as the pre-specified uncentered ones (Section B). Designs, primary tests, decision thresholds, and predictions were pre-specified in a dated analysis plan before the corresponding data were collected; analyses added later are labeled exploratory, and Section A gives the status of every analysis.
4. Substitute Evaluators Choose Worse Repairs
Unscreened failures. Figure 2 shows every primary test on the unscreened pools. The positive control passes in every pool, and all ten pre-specified primary tests are confirmed after Holm correction (Table 5). Greedy replay of the deployed agent loses 0.08–0.13 in ALFWorld and 0.06–0.13 in WebShop. The largest loss comes from a stronger model: selecting with Qwen2.5-14B's rollouts instead of the 7B agent's own, five per candidate on both sides, loses 0.25 [0.19, 0.32] in ALFWorld, but 0.07 [0.05, 0.10] in WebShop, no more than Llama's selections lose there. Between the similar-sized Qwen and Llama models the loss is
Table 3. Selection loss on the screened pools, relative to matched selection with all of the deployed agent's rollouts (20 per fold in the gridworld, 15 in ALFWorld; deployment net gain 0.662 and 0.851). Larger is worse; bias-corrected 90% intervals. The first block keeps the target and changes the budget or the decision rule; the published rules use the deployed agent's own rollouts, so their losses come from the rule, not from mismatch. The second block changes the target. Other executors are compared at equal budget in Figure 2.
| Evaluator | Gridworld (34) | ALFWorld (30) |
|---|---|---|
| Random (pos. control) | 0.66 [0.57, 0.74] | 0.75 [0.69, 0.81] |
| Same target, smaller budget or another rule | ||
| Deployed, 3 rollouts | 0.11 [0.06, 0.16] | 0.07 [0.03, 0.11] |
| Deployed, 10 rollouts | 0.01 [-0.02, 0.04] | 0.02 [-0.02, 0.05] |
| 2-of-3 acceptance | 0.32 [0.25, 0.39] | 0.23 [0.16, 0.30] |
| Single-replay flip | 0.43 [0.36, 0.50] | 0.28 [0.22, 0.35] |
| Earliest single success | 0.58 [0.48, 0.68] | 0.25 [0.18, 0.34] |
| Latest significant step | -0.01 [-0.04, 0.03] | 0.19 [0.11, 0.28] |
| Different target | ||
| Same model, temp. 0.3 | 0.03 [-0.03, 0.09] | — |
| Greedy replay | 0.23 [0.15, 0.30] | 0.18 [0.10, 0.25] |
| Solvability oracle | 0.19 [0.12, 0.26] | 0.75 [0.69, 0.81] |
| Oracle, slack tie-break | 0.04 [-0.02, 0.09] | 0.28 [0.20, 0.36] |
| Planner action, earliest | — | 0.14 [0.06, 0.23] |
| Reasoning judge | 0.06 [-0.00, 0.13] | 0.53 [0.41, 0.66] |
| without reasoning | 0.25 [0.14, 0.38] | 0.42 [0.30, 0.55] |
| informed (contents) | — | 0.19 [0.10, 0.28] |
| Deployed model as judge | 0.59 [0.48, 0.70] | 0.74 [0.64, 0.83] |
present in both directions in both environments: 0.07–0.10 in ALFWorld, and in WebShop 0.08 when Llama selects for the 7B agent and 0.17 when the 7B model selects for Llama. WebShop's losses look small only in absolute terms: matched selection gains 0.15 and 0.31 in reward on the two WebShop pools, against 0.82–0.87 in success probability in ALFWorld, so the substitutes forgo 41–55% of the attainable gain.
The losses do not come from the privileged candidates: restricted to candidates proposed by at least one LLM (exploratory), greedy replay loses 0.11 [0.07, 0.16] and 14B selection 0.20 [0.14, 0.27] in ALFWorld, and the WebShop losses are 0.04–0.13. The qualitative conclusions persist under the post-repair success objective in ALFWorld (greedy 0.10, 14B 0.29) and under WebShop's secondary success readout, which is weaker (0.03–0.09; Sections C and F). On 100 unscreened gridworld failures the losses are smaller (greedy replay 0.05, solvability oracle 0.07), because many such failures admit no useful single-step repair (Section H).
Screened failures: many evaluators. Table 3 compares a wider range of evaluators on the screened pools. With the target held fixed, a few rollouts suffice: three per candidate lose 0.11 in the gridworld and 0.07 in ALFWorld, ten are within noise of matched selection, and the same model at temperature 0.3 stays within our 0.10 margin, so not every
deviation from the deployed executor hurts. The substantial losses come from evaluators that estimate something other than the deployed agent's success. At equal budgets of ten rollouts per candidate, other executors lose 0.29 [0.19, 0.40] (14B) and 0.63 [0.55, 0.70] (Qwen3.8-flash) in ALFWorld and 0.06 [0.02, 0.11] and 0.16 [0.10, 0.23] in the gridworld (Figure 2); on these pools the most capable executor lost the most, although in WebShop the 14B model loses no more than Llama.
Greedy replay. Deterministic replay loses 0.23 in the gridworld and 0.18 in ALFWorld. Part of the reason is that greedy decoding repeats its own mistakes (after bumping into a wall or a closed door it repeats the action 39% of the time, against 33% under sampling); in a pre-specified follow-up, switching to sampling whenever the greedy agent revisits a state recovers 0.10 of the 0.23 gridworld loss. The remainder reflects which branches the deterministic policy happens to solve, which differs from the stochastic policy that will actually run.
Environment signals know what, not where. Solvability loses 0.19 in the gridworld: at the irreversible point several actions usually restore solvability, and choosing among them at random rather than with the deployed agent's rollouts loses 0.31 [0.22, 0.40]. In ALFWorld every candidate branch leaves the task solvable, so solvability equals random selection. Breaking ties by slack nearly closes the gap in the gridworld (0.04) but not in ALFWorld (0.28), and the planner's action at the earliest position still loses 0.14 (0.06 under the post-repair objective; Section C). The planner usually knows what to change—in 29 of 30 screened ALFWorld trajectories the best candidate is the planner's action—but not where the deployed agent benefits most, which depends on how the agent behaves after the intervention; across the three positions of a trajectory, the best net gain differs by 0.51 on average.
Published decision rules. Applied to the deployed agent's own rollouts, acceptance rules—two of three replays succeed (Ma et al., 2026), or a single replay flips the outcome (Bonagiri et al., 2026)—do not rank the interventions they accept, and many accepted repairs succeeded by chance (losses 0.23–0.43). The earliest position at which a single replay succeeds (Zhang et al., 2025a) loses 0.58 in the gridworld, where early single successes are often luck. The latest step with a significant effect under same-policy resampling (Shah, 2026) is nearly lossless in the gridworld, where traps make the last solvable step decisive, but loses 0.19 in ALFWorld, which has no irreversible actions.
Readers that do not execute. In the gridworld, a reasoning judge that reads the log loses only 0.06, indistinguishable from the oracle with slack tie-breaking. Removing the

Figure 3. More rollouts do not fix the executor, and preferences reverse on fresh rollouts. (a) Unscreened 7B ALFWorld pool: net gain for the 7B agent of repairs selected with k rollouts per candidate from each executor (the deployed agent's own selection is cross-fitted, hence ); bands and bars: 90% intervals. (b) Fresh rollouts (30 per branch and executor) on the 37 trajectories in which the 7B and 14B models' best candidates differed in earlier rollouts ( : 7B's, : 14B's) and on 15 control trajectories in which they agreed ( : 7B's second best); small marks are trajectories, large marks group means with 90% intervals. Shaded: opposite preferences; dashed: equal preference.
executor description leaves 26 of 34 choices unchanged, whereas disabling reasoning costs 0.19 [0.10, 0.31]; this is consistent with the judge relying on information about the environment rather than about the executor. In ALFWorld, where the log does not reveal the contents of closed containers, the judge loses 0.53. Given the initial contents of every container, it improves by 0.35 [0.23, 0.46] and picks the planner's action in all 30 trajectories, but still loses 0.19 [0.10, 0.28] because it chooses the best position in only 47% of them (see also Section J). In an exploratory study on the unscreened 7B pool, one human annotator who read each failed log and chose among the same candidates gained 0.34 [0.25, 0.42]: more than random selection (by 0.22), but less than half of matched selection (0.82) and below greedy replay (0.69) (Section G).
5. More Samples, or Different Preferences?
A substitute executor's choices could be worse merely because they are noisy estimates of the deployed agent's values, in which case more of its rollouts would close the gap; or because the two executors benefit from different repairs.
More substitute rollouts help slowly. Figure 3a shows, on the unscreened 7B ALFWorld pool, the deployment value of repairs selected with k rollouts per candidate. The 14B model's selections improve from 0.38 with one rollout to 0.63 [0.56, 0.71] with twenty, about the value of selecting with a single deployed-agent rollout per candidate (0.63), and below the deployed agent's greedy replay (0.69) or five of its rollouts (0.82). On the same A800 GPU, twenty 14B rollouts per candidate cost 31–39 times the GPU time of
that one-rollout selection and six to eight times that of the five-rollout one. Llama's selections come closer but need ten rollouts per candidate to match two of the 7B agent's own (0.78 versus 0.77). In WebShop, twenty 14B rollouts and ten Llama rollouts per candidate select repairs worth 0.091 and 0.080 in reward to the 7B agent, between one and two of its own (0.072 and 0.106), each at the GPU time of about 21 7B rollouts; ten 7B rollouts select repairs for Llama worth about two of Llama's own (0.20 versus 0.21; Section D). More rollouts of the wrong executor are a poor substitute for a few of the right one.
Saturation does not explain all of the loss. A capable executor may already succeed where the deployed agent needs help, leaving its net gains near zero exactly where they matter. In screened ALFWorld, Qwen3.8-flash succeeds without any repair at the position of the 7B agent's best repair in 77% of trajectories, so its rankings carry little information there (a post-hoc description). For the 14B model we pre-specified a stratified check on the unscreened pool: in the 41 of 60 trajectories in which the 14B model, keeping the original action at the position of the 7B agent's best repair, succeeds less than half the time, the equal-budget loss is still 0.17 [0.11, 0.24] (0.54 in the 10 trajectories where it succeeds at least 90% of the time). Saturation increases the loss but is not sufficient to explain it. Llama falls in the unsaturated stratum in 55 of 60 trajectories, with a loss of 0.06 [0.03, 0.10].
Fresh rollouts confirm opposite preferences. Because a disagreement in the original rollouts could itself be selection noise, we pre-specified a check that uses only fresh rollouts on every unscreened 7B trajectory in which the 7B and 14B models' best candidates differed (37 trajectories; Figure 3b). With the 7B agent's earlier best candidate, the 14B model's, and the fresh preference of executor for , the 7B agent still prefers its own choice ( [0.23, 0.44]) and the 14B model still prefers its own ( [-0.25, -0.11]). The two preferences are individually significant and opposite in 8 trajectories and never significantly aligned. In the 15 control trajectories, is 0.01 [-0.08, 0.11], against 0.51 [0.38, 0.64] in the contested ones. Because the contested trajectories were selected with earlier rollouts, this shows that genuine reversals exist, not how common they are.
The analogous check for the 7B–Llama pair (34 contested 7B trajectories, run because its pre-specified trigger was met) replicates the 7B agent's preference (0.18 [0.10, 0.27]) but not Llama's (-0.02 [-0.07, 0.03]). Llama shows no stable opposing preference on average (two trajectories do; Table 8): its loss comes mainly from failing to separate the repairs the 7B agent needs. Two pre-specified cross-pool comparisons agree: Llama's selections cost the 7B agent on both ALFWorld pools (0.07 on the 7B pool, 0.10 on Llama's), whereas the 7B model's selections cost Llama only on Llama's own failures (0.10, against 0.02 [−0.00, 0.04]).
6. Consequences for Repair Labels and Benchmarks
Several failure-attribution benchmarks define their labels by counterfactual replay with a particular model—the earliest step whose correction suffices for success, or the step at which an injected error becomes decisive (Zhang et al., 2025a; Liu et al., 2026; Zhu et al., 2026c). Such labels measure a repair's value for the replaying executor. We ask how much they, and method rankings built on them, depend on that executor (exploratory; screened pools).
For each trajectory, let the repair-location label be the position of the candidate with the highest net gain—where an intervention helps most, not necessarily where the error was made. In ALFWorld, the position chosen by the 14B model's rollouts agrees with the deployed agent's in 32% [26, 38] of trajectories and Qwen3.8-flash's in 29% [25, 34], against 62% [51, 72] between two disjoint halves of the deployed agent's own rollouts; the last eligible position and the reasoning judge's choice agree in 35%. In the gridworld, where the trap fixes the position, the labels agree as often as the deployed agent agrees with itself (72% versus 66%).
We scored 17 selection methods with each executor's rollouts (disjoint from those used for selection), as a benchmark would if it defined ground truth by that executor's counterfactuals. In ALFWorld, the rankings under 14B and Qwen3.8-flash scoring correlate only moderately with the ranking under the deployed agent (Kendall and 0.46; gridworld 0.77 and 0.60), and each executor ranks first the method that uses its own rollouts, which ranks 12th and 14th under 7B scoring. Such labels and rankings are legitimate measures of value for an executor, but they should state which executor they are relative to; releasing every candidate's rollout outcomes for each executor, as we do, makes the dependence checkable.
7. When Is Deployed-Agent Verification Cheap?
The direct remedy is to verify candidates with a few rollouts of the deployed agent. Here we ask when this is cheap and when it is not enough. Cost here counts the deployed-agent rollouts used for selection, not LLM or planner calls.
A few rollouts suffice when good candidates are present. Three deployed-agent rollouts per candidate lose 0.11 and 0.07 on the screened pools (relative to 20 and 15 rollouts) and 0.02 on the unscreened 7B ALFWorld pool (relative to
five), whereas greedy replay, at a third of that budget, loses 0.23, 0.18, and 0.13; in WebShop, three rollouts reach 0.13 of the 0.15 in reward that five reach (7B pool) and 0.26 of 0.31 (Llama pool).
A privileged signal helps when it knows what to change. Environment signals tend to identify what to change, and the deployed agent's rollouts reveal where. We exploit this with a screen: at each position, keep only the candidate preferred by a privileged signal (solvability with slack tie-breaking, or the planner's or privileged action), run deployed-agent rollouts on each survivor and on the original action, and select the survivor with the highest estimated net gain. Fixed on the gridworld and applied unchanged, ten rollouts per survivor come within 0.009 [0.004, 0.014] of matched selection on screened ALFWorld with 19% of its rollouts (Section E). Because the screen was motivated by an ALF-World observation, the unscreened pools provide the test: five rollouts per survivor lose 0.04 [0.00, 0.07] on the 7B pool (pre-specified prediction: below 0.05) and 0.04 on the Llama pool, whereas keeping Qwen3.8-flash's first proposal at each position instead loses 0.55 and 0.37. The screen works in ALFWorld because the planner's action is the best candidate in 86% of unscreened 7B trajectories. In WebShop the privileged action is the best candidate in only 29% and 20% of trajectories: on the 7B pool the privileged screen (0.044 [0.015, 0.075] at five rollouts) is no better than screening with Qwen3.8-flash's first proposal (0.059), and on the Llama pool it loses 0.26 [0.20, 0.32], more than greedy replay (0.13).
Without a privileged signal, candidates are the bottleneck. In a follow-up specified before running it (exploratory), an LLM both locates and proposes: Qwen3.8-flash with reasoning read each of the 60 unscreened failed 7B logs, named one step, and proposed two alternatives there; the deployed agent ran each three times, and the more successful one was applied if it succeeded at least twice (Ma et al., 2026). Scored on ten fresh rollouts per branch, the pipeline gains 0.32 [0.22, 0.40] with six rollouts per trajectory, against 0.22 [0.14, 0.30] for applying the first proposal unverified. Matched selection over the LLM-proposed candidates at three fixed positions, a different candidate set, gains 0.64 with 83 rollouts. The pipeline's gap lies mostly in its candidates: the better of its two proposals in hindsight is worth only 0.37, and the pipeline does well mainly when the LLM infers from the log where the target object is (0.63 when a proposal is the planner's action, 0.16 otherwise; post hoc). Its verification task also differs from ranking a fixed candidate pool: with two candidates at one position, one greedy replay verifies as well as three samples (0.31), because verification only has to separate clearly good from clearly bad proposals, whereas greedy replay loses 0.13 when it ranks the full candidate set (Table 10).
8. Related Work
Failure attribution and repair. Who&When (Zhang et al., 2025b) introduced identifying the agent and step responsible for a multi-agent failure; Who&When Pro (Liu et al., 2026) injects errors into successful runs, so the decisive step is defined by replay with the same system. AgentTracer (Zhang et al., 2025a) labels the earliest step whose correction, proposed by a model that sees the ground truth, suffices for success. AgentDebug (Zhu et al., 2026a) and the Agent Error Dataset (Zhu et al., 2026c) annotate root-cause errors at scale and re-execute from the critical step or compare a correction with a same-policy rerun. AgentRx (Barke et al., 2026), TrajDebug (Qi et al., 2026), and other methods (Xia et al., 2026; Nguyen-Thanh et al., 2026) localize critical steps without executing a correction. These works evaluate localization or a single correction; we label a fixed set of candidate repairs with the deployed policy's success and ask which evaluator selects the right one.
Counterfactual replay and verification. DoVer (Ma et al., 2026) accepts interventions that succeed in two of three replays; CausalFlow (Bonagiri et al., 2026) verifies counterfactual repairs by replay; Causal Agent Replay (Shah, 2026) estimates intervention effects by same-policy resampling and localizes the latest significant step; minimal repair families (Li et al., 2026a) extend replay to multi-step repairs; and Counterfactual Rollout Replay (Li et al., 2026c) forks environments, substitutes an action, and continues with the same policy to train software agents. Luan et al. (2026) show that many apparent repairs succeed by chance and must be compared against resampling, as our net-gain objective does. Closest to our setting, Zhang et al. (2026) estimate an intervention's value relative to continuing by prefix branching in ALFWorld with Qwen2.5-7B and Llama-3.1-8B, and learn oversight controllers that choose among continuing, handing over to an expert planner, and quitting, which transfer between the two base models with small regret; Vasudev et al. (2026) show that accurate failure prediction need not yield beneficial interventions. We instead select among many candidate repairs that the deployed agent itself must carry out, and measure the loss when the executor behind the evaluation differs. Zhang (2026) audits step-level credit against executed replay with the same two models without transferring labels across policies; Verified Critical Step Optimization (Li et al., 2026b) keeps an expert alternative only if the policy completes the task from it; and forked rollouts show that stitching logged trajectories miscores model switches (Gonuguntla, 2026). We quantify what is lost when the replay is real but not performed by the deployed policy.
Policy-dependent step values. Monte-Carlo step values depend on the completing policy, a fact used to train pro-
cess reward models (Wang et al., 2024; Xiong et al., 2024; Choudhury, 2025). Such models overestimate success when a smaller model completes the trajectory, which motivates calibrating them (Park et al., 2025), and BayesianPRM corrects overestimation caused by a mismatch between the data-collection and test-time policies (Qiao et al., 2026); PCCC (Meng, 2026) completes counterfactuals with a frozen reference policy and reweights toward the training policy. EASE (Xiong & Tan, 2026) shows that skill curation tuned for one executor transfers poorly to others, and Zhu et al. (2026b) find that a frozen stronger LLM's value changes agree in sign with a weaker policy's Monte-Carlo rollouts only 66–72% of the time. These works calibrate or correct value estimates; we measure what executor dependence costs when repairs are selected, and when it can be avoided cheaply.
9. Limitations and Conclusion
Our study covers two deployed agents, both open models of 7–8B parameters; three text environments, each restorable exactly to any history; and single-step repairs within fixed candidate sets. The screened pools condition on failures in which some single-step repair helps, and the unscreened pools still restrict task types and repair positions. The label and ranking analyses and the human study are exploratory. Without privileged information, the candidate set rather than verification limits what a repair pipeline gains.
Which repair is best depends on who executes it. Evaluators that substitute for the deployed executor—greedy replay, environment oracles, LLM judges, and stronger models—choose repairs that cost the deployed agent real value. More rollouts of a substitute do not close the gap: twenty per candidate from Qwen2.5-14B are worth no more than two of the 7B agent's own, and on contested cases the two models prefer opposite repairs. A few rollouts of the deployed agent recover most of the loss. Repairs should be verified with the executor that will run them, and repair labels and benchmarks should state which executor defines them.
Impact Statement
This paper studies how repairs for failed LLM agents are evaluated. Better-targeted repairs could make deployed agents more reliable, and our recommendation to verify repairs with the deployed agent could reduce the risk that fixes validated on a stronger model fail in deployment. We do not foresee specific negative societal consequences beyond those of improving LLM agents in general.
References
Barke, S., Goyal, A., Khare, A., Singh, A., Nath, S., and Bansal, C. AgentRx: Diagnosing AI agent failures from execution trajectories. In Lee, H.-Y., Dev, S., Li, J., and Elliott, D. (eds.), Findings of the Association for Computational Linguistics: EMNLP 2026, pp. 12610–12639, Budapest, Hungary, October 2026. Association for Computational Linguistics. ISBN 979-8-89176-462-0. URL https://aclanthology.org/2026.findings-emnlp.598/.
Bonagiri, A., Borkar, D., Anderias, G. J., Rafatirad, S., and Homayoun, H. CausalFlow: Causal attribution and counterfactual repair for LLM agent failures, 2026. URL https://arxiv.org/abs/2605.25338.
Choudhury, S. Process reward models for LLM agents: Practical framework and directions, 2025. URL https://arxiv.org/abs/2502.10325.
Gonuguntla, A. The replay gap: Static evaluation of model switching in LLM agents scores the wrong world, 2026. URL https://arxiv.org/abs/2608.08239.
Grattafori, A., Dubey, A., Jauhri, A., Pandey, A., Kadian, A., Al-Dahle, A., Letman, A., Mathur, A., Schelten, A., Vaughan, A., et al. The Llama 3 herd of models, 2024. URL https://arxiv.org/abs/2407.21783.
Helmert, M. The Fast Downward planning system. Journal of Artificial Intelligence Research, 26:191–246, July 2006. ISSN 1076-9757. doi: 10.1613/jair.1705. URL http://dx.doi.org/10.1613/jair.1705.
Kwon, W., Li, Z., Zhuang, S., Sheng, Y., Zheng, L., Yu, C. H., Gonzalez, J., Zhang, H., and Stoica, I. Efficient memory management for large language model serving with PagedAttention. In Proceedings of the 29th Symposium on Operating Systems Principles, SOSP '23, pp. 611–626, New York, NY, USA, 2023. Association for Computing Machinery. ISBN 9798400702297. doi: 10.1145/3600006.3613165. URL https://doi.org/10.1145/3600006.3613165.
Li, B., Song, Y., Yao, Z., and Li, T. Localizing emergent failures in agentic AI: Recovering minimal repair families via counterfactual replay, 2026a. URL https://arxiv.org/abs/2608.29228.
Li, M., Zeng, Q., Fang, T., Liang, Z., Song, L., Liu, Q., Mi, H., and Yu, D. Verified critical step optimization for LLM agents. In Liakata, M., Moreira, V. P., Zhang, J., and Jurgens, D. (eds.), Findings of the Association for Computational Linguistics: ACL 2026, pp. 39627–39639, San Diego, California, United States, July 2026b. Association for Computational Linguistics. ISBN 979-8-89176-395-1. doi: 10.18653/v1/2026.findings-acl.1974. URL https://aclanthology.org/2026.findings-acl.1974/.
Li, Y., Wang, H., Chen, X., Cao, Y., and Tang, X. Counterfactual rollout replay: Forkable environments as free process rewards for software engineering agents, 2026c. URL https://arxiv.org/abs/2609.33875.
Lin, J., Ma, X., Lin, S.-C., Yang, J.-H., Pradeep, R., and Nogueira, R. Pyserini: A Python toolkit for reproducible information retrieval research with sparse and dense representations. In Proceedings of the 44th International ACM SIGIR Conference on Research and Development in Information Retrieval, SIGIR '21, pp. 2356–2362, New York, NY, USA, 2021. Association for Computing Machinery. ISBN 9781450380379. doi: 10.1145/3404835.3463238. URL https://doi.org/10.1145/3404835.3463238.
Liu, J., Xi, H., Zhang, S., Zeng, Y., Yue, T., Wang, C., Kang, J., Wu, Q., and Wang, H. Who&When Pro: Can LLMs really attribute failures in AI agents?, 2026. URL https://arxiv.org/abs/2607.09996.
Luan, Z., Zhang, X., Hu, M., Yang, Y., Yu, J., and Chen, X. Repair or resample? rethinking failure debugging in LLM multi-agent systems, 2026. URL https://arxiv.org/abs/2608.25920.
Ma, M., Zhang, J., Yang, F., Kang, Y., Lin, Q., Rajmohan, S., and Zhang, D. DoVer: Intervention-driven auto debugging for LLM multi-agent systems, 2026. URL https://arxiv.org/abs/2512.06749.
Meng, R. Policy-conditioned counterfactual credit for verifiable reinforcement learning of long-horizon language agents, 2026. URL https://arxiv.org/abs/2606.05263.
Nguyen-Thanh, D., Fang, J., Li, B., Fang, Z., and Du, S. Can failed trajectories reveal where agents go wrong? agentic failure attribution without step-level labels, 2026. URL https://arxiv.org/abs/2610.13105.
Park, Y.-J., Greenewald, K., Alimohammadi, K., Wang, H., and Azizan, N. Know what you don't know: Uncertainty calibration of process reward models. In Belgrave, D., Zhang, C., Lin, H., Pascanu, R., Koniusz, P., Ghassemi, M., and Chen, N. (eds.), Advances in Neural Information Processing Systems, volume 38, Main Conference, pp. 38852–38895. Curran Associates, Inc., 2025. doi: 10.52202/085713-1297. URL https://proceedings.neurips.cc/paper_files/paper/2025/file/37664246a1e07e212ddacea6e5a523f2-Paper-Conference.pdf.
Qi, Y., Yin, Z., Shi, X., Peng, H., Lu, S., Liu, Y., Xuan, R., Liu, Y., Hu, Z., Wang, X., Hou, L., Xu, B., and Li, J. TRAJDEBUG: Tracing error lifecycle to identify critical failures in long-horizon agent trajectories. In Lee,
H.-Y., Dev, S., Li, J., and Elliott, D. (eds.), Findings of the Association for Computational Linguistics: EMNLP 2026, pp. 9169–9192, Budapest, Hungary, October 2026. Association for Computational Linguistics. ISBN 979-8-89176-462-0. URL https://aclanthology.org/2026.findings-emnlp.437/.
Qiao, Z., Zhou, Z., Lyu, J., Wang, P., Zhang, Q., Gao, S., and Qiu, S. Process reward modeling with reliability-and conservatism-aware bayesian belief, 2026. URL https://arxiv.org/abs/2610.23223.
Qiu, Z., Wang, Z., Li, X., Li, Y., Xu, Y., Wang, Y., Zhang, H., Men, R., Mao, B., Zhang, C., Zhou, F., Luo, H., Huang, H., Lian, H., Huang, H., Chen, H., Zhang, J., Xu, J., Wang, J., Chen, L., Wang, L., Jiang, L., Yuan, M., Sun, M., Jin, P., Zhang, S., Wang, S., Ren, X., Wang, Y., Zhang, Y., Dong, Y., Cao, Y., Ma, Y., Mao, Y., Zheng, B., and Liu, D. On the design of Qwen3.8-Next architecture: Evaluation, efficiency, and training stability, 2026. URL https://arxiv.org/abs/2608.30320.
Qwen, Yang, A., Yang, B., Zhang, B., Hui, B., Zheng, B., Yu, B., Li, C., Liu, D., Huang, F., Wei, H., Lin, H., Yang, J., Tu, J., Zhang, J., Yang, J., Yang, J., Zhou, J., Lin, J., Dang, K., Lu, K., Bao, K., Yang, K., Yu, L., Li, M., Xue, M., Zhang, P., Zhu, Q., Men, R., Lin, R., Li, T., Tang, T., Xia, T., Ren, X., Ren, X., Fan, Y., Su, Y., Zhang, Y., Wan, Y., Liu, Y., Cui, Z., Zhang, Z., and Qiu, Z. Qwen2.5 technical report, 2025. URL https://arxiv.org/abs/2412.15115.
Shah, J. Causal agent replay: Counterfactual attribution for LLM-agent failures, 2026. URL https://arxiv.org/abs/2606.08275.
Shridhar, M., Yuan, X., Cote, M.-A., Bisk, Y., Trischler, A., and Hausknecht, M. ALFWorld: Aligning Text and Embodied Environments for Interactive Learning. In International Conference on Learning Representations, 2021. URL https://mlanthology.org/iclr/2021/shridhar2021iclr-alfworld/.
Vasudev, R., Russak, M., Bikel, D., and Alshikh, W. Accurate failure prediction in agents does not imply effective failure prevention, 2026. URL https://arxiv.org/abs/2602.03338.
Wang, P., Li, L., Shao, Z., Xu, R., Dai, D., Li, Y., Chen, D., Wu, Y., and Sui, Z. Math-Shepherd: Verify and re-inforce LLMs step-by-step without human annotations. In Ku, L.-W., Martins, A., and Srikumar, V. (eds.), Proceedings of the 62nd Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers), pp. 9426–9439, Bangkok, Thailand, August 2024. Association for Computational Linguistics. doi:
10.18653/v1/2024.acl-long.510. URL https://aclanthology.org/2024.acl-long.510/.
Xia, Y., Gao, A., Quan, Y., Liu, Z., and Fang, M. Who broke the system? failure localization in LLM-based multi-agent systems, 2026. URL https://arxiv.org/abs/2607.07989.
Xiong, W., Song, Y., Zhao, X., Wu, W., Wang, X., Wang, K., Li, C., Peng, W., and Li, S. Watch every step! LLM agent learning via iterative step-level process refinement. In Al-Onaizan, Y., Bansal, M., and Chen, Y.-N. (eds.), Proceedings of the 2024 Conference on Empirical Methods in Natural Language Processing, pp. 1556–1572, Miami, Florida, USA, November 2024. Association for Computational Linguistics. doi: 10.18653/v1/2024.emnlp-main.93. URL https://aclanthology.org/2024.emnlp-main.93/.
Xiong, Z. and Tan, Q. EASE: Behavior-adaptive skill curation for self-evolving agents, 2026. URL https://arxiv.org/abs/2609.36746.
Yao, S., Chen, H., Yang, J., and Narasimhan, K. Web-Shop: Towards scalable real-world web interaction with grounded language agents. In Koyejo, S., Mohamed, S., Agarwal, A., Belgrave, D., Cho, K., and Oh, A. (eds.), Advances in Neural Information Processing Systems, volume 35, pp. 20744–20757. Curran Associates, Inc., 2022. doi: 10.52202/068431-1508. URL https://proceedings.neurips.cc/paper_files/paper/2022/file/82ad13ec01f9fe44c01cb91814fd7b8c-Paper-Conference.pdf.
Zhang, C., Wan, Z., Yu, X., Wu, J., Wen, Q., Zhou, P., Zhao, W., and Tsang, I. Calibration is not control: Intervention value for LLM-agent oversight, 2026. URL https://arxiv.org/abs/2606.21399.
Zhang, G., Wang, J., Chen, J., Zhou, W., Wang, K., and Yan, S. AgenTracer: Who is inducing failure in the LLM agentic systems?, 2025a. URL https://arxiv.org/abs/2509.03312.
Zhang, H. Credit without ground truth: Claim-matched evaluation of step-level credit with finite executed replay, 2026. URL https://arxiv.org/abs/2608.19760.
Zhang, S., Yin, M., Zhang, J., Liu, J., Han, Z., Zhang, J., Li, B., Wang, C., Wang, H., Chen, Y., and Wu, Q. Which agent causes task failures and when? On automated failure attribution of LLM multi-agent systems. In Singh, A., Fazel, M., Hsu, D., Lacoste-Julien, S., Berkenkamp, F., Maharaj, T., Wagstaff, K., and Zhu, J. (eds.), Proceedings of the 42nd International Conference on Machine Learning, volume 267 of Proceedings of Machine Learning
Research, pp. 76583–76599. PMLR, 13–19 Jul 2025b. URL https://proceedings.mlr.press/v267/zhang25cq.html.
Zhu, K., Tian, M., Li, B., Liu, Z., Yang, Y., Zhang, J., Han, P., Xie, Q., Cui, F., Zhang, W., Ma, X., Yu, X., Ramesh, G., Wu, J., Tang, X., Liu, Z., Ji, H., Lu, P., Zou, J., and You, J. AgentDebug: Where LLM agents fail and how they can learn from failures. In Workshop on Failure Modes of Agentic AI at ICML 2026, 2026a. URL https://openreview.net/forum?id=VIO4WbZuVW.
Zhu, K., Yan, W., Attia, O., Kazerouni, A., Toshev, A., and Szot, A. LLM value functions for credit assignment in agentic RL, 2026b. URL https://arxiv.org/abs/2610.15840.
Zhu, K., Ye, X., Li, Y., Qian, C., Li, B., and Ji, H. Agent error dataset: Scaling 50,000 error–diagnosis pairs for failure analysis and error-aware post-training, 2026c. URL https://arxiv.org/abs/2609.40111.
A. Status of Every Analysis
All designs, tests, thresholds, and predictions were written into an analysis plan that we maintained as a dated internal record: each entry records its date and time and what had and had not been seen when it was written, and later amendments and corrections were added as dated notes. The plan was not independently timestamped or publicly registered; we release it, in anonymized form, together with the code. Table 4 summarizes, for each analysis in the paper, whether it was specified before its data were collected, whether it used fresh failures or fresh rollouts, and how we report it. “Pre-specified”, “fresh data”, “fresh rollouts”, and “exploratory” are separate dimensions: for example, the reversal checks were pre-specified and used only fresh rollouts, but chose their cases with earlier rollouts.
B. Statistical Details
For every evaluator and trajectory we compute the deployment net gain of the selected repair from deployed-agent rollouts that the selection did not use. Ties in any selection rule are broken uniformly at random in expectation. Failed API calls of Qwen3.8-flash are retried and never counted as policy failures. One-sided p-values are with .
Unscreened pools. The bootstrap resamples trajectories with replacement and recomputes every selection and evaluation (nonparametric percentile intervals). Matched selection selects with five of each branch’s ten rollouts and evaluates with the other five, averaged over 50 random splits. Random numbers come from one seeded stream per trajectory and executor, so that adding an executor leaves the other readouts unchanged; the analysis that produced P1 and P2 used a single shared stream (P1 differs by 0.001 between the two).
Screened pools. Each bootstrap replicate resamples trajectories with replacement and, for every stochastic branch, redraws its success count from a binomial distribution with success probability , where of rollouts succeeded; all selections and evaluations are recomputed in every replicate. The shrinkage keeps resampled probabilities away from 0 and 1, but it also makes the true values of the bootstrap world systematically lower than the point estimates when many branches have extreme success rates, which shifts the whole bootstrap distribution downward (by 0.01–0.03 in the gridworld and 0.03–0.07 in ALFWorld). Because cross-fitted estimates are unbiased within the bootstrap world, we re-center the bootstrap distribution on the point estimate. This correction was added after the pre-specified analyses had been run; the uncentered percentile intervals lead to the same decisions for every pre-specified
Table 4. Status of every analysis. Pre-specified: written into the dated plan before the data it uses were collected or computed. Fresh: new failures (F) or new rollouts on existing branches (R). Confirmatory tests are Holm-corrected within the family shown; “secondary” tests use a lower bound above 0 without correction.
| Analysis | Pool | Pre-specified | Fresh | Reported as |
|---|---|---|---|---|
| C1–C3; C4–C6 | screened gridworld | yes | F | confirmatory (Holm, 3); secondary |
| Greedy with escape (E1, E2) | screened gridworld | yes, before running | R | secondary |
| B2–B4; B5–B9, informed judge | screened ALFWorld | yes | F | confirmatory (Holm, 3); secondary |
| Other executors X1, X2 (14B, flash) | both screened | yes, before running | R | secondary |
| Published decision rules | both screened | no | — | exploratory |
| Labels and rankings (Section 6) | both screened | no | — | exploratory |
| Privileged screen | both screened | fixed on gridworld | — | exploratory on ALFWorld |
| P1, P2; S1, S2; budget curves; screens | unscreened ALFWorld (7B) | yes | F | confirmatory (Holm, 2); secondary; descriptive |
| H1–H3 | unscreened ALFWorld (both) | yes | F, R | confirmatory (Holm, 3) |
| LLM-proposed subset | unscreened ALFWorld | after full results | — | exploratory |
| Saturation strata; cross-pool transfers | unscreened ALFWorld | yes, before computing | — | pre-specified descriptive |
| Reversal checks D₁₄, D₈ | unscreened ALFWorld (7B) | yes (D₈ by trigger) | R | secondary; cases chosen with earlier rollouts |
| LLM-located pipeline | unscreened ALFWorld (7B) | yes, before running | R | exploratory follow-up |
| P1w, P2w, H1w, H2w, H3w | unscreened WebShop | yes, before any formal run | F | confirmatory (Holm, 5) |
| Human reader | unscreened ALFWorld (7B) | readouts drafted; protocol not frozen | — | exploratory |
| Unscreened gridworld | 100 gridworld failures | yes | F | secondary |
| Shared-repair cost G (Section I) | both screened | yes | — | inconclusive; not used |
test (Table 5).
H1: recorded and regenerated values. The pre-specified analysis of H1 gave 0.074 [0.038, 0.113], which we report. Afterwards the Llama rollouts of 65 of the 1,286 branches of the 7B ALFWorld pool were lost and regenerated with the same seeds and code; because vLLM sampling is not bitwise reproducible, the released data give 0.071 [0.037, 0.108], with the same decision. All other numbers that use these rollouts (the cross-pool comparisons, the Llama saturation stratum, the trigger of the 7B–Llama reversal check, and the post-repair H1) come from the regenerated data.
Decision rules. Primary tests are Holm-corrected within the families of Table 4. Three secondary tests use a pre-specified pair of rules against the margin : a loss is detected if the lower bound exceeds 0, and within margin if the upper bound is below . The two are not mutually exclusive, so we report them separately; no test in the paper met both.
C. Post-Repair Success Objective
Under the secondary objective, which credits a repair with its post-repair success probability rather than its net gain, the conclusions about small budgets, greedy replay, the solvability oracle, LLM judges in ALFWorld, and other
executors are unchanged; environment heuristics in ALF-World fare better, as discussed below. On the unscreened ALFWorld pools, greedy replay loses 0.10 [0.07, 0.14] (7B) and 0.07 [0.04, 0.10] (Llama), and substitute executors lose 0.29 [0.23, 0.35] (14B for 7B), 0.06 [0.03, 0.09] (Llama for 7B), and 0.08 [0.05, 0.12] (7B for Llama). On the screened pools, relative to matched selection (post-repair success 0.72 in the gridworld), greedy replay loses 0.19 [0.12, 0.25], three rollouts lose 0.10 [0.06, 0.14], temperature 0.3 loses 0.02 [−0.03, 0.08], and the solvability oracle loses 0.47 [0.40, 0.54], more than under net gain because under this objective it ties across solvable repairs at every position. In ALFWorld (matched 0.97), greedy replay loses 0.14 [0.08, 0.20] and three rollouts 0.05 [0.02, 0.07]. With ten rollouts per candidate on each side, selecting by the 14B model’s or Qwen3.8-flash’s post-repair success instead of the deployed agent’s loses 0.29 [0.21, 0.37] and 0.62 [0.55, 0.69] in ALFWorld, and 0.24 [0.17, 0.31] and 0.43 [0.37, 0.49] in the gridworld (trajectory bootstrap; the corresponding net-gain losses are 0.29, 0.63, 0.06, and 0.16). Table 6 lists all evaluators on the screened pools under this objective.
Two differences from the net-gain results deserve mention. In ALFWorld, environment heuristics come much closer to matched selection under this objective: the planner’s action at the earliest position loses 0.06 and the oracle with slack tie-breaking 0.07, against 0.14 and 0.28 under net gain. The earliest position is also where the original action most
Table 5. All pre-specified tests. Estimates are differences in deployment net gain (first minus second; reward in WebShop). Screened pools: pre-specified (uncentered) and bias-corrected 90% intervals. Unscreened pools: nonparametric 90% intervals. Holm: primary test, Holm-corrected within its family at one-sided (screened pools: largest -value 0.050 for B4 under the pre-specified bootstrap, 0.004 after correction; unscreened: P1–P2, H1–H3, and the five WebShop tests form three families, largest -value 0.0005). Detected: lower bound ; within margin: upper bound . Every decision is the same under both intervals.
| Contrast | Estimate | Pre-specified | Bias-corrected | Rule | Decision | |
|---|---|---|---|---|---|---|
| Screened gridworld (34 trajectories) | ||||||
| PC | matched – random | 0.656 | [0.548, 0.709] | [0.574, 0.735] | lower > 0.10 | pass |
| C1 | matched – random solvable action, irreversible point | 0.308 | [0.193, 0.371] | [0.218, 0.396] | Holm | confirmed |
| C2 | matched – greedy replay | 0.225 | [0.136, 0.284] | [0.152, 0.300] | Holm | confirmed |
| C3 | matched – solvability oracle | 0.186 | [0.090, 0.235] | [0.115, 0.261] | Holm | confirmed |
| C4 | matched – 3 rollouts | 0.109 | [0.044, 0.145] | [0.060, 0.161] | lower > 0 | detected |
| C5 | oracle with slack – oracle | 0.149 | [0.092, 0.195] | [0.099, 0.202] | lower > 0 | detected |
| C6 | matched – temperature 0.3 | 0.027 | [-0.026, 0.096] | [-0.030, 0.093] | both | within margin; not detected |
| E1 | greedy with escape (10) – greedy | 0.101 | [0.032, 0.169] | [0.033, 0.171] | lower > 0 | detected |
| E2 | deployed (10) – greedy with escape (10) | 0.118 | [0.055, 0.183] | [0.057, 0.185] | within | not within |
| X1 | deployed (10) – 14B (10) | 0.061 | [0.010, 0.098] | [0.017, 0.105] | lower > 0 | detected |
| X2 | deployed (10) – Qwen3.8-flash (10) | 0.163 | [0.085, 0.219] | [0.098, 0.232] | lower > 0 | detected |
| Screened ALFWorld (30 trajectories) | ||||||
| PC | matched – random | 0.753 | [0.619, 0.740] | [0.689, 0.811] | lower > 0.10 | pass |
| B2 | matched – greedy replay | 0.177 | [0.068, 0.217] | [0.103, 0.253] | Holm | confirmed |
| B3 | matched – solvability oracle | 0.753 | [0.619, 0.740] | [0.689, 0.811] | Holm | confirmed |
| B4 | matched – 3 rollouts | 0.070 | [0.000, 0.085] | [0.027, 0.113] | Holm | confirmed |
| B5 | oracle with slack – oracle | 0.477 | [0.376, 0.520] | [0.405, 0.549] | lower > 0 | detected |
| B6 | matched – oracle with slack | 0.276 | [0.155, 0.315] | [0.197, 0.356] | both | detected; not within margin |
| B7 | matched – planner action (random position) | 0.253 | [0.144, 0.281] | [0.184, 0.321] | lower > 0 | detected |
| B8 | matched – reasoning LLM judge | 0.531 | [0.352, 0.598] | [0.408, 0.655] | both | detected; not within margin |
| B9 | matched – deployed model as judge | 0.736 | [0.566, 0.760] | [0.636, 0.830] | lower > 0 | detected |
| J1 | matched – informed LLM judge | 0.186 | [0.066, 0.245] | [0.100, 0.280] | lower > 0 | detected |
| X1 | deployed (10) – 14B (10) | 0.291 | [0.170, 0.376] | [0.191, 0.397] | lower > 0 | detected |
| X2 | deployed (10) – Qwen3.8-flash (10) | 0.628 | [0.511, 0.664] | [0.550, 0.704] | lower > 0 | detected |
| Unscreened ALFWorld, deployed Qwen2.5-7B (60 trajectories) | ||||||
| PC | matched – random | 0.707 | [0.652, 0.758] | — | lower > 0.10 | pass |
| P1 | matched – greedy replay | 0.135 | [0.090, 0.183] | — | Holm | confirmed |
| P2 | deployed (5) – 14B (5) | 0.255 | [0.193, 0.316] | — | Holm | confirmed |
| S1 | matched – planner action (earliest position) | 0.140 | [0.075, 0.209] | — | lower > 0 | detected |
| S2 | matched – oracle with slack | 0.195 | [0.141, 0.251] | — | lower > 0 | detected |
| H1 | deployed (5) – Llama-3.1-8B (5) | 0.074 | [0.038, 0.113] | — | Holm | confirmed |
| D14 | reversal check, 7B–14B, 37 contested trajectories | 0.509 | [0.382, 0.641] | — | lower > 0 | detected |
| D8 | reversal check, 7B–Llama, 34 contested trajectories | 0.202 | [0.122, 0.287] | — | lower > 0 | detected |
| Unscreened ALFWorld, deployed Llama-3.1-8B (60 trajectories) | ||||||
| PC | matched – random | 0.737 | [0.708, 0.763] | — | lower > 0.10 | pass |
| H2 | deployed (5) – Qwen2.5-7B (5) | 0.098 | [0.059, 0.141] | — | Holm | confirmed |
| H3 | matched – greedy replay | 0.082 | [0.048, 0.122] | — | Holm | confirmed |
| S1 | matched – planner action (earliest position) | 0.199 | [0.134, 0.266] | — | lower > 0 | detected |
| S2 | matched – oracle with slack | 0.217 | [0.165, 0.273] | — | lower > 0 | detected |
| Unscreened WebShop, deployed Qwen2.5-7B (60 trajectories; reward) | ||||||
| PC | matched – random | 0.163 | [0.128, 0.200] | — | lower > 0.10 | pass |
| P1w | matched – greedy replay | 0.061 | [0.036, 0.086] | — | Holm | confirmed |
| H1w | deployed (5) – Llama-3.1-8B (5) | 0.081 | [0.046, 0.114] | — | Holm | confirmed |
| P2w | deployed (5) – 14B (5) | 0.073 | [0.046, 0.101] | — | Holm | confirmed |
| S1w | matched – privileged action (earliest position) | 0.144 | [0.100, 0.190] | — | lower > 0 | detected |
| Unscreened WebShop, deployed Llama-3.1-8B (60 trajectories; reward) | ||||||
| PC | matched – random | 0.314 | [0.258, 0.373] | — | lower > 0.10 | pass |
| H2w | deployed (5) – Qwen2.5-7B (5) | 0.166 | [0.117, 0.217] | — | Holm | confirmed |
| H3w | matched – greedy replay | 0.131 | [0.083, 0.181] | — | Holm | confirmed |
| S1w | matched – privileged action (earliest position) | 0.248 | [0.190, 0.305] | — | lower > 0 | detected |
Every screened ALFWorld candidate leaves the task solvable, so the oracle selects at random and B3 coincides with the positive control; it carries no independent information. D: difference of preferences on 30 fresh rollouts per branch from each executor (Table 8); contested trajectories are those in which the two executors' best candidates differed in the earlier rollouts. Both D checks are on the 7B pool. Run because its pre-specified trigger was met (deployed 7B with 5 rollouts – Llama with 10: 0.044 [0.009, 0.082]); the difference comes almost entirely from the 7B side (Table 8). H1: value of the pre-specified analysis; the released data give 0.071 [0.037, 0.108] (Section B).
Table 6. Selection loss on the screened pools under the post-repair success objective (bias-corrected 90% intervals). Matched selection reaches post-repair success 0.72 (gridworld) and 0.97 (ALFWorld). The acceptance-based published rules are omitted because they have no natural post-repair value when they decline to repair.
| Evaluator | Gridworld | ALFWorld |
|---|---|---|
| Random (positive control) | 0.51 [0.43, 0.58] | 0.74 [0.68, 0.78] |
| Deployed agent, 3 rollouts | 0.10 [0.06, 0.14] | 0.05 [0.02, 0.07] |
| Deployed agent, 5 rollouts | 0.08 [0.04, 0.12] | 0.02 [−0.00, 0.04] |
| Deployed agent, 10 rollouts | 0.02 [−0.02, 0.05] | 0.01 [−0.02, 0.02] |
| Same model, temperature 0.3 | 0.02 [−0.03, 0.08] | — |
| Greedy replay | 0.19 [0.12, 0.25] | 0.14 [0.08, 0.20] |
| Solvability oracle | 0.47 [0.40, 0.54] | 0.74 [0.68, 0.78] |
| Oracle, ties broken by slack | 0.37 [0.27, 0.46] | 0.07 [0.01, 0.14] |
| Planner action, earliest position | — | 0.06 [0.01, 0.13] |
| Reasoning LLM judge | 0.02 [−0.03, 0.08] | 0.48 [0.36, 0.61] |
| Informed LLM judge | — | 0.11 [0.04, 0.20] |
| Deployed model judging itself | 0.49 [0.39, 0.58] | 0.72 [0.62, 0.82] |
often succeeds anyway (0.19 on average, against 0.08 at the latest position), so a repair placed there scores well on post-repair success while adding little; what the heuristics miss is mainly where a repair adds success. In the gridworld, the oracle with slack tie-breaking loses 0.37, because under this objective it ranks candidates by absolute rather than gained slack, which favors early positions; the reasoning judge, by contrast, stays within the margin.
D. Budget Curves and Reversal Checks
Budget curves. Table 7 lists the full curves. On the 7B ALFWorld pool, the 14B model's selections improve from 0.38 with one rollout per candidate to 0.63 with twenty, the value of a single deployed-agent rollout per candidate; per rollout, the 14B model costs 1.6–2.0 times the GPU time of the 7B model on the same A800 GPU. On the Llama pool, ten 7B rollouts per candidate select worse repairs for Llama (0.79) than two of Llama's own (0.82), and about as well as Llama's greedy replay. In WebShop, a Llama rollout costs about twice a 7B rollout on the same GPU (1.18 versus 0.56 seconds on the 7B pool, 1.00 versus 0.51 on the Llama pool), whereas a 14B rollout costs about the same (0.60 seconds), because the 14B model ends its episodes sooner; twenty 14B rollouts per candidate select repairs for the 7B agent worth about its own greedy replay (0.091 versus 0.086). On the WebShop Llama pool, the 7B model's greedy replay selects almost no value for Llama (0.031), against 0.179 for Llama's own. The ALFWorld 7B-pool curves come from the analysis that also computes the saturation strata; they differ from the primary analysis by at most 0.005 because the two analyses use different random streams for cross-fitting.
Reversal checks. Table 8 gives the details. For the 7B–14B pair, the same contested trajectories show a difference
Table 7. Budget curves on the unscreened pools: deployment net gain of the repair selected with rollouts per candidate from each executor, scored on the deployed agent (G: greedy replay). ALFWorld: success probability; WebShop: reward.
| ALFWorld, 7B pool | ALFWorld, Llama pool | ||||
|---|---|---|---|---|---|
| 7B | 14B | Llama | Llama | 7B | |
| 1 | 0.63 | 0.38 | 0.55 | 0.68 | 0.57 |
| 2 | 0.77 | 0.49 | 0.67 | 0.82 | 0.68 |
| 3 | 0.80 | 0.53 | 0.72 | 0.85 | 0.74 |
| 5 | 0.82 | 0.57 | 0.75 | 0.87 | 0.77 |
| 10 | — | 0.60 | 0.78 | — | 0.79 |
| 20 | — | 0.63 | — | — | — |
| G | 0.69 | 0.45 | 0.62 | 0.79 | 0.64 |
| WebShop, 7B pool | WebShop, Llama pool | ||||
|---|---|---|---|---|---|
| 7B | 14B | Llama | Llama | 7B | |
| 1 | 0.072 | 0.042 | 0.026 | 0.095 | 0.021 |
| 2 | 0.106 | 0.052 | 0.047 | 0.209 | 0.063 |
| 3 | 0.125 | 0.066 | 0.059 | 0.263 | 0.091 |
| 5 | 0.146 | 0.073 | 0.066 | 0.310 | 0.144 |
| 10 | — | 0.081 | 0.080 | — | 0.201 |
| 20 | — | 0.091 | — | — | — |
| G | 0.086 | 0.053 | 0.076 | 0.179 | 0.031 |
90% intervals (nonparametric): ALFWorld 7B pool, 7B [0.76, 0.88], 14B [0.56, 0.71]; WebShop 7B pool, 7B [0.109, 0.187], 14B [0.046, 0.138], Llama [0.038, 0.123]; WebShop Llama pool, Llama [0.248, 0.373], 7B [0.133, 0.272].
Table 8. Reversal checks on the unscreened 7B pool (only fresh rollouts; 30 per branch and executor). with the net gain of Equation (1), where is the deployed 7B agent's best candidate and the other executor's in the earlier rollouts; difference = . Control: trajectories where both executors' best candidate was , with the 7B agent's second best. Sig. opposite / aligned: both have 90% intervals excluding 0, with opposite / equal signs.
| 14B, contested | 14B, control | Llama, contested | |
|---|---|---|---|
| Trajectories | 37 | 15 | 34 |
| 0.33 [0.23, 0.44] | 0.13 [0.05, 0.23] | 0.18 [0.10, 0.27] | |
| -0.18 [−0.25, −0.11] | 0.12 [0.05, 0.20] | -0.02 [−0.07, 0.03] | |
| Difference | 0.51 [0.38, 0.64] | 0.01 [−0.08, 0.11] | 0.20 [0.12, 0.29] |
| Sig. opposite | 8 | 0 | 2 |
| Sig. aligned | 0 | 3 | 3 |
of 0.65 in the earlier rollouts that selected them, so the fresh rollouts retain about 78% of it; the 14B model's preference retains 83%. For the 7B–Llama pair, the 7B agent's preference retains 83% (0.22 to 0.18) while Llama's shrinks from -0.14 to -0.02, mostly selection noise. Under the post-repair objective, the 7B–14B difference is 0.33 [0.23, 0.44].
E. Low-Cost Verification: Details

Figure 4. Screened pools: selection loss against the number of deployed-agent rollouts per trajectory, when every candidate receives rollouts (blue) or only the candidate preferred by the environment signal at each position does (orange). Shaded: 90% bootstrap intervals over trajectories. Settings were fixed on the gridworld and applied unchanged to ALFWorld.
Figure 4 compares the privileged screen of Section 7 with spending the same budget on all candidates. In screened ALFWorld, ten rollouts per survivor—60 rollouts per trajectory, 19% of what matched selection uses—come within 0.009 [0.004, 0.014] of matched selection. At a budget comparable to greedy replay (18 versus 21 rollouts), the screen beats greedy replay by 0.13 [0.06, 0.20] and one rollout per candidate by 0.22 [0.17, 0.26]. It also beats the environment signal alone by 0.27 [0.20, 0.34], because the signal cannot choose the position. In the gridworld, where the environment signal alone is already close to matched selection, the procedure matches it (0.01 [−0.02, 0.05]); on the unscreened gridworld pool it improves on five-rollout matched selection by 0.02 at 29% of the budget, by removing noisy candidates from the maximization. On the unscreened ALFWorld pool, the flash screen fails because its survivors contain the deployed agent's best candidate in 22% of trajectories, against 81% for the planner screen.
LLM-located pipeline. The LLM's chosen step is early (median step 5 of 50; 48 of 60 in the first third) and coincides with one of the three fixed positions in only 3 trajectories. All 60 locations and all 120 proposals were valid; a proposal was the planner's action in 20 of the 58 trajectories where that action differs from the original. Across proposals, the three verification rollouts succeeded 0 times for 65 proposals and 3 times for 28, and only 27 proposals fell in between,
which is why a single greedy replay verifies as well as three samples here. At least one proposal was accepted in 27 trajectories, 14 of them with the planner's action, and accepted repairs gained 0.70 on average. The two calls to Qwen3.8-flash per trajectory used about 5,500 input and 2,400 output tokens in total; this cost is not included in the rollout counts.
F. WebShop Details
Environment. We use the original WebShop code and text environment (Yao et al., 2022) without modification, with the 100,000-product configuration that the code supports (the first 100,000 products of the full product file and their attributes) and the 1,021 human-written instructions on those products; search uses the original BM25 index built with Pyserini 2.3.0 (Lin et al., 2021). Prices and price limits, which the original code draws at random on start-up, are fixed by seeding. The admissible actions are those the environment lists (the search box on the search page and every clickable element); an action outside the list does nothing and consumes a step. The observation is the rich-text page; the prompt keeps the current page up to 6,000 characters and the first 300 characters of each earlier page. An episode ends with a purchase or after 25 steps. We fixed the 25-step budget before any formal run, after a 15-step smoke test in which Llama ran out of steps in 80% of episodes; with 25 steps, the 7B agent succeeded in 23% and Llama in 22% of 60 smoke episodes. Replaying an action prefix reproduces every page exactly across processes, which we verified on random walks and on all 180 formal positions.
Pool and candidates. The 7B agent ran one episode on each of the first 100 instructions of a fixed shuffled order (disjoint from the smoke tests) and succeeded in 28; we took the first 60 of the 72 failures, with none excluded. Positions are drawn from steps that leave at least five steps (early, middle, and late thirds). At each position, the candidates are every clickable alternative on the page; two alternatives each from Qwen2.5-7B, Llama-3.1-8B (temperature 0), and Qwen3.8-flash (without reasoning), which read the instruction, the failed trajectory and its outcome, the current page and its admissible actions, and are told which model will execute the repair (on the search page they write their own query); a privileged action computed from the target product (search for its title; on a results page, click it if listed and otherwise go back; on its page, select the next missing target option, or buy once all are selected; on any other product page, go back); and one random action (on the search page, a query of two or three words drawn from the instruction). This gives 2,251 branches (63 with a determined outcome, such as purchases), 1–50 per position (mean 11.5). Proposal validity was 90% (7B), 88% (Llama), and 91% (flash). The Llama pool was built the same way from a disjoint set of
Table 9. WebShop, unscreened pools (60 trajectories each): differences in net reward gain (primary) and net success gain (secondary), nonparametric 90% intervals. “Other model”: deployed agent’s own selection minus the other deployed model’s, five rollouts per candidate each. ALFWorld-style: only LLM-proposed, privileged, and random candidates, as in the ALFWorld pools. LLM-proposed: candidates proposed by at least one LLM. †The success-based positive control of the Llama pool falls just short of 0.10, so its success readouts are descriptive only.
| Contrast | Deployed Qwen2.5-7B | Deployed Llama-3.1-8B | ||
|---|---|---|---|---|
| Reward | Success | Reward | Success† | |
| Positive control: matched – random | 0.163 [0.128, 0.200] | 0.169 [0.114, 0.229] | 0.314 [0.258, 0.373] | 0.149 [0.090, 0.210] |
| Matched – greedy replay (P1w; H3w) | 0.061 [0.036, 0.086] | 0.040 [0.014, 0.069] | 0.131 [0.083, 0.181] | 0.094 [0.055, 0.136] |
| Other model, same budget (H1w; H2w) | 0.081 [0.046, 0.114] | 0.075 [0.042, 0.112] | 0.166 [0.117, 0.217] | 0.080 [0.040, 0.124] |
| Matched – privileged action, earliest (S1w) | 0.144 [0.100, 0.190] | 0.161 [0.094, 0.230] | 0.248 [0.190, 0.305] | 0.094 [0.040, 0.156] |
| ALFWorld-style: matched – greedy | 0.057 [0.032, 0.083] | 0.049 [0.021, 0.082] | 0.088 [0.057, 0.124] | 0.073 [0.040, 0.110] |
| ALFWorld-style: other model | 0.085 [0.051, 0.116] | 0.088 [0.048, 0.135] | 0.147 [0.103, 0.193] | 0.077 [0.039, 0.116] |
| LLM-proposed: matched – greedy | 0.051 [0.025, 0.078] | 0.034 [0.005, 0.070] | 0.070 [0.040, 0.102] | 0.052 [0.026, 0.081] |
| LLM-proposed: other model | 0.045 [0.017, 0.073] | 0.050 [0.015, 0.094] | 0.125 [0.081, 0.171] | 0.053 [0.019, 0.090] |
| 14B, same budget (P2w) | 0.073 [0.046, 0.101] | 0.030 [0.003, 0.058] | — | — |
| ALFWorld-style: 14B | 0.069 [0.042, 0.098] | 0.028 [0.003, 0.056] | — | — |
| LLM-proposed: 14B | 0.053 [0.030, 0.078] | 0.013 [−0.006, 0.033] | — | — |
Table 10. The LLM-located, verified pipeline of Section 7 and comparisons on the same 60 unscreened 7B ALFWorld failures (deployment net gain; nonparametric 90% intervals). Rollouts: deployed-agent rollouts per trajectory used for selection. The last three rows select among the fixed candidates of Section 3 at three positions.
| Selection | Net gain | Rollouts |
|---|---|---|
| LLM locates and proposes; 2-of-3 check | 0.32 [0.22, 0.40] | 6 |
| no check (first proposal) | 0.22 [0.14, 0.30] | 0 |
| greedy check (first greedy success) | 0.31 [0.22, 0.40] | 2 (greedy) |
| more successes than the original action | 0.32 [0.23, 0.40] | 9 |
| better proposal in hindsight | 0.37 [0.29, 0.46] | — |
| LLM screen (first proposal per position), k = 1 / 5 | 0.24 / 0.27 | 6 / 30 |
| Greedy replay, LLM-proposed / all candidates | 0.52 / 0.69 | 17 / 21 (greedy) |
| Matched selection, LLM-proposed / all candidates | 0.64 / 0.82 | 83 / 107 |
instructions: Llama succeeded in 14 of 100 episodes, and we took the first 60 of its 86 failures (none excluded), giving 1,999 branches (71 determined), 1–103 per position (mean 10.1); proposal validity was 87% (7B), 76% (Llama), and 85% (flash).
Objective. The value of a branch is the mean reward of its rollouts; a purchase branch takes its single reward. In a 30-instruction test of the full pipeline before the formal runs, only 7% of rollouts reached full reward, so we changed the primary objective from success to reward before any formal run and kept success as a pre-specified secondary readout. On all stochastic branches of the 7B pool, the 7B agent reaches full reward in 12% of rollouts (mean reward 0.37) and Llama in 6% (0.18); on the Llama pool, Llama reaches it in 8% (0.20) and the 7B agent in 21% (0.42).
Results. Table 9 lists the readouts. All five primary tests are confirmed (Holm with m = 5), and the success readouts are weaker and wider, as predicted. Matched selection gains 0.146 [0.109, 0.187] in reward on the 7B pool and 0.310
[0.248, 0.373] on the Llama pool; 85% and 90% of trajectories have a candidate whose estimated net reward gain exceeds 0.10 (50% under success in both pools). Exploratory descriptions: the mean net reward gain of candidates from each source is close to zero or negative for the 7B agent and Llama (for the 7B agent, from −0.04 for Llama’s proposals to +0.03 for the privileged action), and candidates proposed by an executor are not better for that executor than for the other (interaction 0.01 [−0.01, 0.03]). The best candidate for the 7B agent comes from Qwen3.8-flash’s proposals in 34% of trajectories, the privileged action in 29%, the 7B model’s proposals in 24%, Llama’s in 14%, and the random action in 9% (sources overlap); for Llama, from the 7B model’s and Qwen3.8-flash’s proposals in 46% each, the privileged action in 20%, and Llama’s own in 7%. On the Llama pool, too, an executor’s own proposals are not better for it (interaction −0.025 [−0.048, −0.003]). Both privileged and flash screens lose more than greedy replay on the Llama pool (0.26 and 0.17 at five rollouts, against 0.13). The 14B executor ran on a second server whose environment matched the first in every registered check (instruction list, products and prices, search fingerprint, data hashes; only the spaCy patch version differed, 3.8.18 versus 3.8.16); on the 7B pool’s branches it reaches full reward in 20% of rollouts (mean reward 0.52), and candidates from every source have non-negative mean net gain for it.
G. A Human Reader (Exploratory)
To add a human to the readers that do not execute, one annotator—a co-author new to ALFWorld who had not seen any rollout result—chose a repair for each of the 60 unscreened 7B failures. The annotator saw the task, the initial description, the full failed log, and the three fixed positions with their candidates (shuffled within each position, sources hidden), and was told that the 7B model would continue from the replaced action at temperature 0.7: the same information the LLM proposers received. The written protocol explained the interface and the basic rules of the environment but gave no hints or examples. For each trajectory the annotator recorded a choice, a reason, and a confidence, and could mark the information as insufficient or name a decisive step; active annotation time was 4.4 hours in total. The readouts were drafted before annotation, but the protocol was not frozen after the pilot as planned, there is one annotator, and agreement cannot be assessed, so we report the study as exploratory and do not generalize to human readers.
Table 11. A human reader on the 60 unscreened 7B ALFWorld failures: net gain for the 7B agent, scored on all ten of its rollouts per branch (paired trajectory bootstrap, 10,000 replicates, 90% intervals). Rollouts: deployed-agent rollouts per trajectory used for selection.
| Selection | Net gain | Rollouts |
|---|---|---|
| Human reads the log (one annotator) | 0.335 [0.247, 0.423] | 0 |
| Random candidate | 0.115 [0.099, 0.130] | 0 |
| LLM screen (first flash proposal), | 0.270 [0.187, 0.357] | 30 |
| Planner action, earliest position (privileged) | 0.682 [0.605, 0.757] | 0 |
| Greedy replay | 0.687 [0.618, 0.754] | 21 |
| Matched selection (5 rollouts) | 0.822 [0.762, 0.878] | 107 |
| Matched – human | 0.487 [0.395, 0.580] | |
| Human – greedy replay | -0.352 [-0.454, -0.251] | |
| Human – random | 0.220 [0.136, 0.306] | |
| Human – LLM screen () | 0.065 [-0.045, 0.179] |
Table 11 gives the results. The annotator’s repairs gain 0.34, more than random selection but less than half of matched selection and below greedy replay, which executes the branches; they are comparable to the LLM screen with five verification rollouts per survivor. The annotator chose the planner’s action (without knowing it was one) in 27 trajectories, with a mean net gain of 0.66, against 0.07 in the other 33; this grouping is not randomized. The annotator marked the information as insufficient in 44 of 60 trajectories and left the optional decisive-step field blank in 54, so the study cannot speak to whether these failures have a single decisive error. One submission, which chose inventory with a note that it was testing the interface, may be accidental; excluding it changes the human’s net gain to 0.339 and matched minus human to 0.483. Scored on other executors, the same choices gain 0.28 for the 14B model and 0.36 for Llama (descriptive; the task asked for repairs for the 7B agent).
H. Unscreened Gridworld Failures
On the first 100 failures on new gridworld maps, including timeouts before the door, we labeled all alternatives at four positions with a two-stage design: five rollouts per branch select three candidates per trajectory, which receive 24 more. Selecting with five deployed-agent rollouts beats greedy
replay by 0.05 [0.02, 0.08] and the solvability oracle by 0.07 [0.04, 0.10], 20–40% of the screened-pool losses, and is level with the oracle with slack tie-breaking. The effects are smaller because matched selection uses five rollouts rather than twenty and many unscreened gridworld failures have no useful single-step repair: only 62% of trajectories have a candidate with estimated net gain above 0.10. The availability of useful single-step repairs, and where the best one lies, thus depend on the environment and the executor; this does not show whether a failure has a single decisive error.
I. Pre-Specified Shared-Repair Analysis
This analysis does not carry any argument in the main text; we report it because it was pre-specified. Before computing it, we specified an analysis of the shared-repair cost for the 7B and 14B executors, where is executor ’s own choice and maximizes the average of the two executors’ estimates, together with a decision rule. In ALFWorld, exceeds its value under a null in which both executors share the pooled success rates by 0.07 [0.04, 0.10]; in the gridworld by 0.02 [0.01, 0.04]. Because the null-world bias of the estimator exceeded the pre-specified tolerance of 0.05 in the gridworld (0.056), the pre-specified rule classifies the result as inconclusive. A second reference added after seeing the data, which aligned one executor’s ranking with the other’s, turned out to be invalid because clipping to [0, 1] changed the reassigned values in about half of the trajectories; we do not use it. Simulations also show that is inflated when one executor is nearly indifferent among candidates, as Qwen3.8-flash is in ALFWorld, so we report for the 7B–14B pair only.
J. Reading versus Running
The same model can act as a judge or as an executor. With reasoning enabled, Qwen3.8-flash chooses better repairs for the 7B agent by reading the log than by running the branches itself (gridworld 0.11 [0.04, 0.18]; ALFWorld 0.11 [−0.03, 0.26]). This is confounded by reasoning, which the judge uses and the executor does not: without it, the judge loses 0.25 in the gridworld, more than Qwen3.8-flash’s rollouts (0.17), though less in ALFWorld (0.42 versus 0.64). The deployed 7B model chooses far better by running than by reading (by 0.59 and 0.72).