mlsanityData to 7 Oct 2026

ExecCritic: Learn to Test, Test to Improve for Coding Agents

arXiv 2609.09133 ↗First posted 8 Sep 2026cs.AI cs.CL cs.SEcited by 0

On the map: LLM agents and tool use → Software engineering coding agents

Abstract (arXiv)

Execution feedback can guide coding agents toward correct repository repairs, but only when the tests capture the behavior requested by the issue. Agent-generated tests can encode incomplete or incorrect behavioral targets; when the same trajectory writes both the patch and the test, their errors can agree and create false confidence. We introduce ExecCritic, combining a test--verify--revise scaffold with a role-specific reinforcement learning recipe for training agents within it. The scaffold separates test construction from source-code repair: a Test agent independently generates repository-native tests, a fail-closed harness qualifies and freezes them, and a Repair agent revises source code from their execution feedback without changing the tests. Both roles use Qwen-3.5-35B-A3B as the backbone and are trained separately. In Learn to Test, the Test agent learns to produce behaviorally valid tests that distinguish correct from incorrect patches. In Test to Improve, the Repair agent learns both direct task resolution and feedback-guided revision. On SWE-bench Verified, test quality determines whether feedback helps: holding the base Repair agent fixed, tests from the base Test agent reduce resolved rate from a no-test baseline of 61.2% to 57.3%, whereas tests from GPT-5.6-sol raise it to 65.3%. Role-specific post-training raises the Qwen Test agent's Base-to-Gold success from 22.2% to 62.2%; composing the two post-trained Qwen agents reaches 72.6%, an 11.4-point gain over the original no-test baseline without stronger-model or Oracle feedback at evaluation time. Code is publicly available at https://github.com/MSR-Orchard/execcritic.

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 68 of its 82 references that are in the map. First posted on arXiv 8 Sep 2026.

Builds on

68 of 82 references.

Closest ancestors · 24

Same direction, newest first

  1. 2026LEGO-RL: Harness-Native Reinforcement Learning for Coding Agents18 Aug
  2. 2026TDD-Agent: Test-Driven Reasoning for Code Generation17 Aug
  3. 2026Independent Patch Verification for Coding Agents with a Bidirectional Reconstruct-and-Verify Framework9 Aug
  4. 2026Preventing Premature Commitment in Coding Agents with an Evidence-Conditioned Execution Layer30 Jul
  5. 2026SWE-Doctor: Guiding Software Engineering Agents with Runtime Diagnosis from Multi-Faceted Bug Reproduction Tests1 Jul
  6. 2026EviACT: An Evidence-to-Action Framework for Agentic Program Repair26 May
  7. 2026Rethinking the Value of Agent-Generated Tests for LLM-Based Software Engineering Agents8 Feb
  8. 2026Dynamic Cogeneration of Bug Reproduction Test in Agentic Program Repair27 Jan
  9. 2025SWE-RM: Execution-free Feedback For Software Engineering Agents26 Dec
  10. 2025TDFlow: Agentic Workflows for Test Driven Development27 Oct
  11. 2025RepoForge: Training a SOTA Fast-thinking SWE Agent with an End-to-End Data Curation Pipeline Synergizing SFT and RL at Scale3 Aug
  12. 2025ReVeal: Self-Evolving Code Agents via Reliable Self-Verification13 Jun
12 more
  1. 2025UTBoost: Rigorous Evaluation of Coding Agents on SWE-Bench10 Jun
  2. 2025SWE-Dev: Building Software Engineering Agents with Training and Inference Scaling9 Jun
  3. 2025SWE-rebench: An Automated Pipeline for Task Collection and Decontaminated Evaluation of Software Engineering Agents26 May
  4. 2025SWE-smith: Scaling Data for Software Engineering Agents30 Apr
  5. 2025R2E-Gym: Procedural Environments and Hybrid Verifiers for Scaling Open-Weights SWE Agents9 Apr
  6. 2025Agentic Bug Reproduction for Effective Automated Program Repair at Google3 Feb
  7. 2024Training Software Engineering Agents and Verifiers with SWE-Gym30 Dec
  8. 2024SpecRover: Code Intent Extraction via LLMs5 Aug
  9. 2024OpenHands: An Open Platform for AI Software Developers as Generalist Agents23 Jul
  10. 2024SWT-Bench: Testing and Validating Real-World Bug-Fixes with Code Agents18 Jun
  11. 2024MASAI: Modular Architecture for Software-engineering AI Agents17 Jun
  12. 2024SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineering6 May

