Reproduce “Benchmarking LLMs for Unit Test Generation from Real-World Functions” on OpenResearch

Turn your favorite coding agents into research agents that review literature, develop hypotheses, and run experiments.

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

About this paper

Dong Huang, Jie M. Zhang, Mark Harman, Qianru Zhang, Mingzhe Du, See-Kiong Ng

The authors introduce ULT, a benchmark of complex real-world Python functions screened for detected public tests, and compare it with PLT and TestEval. Across 12 LLMs, average Pass@5—the share of five generated tests that are correct—is 12.57% on ULT, 44.45% on PLT, and 51.93% on TestEval. At matched complexity, higher PLT branch coverage suggests possible leakage, but does not prove memorization.

Summary by alphaXiv.

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