Lune

ICSE2026Top-tier venue

Heterogeneous Prompting and Execution Feedback for SWE Issue Test Generation and Selection

Toufique Ahmed, Jatin Ganhotra, Avraham Shinnar, Martin Hirzel

Abstract

A software engineering issue (SWE issue) is easier to resolve when accompanied by a reproduction test. Unfortunately, most issues do not come with functioning reproduction tests, so this paper explores how to generate them automatically. One technique that helps with this task is inference scaling, but traditional temperature-based scaling tends to lack diversity. This paper introduces heterogeneous prompting to address this problem. Another technique that helps with this task is execution feedback, but this is hampered by the fact that the new code (after issue resolution) to execute does not yet exist. This paper introduces novel approaches to get around that problem. We implemented our techniques in a new reproduction test generator called e-Otter++. Experiments show that e-Otter++ represents a leap ahead in the state-of-the-art for this problem, generating tests with an average fail-to-pass rate of 63% on the TDD-Bench Verified benchmark.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

2 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • SWT-Bench: Testing and Validating Real-World Bug-Fixes with Code Agents cites Large Language Models are Few-shot Testers: Exploring LLM-based General Bug Reproduction
  • iCoRe: An Iterative Correlation-Aware Retriever for Bug Reproduction Test Generation cites SWT-Bench: Testing and Validating Real-World Bug-Fixes with Code Agents
  • iCoRe: An Iterative Correlation-Aware Retriever for Bug Reproduction Test Generation cites SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineering
  • iCoRe: An Iterative Correlation-Aware Retriever for Bug Reproduction Test Generation cites AutoCodeRover: Autonomous Program Improvement
  • iCoRe: An Iterative Correlation-Aware Retriever for Bug Reproduction Test Generation cites Large Language Models are Few-shot Testers: Exploring LLM-based General Bug Reproduction
  • SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineering cites SWE-bench: Can Language Models Resolve Real-world Github Issues?
  • SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineering cites Large Language Models are Few-shot Testers: Exploring LLM-based General Bug Reproduction
  • AutoCodeRover: Autonomous Program Improvement cites SWE-bench: Can Language Models Resolve Real-world Github Issues?
  • AutoCodeRover: Autonomous Program Improvement cites SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineering
  • Can Old Tests Do New Tricks for Resolving SWE Issues? cites SWT-Bench: Testing and Validating Real-World Bug-Fixes with Code Agents
  • Can Old Tests Do New Tricks for Resolving SWE Issues? cites SWE-bench: Can Language Models Resolve Real-world Github Issues?
  • Can Old Tests Do New Tricks for Resolving SWE Issues? cites AutoCodeRover: Autonomous Program Improvement
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers2

  1. iCoRe: An Iterative Correlation-Aware Retriever for Bug Reproduction Test GenerationJunyi Wang, Jialun Cao, Zhongxin LiuFSE 2026
  2. Can Old Tests Do New Tricks for Resolving SWE Issues?Yang Chen, Toufique Ahmed, Reyhaneh Jabbarvand, Martin HirzelFSE 2026

Builds on16

  1. SWE-bench: Can Language Models Resolve Real-world Github Issues?Carlos E. Jimenez, John Yang, Alexander Wettig, Shunyu Yao et al.ICLR 2024 · 2,082 citations
  2. SWE-agent: Agent-Computer Interfaces Enable Automated Software EngineeringJohn Yang, Carlos E. Jimenez, Alexander Wettig, Kilian Lieret et al.NeurIPS 2024 · 2,059 citations
  3. SWT-Bench: Testing and Validating Real-World Bug-Fixes with Code AgentsNiels Mündler, Mark Niklas Müller, Jingxuan He, Martin T. VechevNeurIPS 2024 · 172 citations
  4. Large Language Models are Few-shot Testers: Exploring LLM-based General Bug ReproductionSungmin Kang, Juyeon Yoon, Shin YooICSE 2023 · 163 citations
  5. AutoCodeRover: Autonomous Program ImprovementYuntong Zhang, Haifeng Ruan, Zhiyu Fan, Abhik RoychoudhuryISSTA 2024 · 96 citations

Related papers

  1. Otter: Generating Tests from Issues to Validate SWE PatchesToufique Ahmed, Jatin Ganhotra, Rangeet Pan, Avraham Shinnar et al.ICML 2025
  2. Issue2Test: Generating Reproducing Test Cases from Issue ReportsNoor Nashid, Islem Bouzenia, Michael Pradel, Ali MesbahICSE 2026 · 1 citation
  3. EGSS: Entropy-guided Stepwise Scaling for Reliable Software EngineeringChenhui Mao, Yuanting Lei, Zhixiang Wei, Ming Liang et al.ACL 2026
  4. AssertFlip: Reproducing Bugs via Inversion of LLM-Generated Passing TestsLara Khatib, Noble Saji Mathews, Meiyappan NagappanICSE 2026 · 1 citation
  5. SWE-Swiss: A Multi-Task Fine-Tuning and RL Recipe for High-Performance Issue ResolutionZhenyu He, Qingping Yang, Wei Shen, Xiaojian Zhong et al.ACL Findings 2026
Dusk over the sea between two cliffs drawn in fine vertical lines