Other references · 44

  1. 2023Reflexion: Language Agents with Verbal Reinforcement Learningcited by 4,064
  2. 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,193
  3. 2025DAPO: An Open-Source LLM Reinforcement Learning System at Scalecited by 2,678
  4. 2023Teaching Large Language Models to Self-Debugcited by 963
  5. 2022CodeT: Code Generation with Generated Testscited by 369
  6. 2025SWE-Bench Pro: Can AI Agents Solve Long-Horizon Software Engineering Tasks?cited by 254
  7. 2026Meta-Harness: End-to-End Optimization of Model Harnessescited by 248
  8. 2025SWE-RL: Advancing LLM Reasoning via Reinforcement Learning on Open Software Evolutioncited by 246
  9. 2023LEVER: Learning to Verify Language-to-Code Generation with Executioncited by 228
  10. 2024RLEF: Grounding Code LLMs in Execution Feedback with Reinforcement Learningcited by 146
  11. 2022Large Language Models are Few-shot Testers: Exploring LLM-based General Bug Reproductioncited by 110
  12. 2024CodeR: Issue Resolving with Multi-Agent and Task Graphscited by 89
32 more
  1. 2025SWE-Fixer: Training Open-Source LLMs for Effective and Efficient GitHub Issue Resolutioncited by 87
  2. 2025Co-Evolving LLM Coder and Unit Tester via Reinforcement Learningcited by 51
  3. 2025Are "Solved Issues" in SWE-bench Really Solved Correctly? An Empirical Studycited by 47
  4. 2025CodeMonkeys: Scaling Test-Time Compute for Software Engineeringcited by 46
  5. 2025SkyRL-Agent: Efficient RL Training for Multi-turn LLM Agentcited by 44
  6. 2025Agent-RLVR: Training Software Engineering Agents via Guidance and Environment Rewardscited by 41
  7. 2025Training Long-Context, Multi-Turn Software Engineering Agents with Reinforcement Learningcited by 34
  8. 2024TDD-Bench Verified: Can LLMs Generate Tests for Issues Before They Get Resolved?cited by 32
  9. 2025Otter: Generating Tests from Issues to Validate SWE Patchescited by 24
  10. 2025Revisit Self-Debugging with Self-Generated Tests for Code Generationcited by 21
  11. 2025Hybrid Reinforcement: When Reward Is Sparse, It's Better to Be Densecited by 19
  12. 2025Issue2Test: Generating Reproducing Test Cases from Issue Reportscited by 18
  13. 2017Identifying Patch Correctness in Test-Based Program Repaircited by 16
  14. 2019Automated Patch Assessment for Program Repair at Scalecited by 13
  15. 2025Learning to Generate Unit Test via Adversarial Reinforcement Learningcited by 11
  16. 2026TRACE: Turn-level Reward Assignment via Credit Estimation for Long-Horizon Agentscited by 11
  17. 2025Heterogeneous Prompting and Execution Feedback for SWE Issue Test Generation and Selectioncited by 10
  18. 2026LLMLOOP: Improving LLM-Generated Code and Tests through Automated Iterative Feedback Loopscited by 8
  19. 2018Alleviating Patch Overfitting with Automatic Test Generation: A Study of Feasibility and Effectiveness for the Nopol Repair Systemcited by 7
  20. 2025Can Old Tests Do New Tricks for Resolving SWE Issues?cited by 7
  21. 2025InfCode: Adversarial Iterative Refinement of Tests and Patches for Reliable Software Issue Resolutioncited by 7
  22. 2026Orchard: An Open-Source Agentic Modeling Frameworkcited by 7
  23. 2024CodeLutra: Boosting LLM Code Generation via Preference-Guided Refinementcited by 6
  24. 2025Repair-R1: Better Test Before Repaircited by 6
  25. 2026Code-A1: Adversarial Evolving of Code LLM and Test LLM via Reinforcement Learningcited by 6
  26. 2025Automated Generation of Issue-Reproducing Tests by Combining LLMs and Search-Based Testingcited by 5
  27. 2026SWE-Tester: Training Open-Source LLMs for Issue Reproduction in Real-World Repositoriescited by 4
  28. 2026SWE-Mutation: Can LLMs Generate Reliable Test Suites in Software Engineering?cited by 3
  29. 2022Test-based Patch Clustering for Automatically-Generated Patches Assessmentcited by 2
  30. 2026Beyond Fixed Tests: Repository-Level Issue Resolution as Coevolution of Code and Behavioral Constraintscited by 2
  31. 2026Beyond Fail-to-Pass: Iterative Hardening of Co-Generated Bug Reproduction Tests and Fixescited by 2
  32. 2026TaPR: Test-Aware Policy Refinement for Feedback-Conditioned Code Generationcited by 1

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2026Teaching Agents to Code Reliably
  2. 2025Agentic Reinforcement Learning for Real-World Code Repair
  3. 2025Agentic Program Repair from Test Failures at Scale: A Neuro-symbolic approach with static analysis and test execution feedback
  4. 2026Breaking, Stale, or Missing? Benchmarking Coding Agents on Project-Level Test Evolution
  5. 2026SkillScriptBench: Benchmarking Self-Evolution of Executable Agent Skill Packages Beyond Markdown
  6. 2026TestJack: Should you trust the results in coding benchmarks? Agentic Coding Benchmarks Auditing via Evaluator Evolution
  7. 2026Socratic-SWE: Self-Evolving Coding Agents via Trace-Derived Agent Skills
  8. 2026AutoCompact: Learning When to Compact Context in Long-Horizon Coding Agents