Validation Evidence in LLM Repair Agents: How Much of What Passes Actually Tests the Bug?
On the map: LLM agents and tool use → Software engineering coding agents
Abstract (arXiv)
When a repair agent runs a test and sees it pass, the result is treated as evidence about the reported defect. We measure how often that treatment is warranted. BSG-VA (buggy-state/candidate-state/gold-fix validation analysis) captures each validation command at its exact working-tree state, extracts a test-only patch, and replays the command on the original buggy code (B), the candidate state (S), and the developer gold fix (G). The captured outcome and the replay results assign every event an evidence role, from gold-aligned bug-discriminating through regression-only to misleading. Across 3,730 events in 643 rollouts on 110 tasks, 46.0% of positive comparable events carry no bug-discriminating information; 23.8% of baseline rollouts, with no feedback injected, close with a patch whose entire positive evidence base is of this kind. A three-arm experiment tests whether returning the B-replay outcome to the agent changes this pattern. Bug-contrast feedback reduces evidence-inadequate closure by 7.8 percentage points relative to an attention-matched reminder (p = 0.0029) and raises bug-discriminating evidence by 7.4 points (p = 0.011), with no detectable cost to repair success. Both estimates fall below the prespecified 10-percentage-point smallest effect size of interest, so practical magnitude remains uncertain. Roughly a third of the improvement traces to the reminder alone; across two exploratory replications, varying the scaffold and the model, the B-replay content adds a detectable increment only with gpt-5.6-sol under the unconstrained tool-use loop. BSG-VA applies post hoc to any replayable repair trajectory that preserves the required code states and execution environment. Keywords: program repair agents, validation evidence, test adequacy, large language models, software quality, controlled experiment.
Key facts. No citing papers in the map yet (data through 7 Oct 2026). Placed in Software engineering coding agents, one of 16 directions in LLM agents and tool use. Builds on 36 of its 49 references that are in the map. First posted on arXiv 30 Jul 2026.
Builds on
36 of 49 references.
Closest ancestors · 19
Same direction, newest first
- 2026AgentLens: Production-Assessed Trajectory Reviews for Coding Agent Evaluation7 Jul
- 2026What Resolve Rate Hides: Trajectory Structure Diagnostics for Coding Agents7 Jul
- 2026SWE-Doctor: Guiding Software Engineering Agents with Runtime Diagnosis from Multi-Faceted Bug Reproduction Tests1 Jul
- 2026Building to the Test: Coding Agents Deliver What You Check, Not What You Requested26 Jun
- 2026To Run or Not to Run: Analyzing the Cost-Effectiveness of Code Execution in LLM-Based Program Repair25 Jun
- 2026The Verification Horizon: No Silver Bullet for Coding Agent Rewards24 Jun
- 2026RigorBench: Benchmarking Engineering Process Discipline in Autonomous AI Coding Agents21 Jun
- 2026TraceView: Interactive Visualization of Agentic Program Repair Trajectories20 Jun
- 2026All Smoke, No Alarm: Oracle Signals in Agent-Authored Test Code16 Jun
- 2026EviACT: An Evidence-to-Action Framework for Agentic Program Repair26 May
- 2026Same Signal, Different Semantics: A Cross-Framework Behavioral Analysis of Software Engineering Agents18 May
- 2026Rethinking the Value of Agent-Generated Tests for LLM-Based Software Engineering Agents8 Feb
7 more
- 2026Are Coding Agents Generating Over-Mocked Tests? An Empirical Study30 Jan
- 2026Dynamic Cogeneration of Bug Reproduction Test in Agentic Program Repair27 Jan
- 2025Understanding Software Engineering Agents: A Study of Thought-Action-Result Trajectories23 Jun
- 2025Understanding Automated Program Repair Agents Through the Lens of Traceability: An Empirical Study10 Jun
- 2025SWE-rebench: An Automated Pipeline for Task Collection and Decontaminated Evaluation of Software Engineering Agents26 May
- 2024SWT-Bench: Testing and Validating Real-World Bug-Fixes with Code Agents18 Jun
- 2024SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineering6 May
Other references · 17
- 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,193
- 2023Teaching Large Language Models to Self-Debugcited by 963
- 2024AutoCodeRover: Autonomous Program Improvementcited by 272
- 2022Practical Program Repair in the Era of Large Pre-trained Language Modelscited by 133
- 2022Large Language Models are Few-shot Testers: Exploring LLM-based General Bug Reproductioncited by 110
- 2024CodeR: Issue Resolving with Multi-Agent and Task Graphscited by 89
- 2023Impact of Code Language Models on Automated Program Repaircited by 85
- 2025Otter: Generating Tests from Issues to Validate SWE Patchescited by 24
- 2025Issue2Test: Generating Reproducing Test Cases from Issue Reportscited by 18
- 2026AgentLens: Revealing The Lucky Pass Problem in SWE-Agent Evaluationcited by 13
- 2025AssertFlip: Reproducing Bugs via Inversion of LLM-Generated Passing Testscited by 11
- 2024Measuring the Influence of Incorrect Code on Test Generationcited by 9
5 more
- 2026Echo: Graph-Enhanced Retrieval and Execution Feedback for Issue Reproduction Test Generationcited by 4
- 2026SWE-Mutation: Can LLMs Generate Reliable Test Suites in Software Engineering?cited by 3
- 2026On the risk of coding before testing: An empirical study on LLM-based test generation workflowcited by 3
- 2026TestMap: Evidence Infrastructure for Foundation-Model-Assisted Test Generationcited by 1
- 2026EvoOtter: Evolutionary Reproduction Test Generatorcited by 1
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2025Abstain and Validate: A Dual-LLM Policy for Reducing Noise in Agentic Program Repair
- 2026What Makes a Good Bug Report for an AI Agent?
- 2026AgentDebugX: An Open-Source Toolkit for Failure Observability, Attribution, and Recovery in LLM Agents
- 2026AgentCheck: A Reproduce-Intervene-Mitigate Workbench for LLM Agents over MCP
- 2026A Single Patch Is Not Enough: Deterministic Fusion of Repair Candidates
- 2025Agentic Program Repair from Test Failures at Scale: A Neuro-symbolic approach with static analysis and test execution feedback
- 2026Structured Feedback Improves Repair in an LLM Agent Loop
- 2026Groundability, Not Scale Alone: When Weak Reviewers Can Audit Strong Coding Agents