{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,10,8]],"date-time":"2026-10-08T11:57:17Z","timestamp":1791460637937,"version":"4.3.4"},"reference-count":43,"publisher":"Association for Computing Machinery (ACM)","issue":"FSE","license":[{"start":{"date-parts":[[2026,6,30]],"date-time":"2026-06-30T00:00:00Z","timestamp":1782777600000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/creativecommons.org\/licenses\/by\/4.0\/legalcode"}],"content-domain":{"domain":[],"crossmark-restriction":false},"short-container-title":["Proc. ACM Softw. Eng."],"published-print":{"date-parts":[[2026,6,30]]},"abstract":"<jats:p>Test suites in real-world projects are often large and achieve high code coverage, yet they remain insufficient for detecting all bugs. The abundance of unresolved issues in open-source project trackers highlights this gap. While regression tests are typically designed to ensure past functionality is preserved in the new version, they can also serve a complementary purpose: debugging the current version. Specifically, regression tests can (1) enhance the generation of reproduction tests for newly reported issues, and (2) validate that patches do not regress existing functionality. We present TestPrune, a fully automated technique that leverages issue tracker reports and strategically reuses regression tests for both bug reproduction and patch validation. A key contribution of TestPrune is its ability to automatically minimize the regression suite to a small, highly relevant subset of tests. Due to the predominance of LLM-based debugging techniques, this minimization is essential as large test suites exceed context limits, introduce noise, and inflate inference costs. TestPrune can be plugged into any agentic bug repair pipeline and orthogonally improve overall performance. As a proof of concept, we show that TestPrune leads to a 6.2<\/jats:p>","DOI":"10.1145\/3808148","type":"journal-article","created":{"date-parts":[[2026,6,30]],"date-time":"2026-06-30T17:06:14Z","timestamp":1782839174000},"page":"3186-3207","source":"Crossref","is-referenced-by-count":4,"title":["Can Old Tests Do New Tricks for Resolving SWE Issues?"],"prefix":"10.1145","volume":"3","author":[{"ORCID":"https:\/\/orcid.org\/0009-0008-1409-4163","authenticated-orcid":false,"given":"Yang","family":"Chen","sequence":"first","affiliation":[{"name":"University of Illinois at Urbana-Champaign, Urbana, USA"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-4427-1350","authenticated-orcid":false,"given":"Toufique","family":"Ahmed","sequence":"additional","affiliation":[{"name":"IBM Research, Yorktown Heights, USA"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0000-0002-0668-8526","authenticated-orcid":false,"given":"Reyhaneh","family":"Jabbarvand","sequence":"additional","affiliation":[{"name":"University of Illinois at Urbana-Champaign, Urbana, USA"}],"role":[{"vocabulary":"crossref","role":"author"}]},{"ORCID":"https:\/\/orcid.org\/0009-0006-8840-6065","authenticated-orcid":false,"given":"Martin","family":"Hirzel","sequence":"additional","affiliation":[{"name":"IBM Research, Yorktown Heights, USA"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"320","published-online":{"date-parts":[[2026,6,30]]},"reference":[{"key":"e_1_2_1_1_1","volume-title":"International Conference on Machine Learning (ICML). https:\/\/openreview.net\/attachment?id=b0jYs6JOZu&name=pdf","author":"Ahmed Toufique","year":"2025","unstructured":"Toufique Ahmed, Jatin Ganhotra, Rangeet Pan, Avraham Shinnar, Saurabh Sinha, and Martin Hirzel. 2025. Otter: Generating Tests from Issues to Validate SWE Patches. In International Conference on Machine Learning (ICML). https:\/\/openreview.net\/attachment?id=b0jYs6JOZu&name=pdf"},{"key":"e_1_2_1_2_1","volume-title":"Heterogeneous Prompting and Execution Feedback for SWE Issue Test Generation and Selection. In International Conference on Software Engineering (ICSE).","author":"Ahmed Toufique","year":"2026","unstructured":"Toufique Ahmed, Jatin Ganhotra, Avraham Shinnar, and Martin Hirzel. 2026. Heterogeneous Prompting and Execution Feedback for SWE Issue Test Generation and Selection. In International Conference on Software Engineering (ICSE)."},{"key":"e_1_2_1_3_1","unstructured":"Toufique Ahmed Martin Hirzel Rangeet Pan Avraham Shinnar and Saurabh Sinha. 2024. TDD-Bench Verified: Can LLMs Generate Tests for Issues Before They Get Resolved? https:\/\/arxiv.org\/abs\/2412.02883"},{"key":"e_1_2_1_4_1","volume-title":"International Conference on Software Engineering (ICSE).","author":"Applis Leonhard","year":"2026","unstructured":"Leonhard Applis, Yuntong Zhang, Shanchao Liang, Nan Jiang, Lin Tan, and Abhik Roychoudhury. 2026. Unified Software Engineering agent as AI Software Engineer. In International Conference on Software Engineering (ICSE)."},{"key":"e_1_2_1_5_1","doi-asserted-by":"publisher","DOI":"10.5555\/998675.999417"},{"key":"e_1_2_1_6_1","volume-title":"Unveiling Pitfalls: Understanding Why AI-driven Code Agents Fail at GitHub Issue Resolution. arXiv preprint arXiv:2503.12374","author":"Chen Zhi","year":"2025","unstructured":"Zhi Chen, Wei Ma, and Lingxiao Jiang. 2025. Unveiling Pitfalls: Understanding Why AI-driven Code Agents Fail at GitHub Issue Resolution. arXiv preprint arXiv:2503.12374 (2025)."},{"key":"e_1_2_1_7_1","unstructured":"Zhaoling Chen Xiangru Tang Gangda Deng Fang Wu Jialong Wu Zhiwei Jiang Viktor Prasanna Arman Cohan and Xingyao Wang. 2025. LocAgent: Graph-Guided LLM Agents for Code Localization. https:\/\/arxiv.org\/abs\/2503.09089"},{"key":"e_1_2_1_8_1","unstructured":"Runxiang Cheng Michele Tufano J\u00fcrgen Cito Jos\u00e9 Cambronero Pat Rondon Renyao Wei Aaron Sun and Satish Chandra. 2025. Agentic Bug Reproduction for Effective Automated Program Repair at Google. https:\/\/arxiv.org\/abs\/ 2502.01821"},{"key":"e_1_2_1_9_1","volume-title":"Oliver Jaffe, Dane Sherburn, Giulio Starace, Evan Mays, Rachel Dias, Marwan Aljubeh, Mia Glaese, Carlos E. Jimenez, John Yang, Kevin Liu, and Aleksander Madry.","author":"Chowdhury Neil","year":"2024","unstructured":"Neil Chowdhury, James Aung, Chan Jun Shern, Oliver Jaffe, Dane Sherburn, Giulio Starace, Evan Mays, Rachel Dias, Marwan Aljubeh, Mia Glaese, Carlos E. Jimenez, John Yang, Kevin Liu, and Aleksander Madry. 2024. Introducing SWE-bench Verified. https:\/\/openai.com\/index\/introducing-swe-bench-verified\/"},{"key":"e_1_2_1_10_1","volume-title":"Codemonkeys: Scaling test-time compute for software engineering. arXiv preprint arXiv:2501.14723","author":"Ehrlich Ryan","year":"2025","unstructured":"Ryan Ehrlich, Bradley Brown, Jordan Juravsky, Ronald Clark, Christopher R\u00e9, and Azalia Mirhoseini. 2025. Codemonkeys: Scaling test-time compute for software engineering. arXiv preprint arXiv:2501.14723 (2025)."},{"key":"e_1_2_1_11_1","volume-title":"Trae Agent: An LLM-based Agent for Software Engineering with Test-time Scaling. https:\/\/arxiv.org\/abs\/2507.23370","author":"Gao Pengfei","year":"2025","unstructured":"Pengfei Gao, Zhao Tian, Xiangxin Meng, Xinchen Wang, Ruida Hu, Yuanan Xiao, Yizhou Liu, Zhao Zhang, Junjie Chen, Cuiyun Gao, Yun Lin, Yingfei Xiong, Chao Peng, and Xia Liu. 2025. Trae Agent: An LLM-based Agent for Software Engineering with Test-time Scaling. https:\/\/arxiv.org\/abs\/2507.23370"},{"key":"e_1_2_1_12_1","doi-asserted-by":"publisher","DOI":"10.1145\/3715008"},{"key":"e_1_2_1_13_1","volume-title":"2009 IEEE 31st international conference on software engineering. IEEE, 419-429","author":"Hsu Hwa-You","year":"2009","unstructured":"Hwa-You Hsu and Alessandro Orso. 2009. MINTS: A general framework and tool for supporting test-suite minimization. In 2009 IEEE 31st international conference on software engineering. IEEE, 419-429."},{"key":"e_1_2_1_14_1","unstructured":"Aaron Hurst Adam Lerer Adam P Goucher Adam Perelman Aditya Ramesh Aidan Clark AJ Ostrow Akila Welihinda Alan Hayes Alec Radford et al. 2024. Gpt-4o system card. arXiv preprint arXiv:2410.21276 (2024)."},{"key":"e_1_2_1_15_1","doi-asserted-by":"publisher","DOI":"10.1145\/2931037.2931067"},{"key":"e_1_2_1_16_1","unstructured":"Naman Jain Jaskirat Singh Manish Shetty Liang Zheng Koushik Sen and Ion Stoica. 2025. R2E-Gym: Procedural Environments and Hybrid Verifiers for Scaling Open-Weights SWE Agents. https:\/\/arxiv.org\/abs\/2504.07164"},{"key":"e_1_2_1_17_1","doi-asserted-by":"crossref","first-page":"549","DOI":"10.1109\/ICSM.2005.88","volume-title":"21st IEEE International Conference on Software Maintenance (ICSM'05)","author":"Jeffrey Dennis","year":"2005","unstructured":"Dennis Jeffrey and Neelam Gupta. 2005. Test suite reduction with selective redundancy. In 21st IEEE International Conference on Software Maintenance (ICSM'05). IEEE, 549-558."},{"key":"e_1_2_1_18_1","doi-asserted-by":"crossref","unstructured":"Zhonghao Jiang Xiaoxue Ren Meng Yan Wei Jiang Yong Li and Zhongxin Liu. 2025. CoSIL: Software Issue Localization via LLM-Driven Code Repository Graph Searching. https:\/\/arxiv.org\/abs\/2503.22424","DOI":"10.1109\/ASE63991.2025.00249"},{"key":"e_1_2_1_19_1","volume-title":"International Conference on Learning Representations (ICLR).","author":"Jimenez Carlos E.","year":"2024","unstructured":"Carlos E. Jimenez, John Yang, Alexander Wettig, Shunyu Yao, Kexin Pei, Ofir Press, and Karthik Narasimhan. 2024. SWE-bench: Can Language Models Resolve Real-World GitHub Issues?. In International Conference on Learning Representations (ICLR)."},{"key":"e_1_2_1_20_1","doi-asserted-by":"publisher","DOI":"10.1109\/TSE.2003.1183927"},{"key":"e_1_2_1_21_1","volume-title":"International Conference on Software Engineering (ICSE).","author":"Khatib Lara","year":"2026","unstructured":"Lara Khatib, Noble Saji Mathews, and Meiyappan Nagappan. 2026. AssertFlip: Reproducing Bugs via Inversion of LLM-Generated Passing Tests. In International Conference on Software Engineering (ICSE)."},{"key":"e_1_2_1_22_1","volume-title":"Same task, more tokens: the impact of input length on the reasoning performance of large language models. arXiv preprint arXiv:2402.14848","author":"Levy Mosh","year":"2024","unstructured":"Mosh Levy, Alon Jacoby, and Yoav Goldberg. 2024. Same task, more tokens: the impact of input length on the reasoning performance of large language models. arXiv preprint arXiv:2402.14848 (2024)."},{"key":"e_1_2_1_23_1","volume-title":"PatchPilot: A Stable and Cost-Efficient Agentic Patching Framework. In International Conference on Machine Learning (ICML). https:\/\/openreview.net\/forum?id=ybODpT8ydV","author":"Li Hongwei","year":"2025","unstructured":"Hongwei Li, Yuheng Tang, Shiqi Wang, and Wenbo Guo. 2025. PatchPilot: A Stable and Cost-Efficient Agentic Patching Framework. In International Conference on Machine Learning (ICML). https:\/\/openreview.net\/forum?id=ybODpT8ydV"},{"key":"e_1_2_1_24_1","volume-title":"Proceedings of the 40th International Conference on Software Engineering. 1039-1049","author":"Lin Jun-Wei","year":"2018","unstructured":"Jun-Wei Lin, Reyhaneh Jabbarvand, Joshua Garcia, and Sam Malek. 2018. Nemo: Multi-criteria test-suite minimization with integer nonlinear programming. In Proceedings of the 40th International Conference on Software Engineering. 1039-1049."},{"key":"e_1_2_1_25_1","doi-asserted-by":"publisher","DOI":"10.1007\/BF02295996"},{"key":"e_1_2_1_26_1","volume-title":"SWT-Bench: Testing and Validating Real-World Bug-Fixes with Code Agents. In Conference on Neural Information Processing Systems (NeurIPS).","author":"M\u00fcndler Niels","year":"2024","unstructured":"Niels M\u00fcndler, Mark Niklas M\u00fcller, Jingxuan He, and Martin Vechev. 2024. SWT-Bench: Testing and Validating Real-World Bug-Fixes with Code Agents. In Conference on Neural Information Processing Systems (NeurIPS)."},{"key":"e_1_2_1_27_1","volume-title":"Issue2Test: Generating Reproducing Test Cases from Issue Reports. arXiv preprint arXiv:2503.16320","author":"Nashid Noor","year":"2025","unstructured":"Noor Nashid, Islem Bouzenia, Michael Pradel, and Ali Mesbah. 2025. Issue2Test: Generating Reproducing Test Cases from Issue Reports. arXiv preprint arXiv:2503.16320 (2025)."},{"key":"e_1_2_1_28_1","doi-asserted-by":"publisher","DOI":"10.1109\/ICSE48619.2023.00146"},{"key":"e_1_2_1_29_1","volume-title":"LTM: Scalable and Black-Box Similarity-Based Test Suite Minimization Based on Language Models","author":"Pan Rongqi","year":"2024","unstructured":"Rongqi Pan, Taher A Ghaleb, and Lionel C Briand. 2024. LTM: Scalable and Black-Box Similarity-Based Test Suite Minimization Based on Language Models. IEEE Transactions on Software Engineering (2024)."},{"key":"e_1_2_1_30_1","volume-title":"Yingbo Zhou, Semih Yavuz, Caiming Xiong, Heng Ji, and Shafiq Joty.","author":"Reddy Revanth Gangi","year":"2025","unstructured":"Revanth Gangi Reddy, Tarun Suresh, JaeHyeok Doo, Ye Liu, Xuan Phi Nguyen, Yingbo Zhou, Semih Yavuz, Caiming Xiong, Heng Ji, and Shafiq Joty. 2025. SweRank: Software Issue Localization with Code Ranking. https:\/\/arxiv.org\/abs\/ 2505.07849"},{"key":"e_1_2_1_31_1","doi-asserted-by":"publisher","unstructured":"Haifeng Ruan Yuntong Zhang and Abhik Roychoudhury. 2025. SpecRover: Code Intent Extraction via LLMs. https: \/\/doi.org\/10.1109\/ICSE55347.2025.00080 10.1109\/ICSE55347.2025.00080","DOI":"10.1109\/ICSE55347.2025.00080"},{"key":"e_1_2_1_32_1","doi-asserted-by":"publisher","DOI":"10.1145\/3180155.3180203"},{"key":"e_1_2_1_33_1","doi-asserted-by":"publisher","DOI":"10.1016\/j.jss.2014.08.024"},{"key":"e_1_2_1_34_1","doi-asserted-by":"publisher","unstructured":"Xinchen Wang Pengfei Gao Xiangxin Meng Chao Peng Ruida Hu Yun Lin and Cuiyun Gao. 2025. AEGIS: An Agent-based Framework for General Bug Reproduction from Issue Descriptions. In Industry paper at Symposium on the Foundations of Software Engineering (FSE-Industry). 331-342. https:\/\/dl.acm.org\/doi\/10.1145\/3696630.3728557 10.1145\/3696630.3728557","DOI":"10.1145\/3696630.3728557"},{"key":"e_1_2_1_35_1","volume-title":"arXiv preprint arXiv:2503.15223","author":"Wang You","year":"2025","unstructured":"You Wang, Michael Pradel, and Zhongxin Liu. 2025. Are\" Solved Issues\" in SWE-bench Really Solved Correctly? An Empirical Study. arXiv preprint arXiv:2503.15223 (2025)."},{"key":"e_1_2_1_36_1","volume-title":"Wang","author":"Wei Yuxiang","year":"2025","unstructured":"Yuxiang Wei, Olivier Duchenne, Jade Copet, Quentin Carbonneaux, Lingming Zhang, Daniel Fried, Gabriel Synnaeve, Rishabh Singh, and Sida I. Wang. 2025. SWE-RL: Advancing LLM Reasoning via Reinforcement Learning on Open Software Evolution. https:\/\/arxiv.org\/abs\/2502.18449"},{"key":"e_1_2_1_37_1","doi-asserted-by":"publisher","DOI":"10.1145\/3715754"},{"key":"e_1_2_1_38_1","unstructured":"Chunqiu Steven Xia Zhe Wang Yan Yang Yuxiang Wei and Lingming Zhang. 2025. Live-SWE-agent: Can Software Engineering Agents Self-Evolve on the Fly? arXiv:2511.13646 [cs.SE] https:\/\/arxiv.org\/abs\/2511.13646"},{"key":"e_1_2_1_39_1","volume-title":"20th IEEE International Conference on Software Maintenance, 2004. Proceedings. IEEE, 28-37","author":"Xie Tao","year":"2004","unstructured":"Tao Xie and David Notkin. 2004. Checking inside the black box: Regression testing based on value spectra differences. In 20th IEEE International Conference on Software Maintenance, 2004. Proceedings. IEEE, 28-37."},{"key":"e_1_2_1_40_1","volume-title":"ReAct: Synergizing Reasoning and Acting in Language Models. In International Conference on Learning Representations (ICLR).","author":"Yao Shunyu","year":"2023","unstructured":"Shunyu Yao, Jeffrey Zhao, Dian Yu, Nan Du, Izhak Shafran, Karthik Narasimhan, and Yuan Cao. 2023. ReAct: Synergizing Reasoning and Acting in Language Models. In International Conference on Learning Representations (ICLR)."},{"key":"e_1_2_1_41_1","doi-asserted-by":"publisher","DOI":"10.1002\/stv.430"},{"key":"e_1_2_1_42_1","volume-title":"Ke Ding, and Jishen Zhao.","author":"Yu Zhongming","year":"2025","unstructured":"Zhongming Yu, Hejia Zhang, Yujie Zhao, Hanxian Huang, Matrix Yao, Ke Ding, and Jishen Zhao. 2025. OrcaLoca: An LLM Agent Framework for Software Issue Localization. https:\/\/arxiv.org\/abs\/2502.00350"},{"key":"e_1_2_1_43_1","doi-asserted-by":"publisher","DOI":"10.1145\/3650212.3680384"}],"container-title":["Proceedings of the ACM on Software Engineering"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/3808148","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2026,6,30]],"date-time":"2026-06-30T18:16:23Z","timestamp":1782843383000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3808148"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2026,6,30]]},"references-count":43,"journal-issue":{"issue":"FSE","published-print":{"date-parts":[[2026,6,30]]}},"alternative-id":["10.1145\/3808148"],"URL":"https:\/\/doi.org\/10.1145\/3808148","relation":{},"ISSN":["2994-970X"],"issn-type":[{"value":"2994-970X","type":"electronic"}],"subject":[],"published":{"date-parts":[[2026,6,30]]}}}