109
v1v2 (latest)

Investigating Test Overfitting on SWE-bench

Main:4 Pages
6 Figures
Bibliography:1 Pages
5 Tables
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.

View on arXiv
Comments on this paper