English

Investigating Test Overfitting on SWE-bench

Software Engineering 2026-04-06 v3 Machine Learning

Abstract

Tests can be useful towards resolving issues on code repositories. However, relying too much on tests for issue resolution can lead to code that technically passes observed tests but actually misses important cases or even breaks functionality. This problem, called test overfitting, is exacerbated by the fact that issues usually lack readily executable tests. Instead, several issue resolution systems use tests auto-generated from issues, which may be imperfect. Some systems even iteratively refine code and tests jointly. This paper presents the first empirical study of test overfitting in this setting.

Keywords

Cite

@article{arxiv.2511.16858,
  title  = {Investigating Test Overfitting on SWE-bench},
  author = {Toufique Ahmed and Jatin Ganhotra and Avraham Shinnar and Martin Hirzel},
  journal= {arXiv preprint arXiv:2511.16858},
  year   = {2026}
}
R2 v1 2026-07-01T07:48:10.106Z