SWEPatchTest: Evaluating Software Tests Beyond Reproduction
On the map: LLM agents and tool use → Software engineering coding agents
Abstract (arXiv)
Coding agents use generated tests to decide whether a proposed patch satisfies an issue's requirements. A suite that fails on the buggy program and passes after applying the reference patch can still accept an incorrect patch or reject a correct patch. We introduce SWEPATCHTEST, a test-generation benchmark with 619 tasks from SWE-bench Pro, SWE-bench Multilingual, and DeepSWE and 82,579 candidate patches collected from coding-agent trajectories. By replaying each suite on the buggy and patched codebases, benchmark jointly measures issue reproduction, acceptance of correct patches, and rejection of incorrect patches. Joint Validation Rate (JVR), which requires all three criteria on the same task, exposes failures hidden by single-reference evaluation: the best-performing configuration achieves only 9.21% JVR despite reproducing the reference transition on 59.29% of tasks. We further use validation scores to select and scale demonstrations for supervised fine-tuning (SFT). The resulting training recipe approximately triples JVR and improves downstream repair across three SWE-bench benchmarks. Patch discrimination thus provides both a diagnostic measure of test quality and an execution-based signal for curating agent training data.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Placed in Software engineering coding agents, one of 16 directions in LLM agents and tool use. Builds on 27 of its 43 references that are in the map. First posted on arXiv 13 Oct 2026.
Builds on
27 of 43 references.
Closest ancestors · 12
Same direction, newest first
- 2026Failure as a Process: An Anatomy of CLI Coding Agent Trajectories10 Jul
- 2026DeepSWE: Measuring Frontier Coding Agents on Original, Long-Horizon Engineering Tasks8 Jul
- 2026ContextBench: A Benchmark for Context Retrieval in Coding Agents5 Feb
- 2025SWE-Compass: Towards Unified Evaluation of Agentic Coding Abilities for Large Language Models7 Nov
- 2025Prometheus: Towards Long-Horizon Codebase Navigation for Repository-Level Problem Solving26 Jul
- 2025SWE-smith: Scaling Data for Software Engineering Agents30 Apr
- 2025TestForge: Feedback-Driven, Agentic Test Suite Generation18 Mar
- 2025Agentic Bug Reproduction for Effective Automated Program Repair at Google3 Feb
- 2024Training Software Engineering Agents and Verifiers with SWE-Gym30 Dec
- 2024OpenHands: An Open Platform for AI Software Developers as Generalist Agents23 Jul
- 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 · 15
- 2025Qwen3 Technical Reportcited by 8,820
- 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,373
- 2022Large Language Models are Few-shot Testers: Exploring LLM-based General Bug Reproductioncited by 111
- 2024Automated Unit Test Improvement using Large Language Models at Metacited by 75
- 2024SelfCodeAlign: Self-Alignment for Code Generationcited by 62
- 2024TestGenEval: A Real World Unit Test Generation and Test Completion Benchmarkcited by 52
- 2024TESTEVAL: Benchmarking Large Language Models for Test Case Generationcited by 40
- 2024CoverUp: Effective High Coverage Test Generation for Pythoncited by 38
- 2024TDD-Bench Verified: Can LLMs Generate Tests for Issues Before They Get Resolved?cited by 34
- 2025Otter: Generating Tests from Issues to Validate SWE Patchescited by 25
- 2024AEGIS: An Agent-based Framework for General Bug Reproduction from Issue Descriptionscited by 16
- 2026CodeTracer: Towards Traceable Agent Statescited by 16
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2026SWE-Doctor: Guiding Software Engineering Agents with Runtime Diagnosis from Multi-Faceted Bug Reproduction Tests
- 2026SWE-Gate: Passing Functional Tests Is Not Enough for Software Engineering Agents
- 2026A Unified Issue Resolution Benchmark for Requirement Clarification, Planning, and Code Generation for Coding Agents
- 2026SWE Atlas: Benchmarking Coding Agents Beyond Issue Resolution
- 2026TestJack: Should you trust the results in coding benchmarks? Agentic Coding Benchmarks Auditing via Evaluator Evolution
- 2026Breaking, Stale, or Missing? Benchmarking Coding Agents on Project-Level Test Evolution
- 2025Can Old Tests Do New Tricks for Resolving SWE Issues?
- 2026SWE-Duel: Towards a Self-Scaling Arena for Coding Agents