Research map / Large language models / Agents, code and math
SWE-Mutation: Can LLMs Generate Reliable Test Suites in Software Engineering?
Yuxuan Sun, Yuze Zhao, Yufeng Wang, Yao Du, Zhiyuan Ma, Jinbo Wang, Mengdi Zhang, Kai Zhang, Zhenya Huang
University of Science and Technology of China · Beihang University · Peking University · Neoshell.ai · Hefei Comprehensive National Science Center
Read the paperPlace an idea next to itCheck your own paper ↗
AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| use agentic semantic mutants instead of rule-based mutants (harder to kill) | test-generation evaluation, Claude-sonnet-4.5 · SWE-Mutation test generation | RDR (%): 75.43 -> 63.70 | Hurt |
| use agentic semantic mutants instead of few-shot LLM mutants | Claude-sonnet-4.5 · SWE-Mutation test generation | RDR (%): 69.52 -> 63.70 | Hurt |
| switch from Mini-Swe-Agent to Claude Code | Claude-sonnet-4.5, test repair · SWE-Mutation | VRR (%): 42.60 -> 59.20 | Improved |
| switch from Mini-Swe-Agent to Claude Code | Claude-sonnet-4.5, test repair · SWE-Mutation | RDR (%): 79.30 -> 81.15 | No clear effect |
| generate tests from scratch instead of repairing an existing suite | Claude-sonnet-4.5, Mini-Swe-Agent · SWE-Mutation | VRR (%): 42.60 -> 29.80 | Hurt |
| move from Python to nine-language multilingual setting | Claude-sonnet-4.5, test repair, Mini-Swe-Agent · SWE-Mutation vs Multilingual | VRR (%): 42.60 -> 33.33 | Hurt |
| move from Python to nine-language multilingual setting | Claude-sonnet-4.5, test repair, Mini-Swe-Agent · SWE-Mutation vs Multilingual | RDR (%): 79.30 -> 58.33 | Hurt |
| add the Locate module (file scope and trace graph) to mutant generation (ablation) | mutation framework · Locate ablation (100 instances) | F2P trigger rate (%): 15.00 -> 69.00 | Improved |
| add the Locate module to mutant generation (ablation) | mutation framework · Locate ablation (100 instances) | validity rate (%): 84.00 -> 92.00 | Improved |
| replace Claude-4 mutant generator with DeepSeek-V3.1 or Qwen3-Coder (ablation) | mutation backbone, test repair, Claude Code · SWE-Mutation (N=500) | RDR change (pp): -1.13 for Claude-sonnet-4.5 under DeepSeek-V3.1 backbone | No clear effect |
| use human-written golden tests instead of self-generated tests | Claude-sonnet-4 · SWE-bench Verified | resolve rate (%): 63.80 -> 81.60 | Improved |
Open problems this paper states
- “Reliability rests on repository golden solutions and test suites being ground truth, so imperfections could bias evaluation.” → Passing the tests does not show the code is correct. (an open problem in execution-based code verification)
Open problems in execution-based code verification
Can execution-based code verification be trusted beyond Python, small benchmarks and the tests it relies on?
- Evaluated on Python or one other language only. · 17 papers state it
- Only a few models were tested, and larger ones were left out. · 16 papers state it
- Passing the tests does not show the code is correct. · 15 papers state it
Closest papers by meaning
- SWT-Bench: Testing and Validating Real-World Bug-Fixes with Code Agents (NeurIPS 2024 · similarity 0.91)
- Rethinking Verification for LLM Code Generation: From Generation to Testing (NeurIPS 2025 · similarity 0.89)
- SWE-bench Goes Live! (NeurIPS 2025 · similarity 0.88)
- TestGenEval: A Real World Unit Test Generation and Test Completion Benchmark (ICLR 2025 · similarity 0.88)
- DPIAgent: Divide, Protocol, Isolate for Agentic Reproduction Test Generation (NeurIPS 2026 · similarity 0.88)
- SWE-RL: Advancing LLM Reasoning via Reinforcement Learning on Open Software Evolution (NeurIPS 2025 · similarity 0.88)
Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.