More Tests, More Repair? Edit Scope and Evaluation Lists in SWE-bench Verified
Abstract
The number of tests associated with a software issue is an appealing shortcut for describing evaluation breadth. Its relationship to repair size is less straightforward. In the 500 public SWE-bench Verified records, gold patches changed a median of seven lines, while designated fail-to-pass lists contained a median of one test. Repository-balanced and instance-weighted mean test counts were 2.28 and 3.03. Among 497 records supporting a common repository-effects comparison, the log changed-line coefficient was 0.030, with an HC3 interval spanning −0.033 to 0.094; multiple-file repairs had a larger positive association. These static artifact results do not measure agent success, semantic test coverage, or co-cheating. They support describing evaluation lists separately from repair complexity.
Keywords: software repair; benchmark composition; test oracles; patch scope; repository effects
References
- Just, René; Jalali, Darioush; Ernst, Michael D.. (2014). Defects4J: a database of existing faults to enable controlled testing studies for Java programs. Proceedings of the 2014 International Symposium on Software Testing and Analysis. https://doi.org/10.1145/2610384.2628055
- Smith, Edward K.; Barr, Earl T.; Le Goues, Claire; Brun, Yuriy. (2015). Is the cure worse than the disease? overfitting in automated program repair. Proceedings of the 2015 10th Joint Meeting on Foundations of Software Engineering. https://doi.org/10.1145/2786805.2786825
- Arcuri, Andrea; Briand, Lionel. (2014). A Hitchhiker's guide to statistical tests for assessing randomized algorithms in software engineering. Software Testing, Verification and Reliability. https://doi.org/10.1002/stvr.1486
- White, Halbert. “A Heteroskedasticity-Consistent Covariance Matrix Estimator and a Direct Test for Heteroskedasticity.” Econometrica, vol. 48, no. 4, 1980, pp. 817–838. https://doi.org/10.2307/1912934.
- Wilkinson, Mark D.; Dumontier, Michel; Aalbersberg, IJsbrand Jan; Appleton, Gabrielle; Axton, Myles; Baak, Arie; Blomberg, Niklas; Boiten, Jan-Willem; da Silva Santos, Luiz Bonino; Bourne, Philip E.; Bouwman, Jildau; Brookes, Anthony J.; Clark, Tim; Crosas, Mercè; Dillo, Ingrid; Dumon, Olivier; Edmunds, Scott; Evelo, Chris T.; Finkers, Richard; Gonzalez-Beltran, Alejandra; Gray, Alasdair J.G.; Groth, Paul; Goble, Carole; Grethe, Jeffrey S.; Heringa, Jaap; ’t Hoen, Peter A.C; Hooft, Rob; Kuhn, Tobias; Kok, Ruben; Kok, Joost; Lusher, Scott J.; Martone, Maryann E.; Mons, Albert; Packer, Abel L.; Persson, Bengt; Rocca-Serra, Philippe; Roos, Marco; van Schaik, Rene; Sansone, Susanna-Assunta; Schultes, Erik; Sengstag, Thierry; Slater, Ted; Strawn, George; Swertz, Morris A.; Thompson, Mark; van der Lei, Johan; van Mulligen, Erik; Velterop, Jan; Waagmeester, Andra; Wittenburg, Peter; Wolstencroft, Katherine; Zhao, Jun; Mons, Barend. (2016). The FAIR Guiding Principles for scientific data management and stewardship. Scientific Data. https://doi.org/10.1038/sdata.2016.18.
- Zhu, Hong; Hall, Patrick A. V.; May, John H. R.. (1997). Software unit test coverage and adequacy. ACM Computing Surveys. https://doi.org/10.1145/267580.267590
- Jedlitschka, Andreas; Ciolkowski, Marcus; Pfahl, Dietmar. (2008). Reporting Experiments in Software Engineering. Guide to Advanced Empirical Software Engineering. https://doi.org/10.1007/978-1-84800-044-5_8
- Jimenez, Carlos E.; Yang, John; Wettig, Alexander; Yao, Shunyu; Pei, Kexin; Press, Ofir; Narasimhan, Karthik R.. (2024). SWE-bench: Can Language Models Resolve Real-World GitHub Issues?. The Twelfth International Conference on Learning Representations. https://openreview.net/forum?id=VTF8yNQM66
- Jacobs, Abigail Z.; Wallach, Hanna. (2021). Measurement and Fairness. Proceedings of the 2021 ACM Conference on Fairness, Accountability, and Transparency. https://doi.org/10.1145/3442188.3445901
- Barr, Earl T.; Harman, Mark; McMinn, Phil; Shahbaz, Muzammil; Yoo, Shin. (2015). The Oracle Problem in Software Testing: A Survey. IEEE Transactions on Software Engineering. https://doi.org/10.1109/tse.2014.2372785
- Gebru, Timnit, et al. "Datasheets for datasets" Communications of the ACM, 2021. https://doi.org/10.1145/3458723.
- Peng, Roger D.. (2011). Reproducible Research in Computational Science. Science. https://doi.org/10.1126/science.1213847
- Qi, Zichao; Long, Fan; Achour, Sara; Rinard, Martin. (2015). An analysis of patch plausibility and correctness for generate-and-validate patch generation systems. Proceedings of the 2015 International Symposium on Software Testing and Analysis. https://doi.org/10.1145/2771783.2771791
- Rothermel, G.; Untch, R.H.; Chengyun Chu; Harrold, M.J.. (2001). Prioritizing test cases for regression testing. IEEE Transactions on Software Engineering. https://doi.org/10.1109/32.962562
- Chen, Meijia; Li, Hao; Lu, Zheng; Lin, Hongshan; Tian, Junbai; Liu, Yichen; Tian, Zijun; Zou, Yufan; Sun, Shuhan; Chen, Hanxin; Zhang, Zeyu; Du, Weizhi; Li, Yueting; Shi, Tianyu; Khamis, Alaa. (2026). False Frontiers: Diagnosing and Mitigating Co-Cheating in Self-Evolving Search Agents. arXiv:2609.39102. https://arxiv.org/abs/2609.39102.
- MacKinnon, James G.; Webb, Matthew D.. (2017). Wild Bootstrap Inference for Wildly Different Cluster Sizes. Journal of Applied Econometrics. https://doi.org/10.1002/jae.2508
- Cameron, A. Colin, and Douglas L. Miller. “A Practitioner’s Guide to Cluster-Robust Inference.” Journal of Human Resources, vol. 50, no. 2, 2015, pp. 317–372. https://doi.org/10.3368/jhr.50.2.317.
- Wang, Richard Y.; Strong, Diane M.. (1996). Beyond Accuracy: What Data Quality Means to Data Consumers. Journal of Management Information Systems. https://doi.org/10.1080/07421222.1996.11518099
- Kitchenham, B.A.; Pfleeger, S.L.; Pickard, L.M.; Jones, P.W.; Hoaglin, D.C.; El Emam, K.; Rosenberg, J.. (2002). Preliminary guidelines for empirical research in software engineering. IEEE Transactions on Software Engineering. https://doi.org/10.1109/tse.2002.1027796
- Le Goues, Claire; Nguyen, ThanhVu; Forrest, Stephanie; Weimer, Westley. (2012). GenProg: A Generic Method for Automatic Software Repair. IEEE Transactions on Software Engineering. https://doi.org/10.1109/tse.2011.104
- SWE-bench maintainers. (2026b). SWE-bench evaluation guide. Online documentation, accessed16November2026. https://www.swebench.com/SWE-bench/guides/evaluation/
- Roberts, David R., et al. “Cross-validation strategies for data with temporal, spatial, hierarchical, or phylogenetic structure.” Ecography, vol. 40, no. 8, 2017, pp. 913-929. https://doi.org/10.1111/ecog.02881.
- OpenAI. (2024). Introducing SWE-bench Verified. Release documentation,13August2024; updated24February2025. https://openai.com/index/introducing-swe-bench-verified/
- Harris, Charles R.; Millman, K. Jarrod; van der Walt, Stéfan J.; Gommers, Ralf; Virtanen, Pauli; Cournapeau, David; Wieser, Eric; Taylor, Julian; Berg, Sebastian; Smith, Nathaniel J.; Kern, Robert; Picus, Matti; Hoyer, Stephan; van Kerkwijk, Marten H.; Brett, Matthew; Haldane, Allan; del Río, Jaime Fernández; Wiebe, Mark; Peterson, Pearu; Gérard-Marchant, Pierre; Sheppard, Kevin; Reddy, Tyler; Weckesser, Warren; Abbasi, Hameer; Gohlke, Christoph; Oliphant, Travis E.. (2020). Array programming with NumPy. Nature. https://doi.org/10.1038/s41586-020-2649-2.
- SWE-bench maintainers. (2026a). SWE-bench Verified: public test release. Dataset, commit78f471bf655a3137b2e8a75af1501690ec009ec3; accessed16November2026. https://huggingface.co/datasets/SWE-bench/SWE-bench_Verified/tree/78f471bf655a3137b2e8a75af1501690ec009ec3
- MacKinnon, James G; White, Halbert. (1985). Some heteroskedasticity-consistent covariance matrix estimators with improved finite sample properties. Journal of Econometrics. https://doi.org/10.1016/0304-4076(85)90158-7
- Kalliamvakou, Eirini; Gousios, Georgios; Blincoe, Kelly; Singer, Leif; German, Daniel M.; Damian, Daniela. (2014). The promises and perils of mining GitHub. Proceedings of the 11th Working Conference on Mining Software Repositories. https://doi.org/10.1145/2597073.2597074
- Pustejovsky, James E.; Tipton, Elizabeth. (2018). Small-Sample Methods for Cluster-Robust Variance Estimation and Hypothesis Testing in Fixed Effects Models. Journal of Business & Economic Statistics. https://doi.org/10.1080/07350015.2016.1247004
- Freedman, David A. (2006). On The So-Called “Huber Sandwich Estimator” and “Robust Standard Errors”. The American Statistician. https://doi.org/10.1198/000313006x152207
- Virtanen, Pauli; Gommers, Ralf; Oliphant, Travis E.; Haberland, Matt; Reddy, Tyler; Cournapeau, David; Burovski, Evgeni; Peterson, Pearu; Weckesser, Warren; Bright, Jonathan; van der Walt, Stéfan J.; Brett, Matthew; Wilson, Joshua; Millman, K. Jarrod; Mayorov, Nikolay; Nelson, Andrew R. J.; Jones, Eric; Kern, Robert; Larson, Eric; Carey, C J; Polat, İlhan; Feng, Yu; Moore, Eric W.; VanderPlas, Jake; Laxalde, Denis; Perktold, Josef; Cimrman, Robert; Henriksen, Ian; Quintero, E. A.; Harris, Charles R.; Archibald, Anne M.; Ribeiro, Antônio H.; Pedregosa, Fabian; van Mulbregt, Paul; SciPy 1.0 Contributors; Vijaykumar, Aditya; Bardelli, Alessandro Pietro; Rothberg, Alex; Hilboll, Andreas; Kloeckner, Andreas; Scopatz, Anthony; Lee, Antony; Rokem, Ariel; Woods, C. Nathan; Fulton, Chad; Masson, Charles; Häggström, Christian; Fitzgerald, Clark; Nicholson, David A.; Hagen, David R.; Pasechnik, Dmitrii V.; Olivetti, Emanuele; Martin, Eric; Wieser, Eric; Silva, Fabrice; Lenders, Felix; Wilhelm, Florian; Young, G.; Price, Gavin A.; Ingold, Gert-Ludwig; Allen, Gregory E.; Lee, Gregory R.; Audren, Hervé; Probst, Irvin; Dietrich, Jörg P.; Silterra, Jacob; Webber, James T; Slavič, Janko; Nothman, Joel; Buchner, Johannes; Kulick, Johannes; Schönberger, Johannes L.; de Miranda Cardoso, José Vinícius; Reimer, Joscha; Harrington, Joseph; Rodríguez, Juan Luis Cano; Nunez-Iglesias, Juan; Kuczynski, Justin; Tritz, Kevin; Thoma, Martin; Newville, Matthew; Kümmerer, Matthias; Bolingbroke, Maximilian; Tartre, Michael; Pak, Mikhail; Smith, Nathaniel J.; Nowaczyk, Nikolai; Shebanov, Nikolay; Pavlyk, Oleksandr; Brodtkorb, Per A.; Lee, Perry; McGibbon, Robert T.; Feldbauer, Roman; Lewis, Sam; Tygier, Sam; Sievert, Scott; Vigna, Sebastiano; Peterson, Stefan; More, Surhud; Pudlik, Tadeusz; Oshima, Takuya; Pingel, Thomas J.; Robitaille, Thomas P.; Spura, Thomas; Jones, Thouis R.; Cera, Tim; Leslie, Tim; Zito, Tiziano; Krauss, Tom; Upadhyay, Utkarsh; Halchenko, Yaroslav O.; Vázquez-Baeza, Yoshiki. (2020). SciPy 1.0: fundamental algorithms for scientific computing in Python. Nature Methods. https://doi.org/10.1038/s41592-019-0686-2.
Published
Issue
Section
License
Copyright (c) 2025 Henry Peterson, Tyler Coleman, Paul Lewis

This work is licensed under a Creative Commons Attribution 4.0 International License.