Manuscript Offprint

arXiv:2610.38610

Repairs for Whom? Evaluator-Executor Mismatch in Selecting Repairs for Failed LLM Agents

Yijun Liao, Fanwei Liang

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

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.¹

References (53)