Reproduce “DiffTestGen: Change-Directed LLM-Based Testing for Exposing Behavioral Differences” on OpenResearch

Run Claude Code, Codex or any coding agent as a research agent: literature, hypotheses and experiments on your laptop, cluster or cloud GPUs.

Universal app for Apple silicon and Intel. Requires macOS 11 or later.

About this paper

Huimin Hu, Cristian Cadar, Michael Pradel

DiffTestGen helps language models generate regression tests that reach changed code by using static call-graph information and documentation, then iterating with feedback on uncovered changed lines. On 439 Python pull requests, with GPT-5-mini, it found behavioral differences in 350 and achieved 92.7% union coverage, versus Testora’s 251 and 77.1%; differences are not necessarily bugs.

Summary by alphaXiv.

Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.