EvoOtter: Evolutionary Reproduction Test Generator

Toufique Ahmed, Jatin Ganhotra, Avraham Shinnar, Martin Hirzel
7/3/2026
cs.SEcs.LG

No confident code implementation found for this paper.

Abstract

Before fixing an issue, it is useful to first reproduce it by generating a bug reproduction test (BRT). However, generating a BRT is itself a challenging task, because issue descriptions tend to be informal, making it difficult to determine whether a candidate BRT indeed fails for the reason in the issue.

Show full abstract

Prior work has attempted to tackle this problem via inference scaling, using large language models to generate many BRTs and patches, then using execution feedback to select and improve them. Unfortunately, this is expensive and the feedback is unreliable. This paper explores evolutionary programming for BRT generation to sharpen the feedback, while enhancing evolutionary programming to keep costs in check. Our new approach, EvoOtter, controls test execution costs via successive halving. Furthermore, it controls LLM costs via batched crossover for an entire generation in a single LLM call, as well as via rule-based code mutations, with a new fitness score tailored for BRTs. As a result, EvoOtter generates state-of-the-art quality BRTs at the fraction of the cost of prior inference-scaling approaches to this problem. More broadly, this paper points at how to efficiently and effectively combine evolutionary programming with large language models for software engineering.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{ahmed2026evootter,
  title  = {EvoOtter: Evolutionary Reproduction Test Generator},
  author = {Toufique Ahmed and Jatin Ganhotra and Avraham Shinnar and Martin Hirzel},
  year   = {2026},
  eprint = {2607.02854},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2607.02854v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2607.02854.svg)](https://codeofpaper.com/paper/2607.02854)

Discussion