SpecRover: Code Intent Extraction via LLMs
Open accessAbstract
Autonomous program improvement typically involves automatically producing bug fixes and feature additions. Such program improvement can be accomplished by a combination of large language model (LLM) and program analysis capabilities, in the form of an LLM agent. Since program repair or program improvement typically requires a specification of intended behavior - specification inference can be useful for producing high quality program patches. In this work, we examine efficient and low-cost workflows for iterative specification inference within an LLM agent. Given a GitHub issue to be resolved in a software project, our goal is to conduct iterative code search accompanied by specification inference - thereby inferring intent from both the project structure and behavior. The intent thus captured is examined by a reviewer agent with the goal of vetting the patches as well as providing a measure of confidence in the vetted patches. Our approach SpecRover (AutoCodeRover-v2) is built on the open-source LLM agent AutoCodeRover. In an evaluation on the full SWE-Bench consisting of 2294 GitHub issues, it shows more than 50% improvement in efficacy over AutoCodeRover. Compared to the open-source agents available, our work shows modest cost ($0.65 per issue) in resolving an average GitHub issue in SWE-Bench lite. The production of explanation by SpecRover allows for a better "signal" to be given to the developer, on when the suggested patches can be accepted with confidence. SpecRover also seeks to demonstrate the continued importance of specification inference in automated program repair, even as program repair technologies enter the LLM era.
The claims and statistics of this paper haven’t been checked yet.
Run the check — free, no account needed. It reads the open-access text and checks the sources it cites.
Integrity signals
Registry
Cites
Statistics
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Run the check — free, no account needed. It reads the open-access text and checks the sources it cites.
Claims other papers make about this one
Each is checked against this paper’s own text: does it say what the citing paper says it does?
Following prior work, Agentless generates additional reproduction tests to help with patch selection.
“Following prior work [Chen et al. 2024;Ruan et al. 2024], Agentless generates additional reproduction test to help with patch selection.”
From Demystifying LLM-Based Software Engineering Agents (2025) · cites this paper as Ruan et al. 2024
The Methodology overview describes SpecRover generating a reproducer test and reviewing it alongside a candidate patch. But the Patch Selection section says SpecRover selects among patches using the natural-language issue description, not additional reproduction tests; the paper also does not say that Agentless generates such tests. Page numbers are unavailable in our copy. (LLM, conf=0.84)
Experimental — accuracy not yet measured
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Cites
GenProg: A Generic Method for Automatic Software Repair
Goues, C. L., Nguyen, T. H., Forrest, S., & Weimer, W. R. (2011) · IEEE Transactions on Software Engineering · doi:10.1109/tse.2011.104 · Cited by 1,084 · see citing works
Evaluating large language models trained on code
Chen, M. (2024) · TIB Data Manager · doi:10.57702/wbv3e61b · Cited by 737 · see citing works
Mechtaev, S., Yi, J., & Roychoudhury, A. (2016) · ACM/IEEE International Conference on Software Engineering: Companion Proceedings (ICSE-Companion) · doi:10.1145/2884781.2884807 · Cited by 515 · see citing works
Self-citationAutomatic patch generation by learning correct code
Long, F., & Rinard, M. (2016) · ACM SIGPLAN-SIGACT Symposium on Principles of Programming Languages (POPL) · doi:10.1145/2837614.2837617 · Cited by 493 · see citing works
Asleep at the Keyboard? Assessing the Security of GitHub Copilot’s Code Contributions
Pearce, H., Ahmad, B., Tan, B., Dolan-Gavitt, B., & Karri, R. (2022) · 2022 IEEE Symposium on Security and Privacy (SP) · doi:10.1109/sp46214.2022.9833571 · Cited by 476 · see citing works
Le Goues, C., Pradel, M., & Roychoudhury, A. (2019) · Communications of the ACM · doi:10.1145/3318162 · Cited by 410 · see citing works
Self-citationSemFix: Program repair via semantic analysis
Nguyen, H. D. T., Qi, D., Roychoudhury, A., & Chandra, S. (2013) · ACM/IEEE International Conference on Software Engineering: Companion Proceedings (ICSE-Companion) · doi:10.1109/icse.2013.6606623 · Cited by 397 · see citing works
Self-citationProgram Synthesis with Large Language Models
Austin, J., Odena, A., Nye, M., Bosma, M., Michalewski, H., Dohan, D., Jiang, E., Cai, C., Terry, M., Le, Q., et al. (2021) · arXiv · doi:10.48550/arxiv.2108.07732 · Cited by 388 · see citing works
Monperrus, M. (2018) · ACM Computing Surveys · doi:10.1145/3105906 · Cited by 386 · see citing works
Liu, J., Xia, C. S., Wang, Y., & Zhang, L. (2023) · Advances in Neural Information Processing Systems 36 · doi:10.52202/075280-0943 · Cited by 384 · see citing works
Is the cure worse than the disease? overfitting in automated program repair
Smith, E. K., Barr, E. T., Le Goues, C., & Brun, Y. (2015) · Proceedings of the 2015 10th Joint Meeting on Foundations of Software Engineering · doi:10.1145/2786805.2786825 · Cited by 323 · see citing works
Automated Repair of Programs from Large Language Models
Fan, Z., Gao, X., Mirchev, M., Roychoudhury, A., & Tan, S. H. (2023) · 2023 IEEE/ACM 45th International Conference on Software Engineering (ICSE) · doi:10.1109/icse48619.2023.00128 · Cited by 256 · see citing works
Self-citationAutoCodeRover: Autonomous Program Improvement
Zhang, Y., Ruan, H., Fan, Z., & Roychoudhury, A. (2024) · Proceedings of the 33rd ACM SIGSOFT International Symposium on Software Testing and Analysis · doi:10.1145/3650212.3680384 · Cited by 202 · see citing works
Self-citationCoder Reviewer Reranking for Code GenerationPreprint
Zhang, T., Yu, T., Hashimoto, T. B., Lewis, M., Yih, W.-T., Fried, D., & Wang, S. I. (2022) · International Conference on Machine Learning · doi:10.48550/arxiv.2211.16490 · Cited by 144 · see citing works
LLM-Based Test-Driven Interactive Code Generation: User Study and Empirical Evaluation
Fakhoury, S., Naik, A., Sakkas, G., Chakraborty, S., & Lahiri, S. K. (2024) · IEEE Transactions on Software Engineering · doi:10.1109/tse.2024.3428972 · Cited by 120 · see citing works
Data Contamination: From Memorization to Exploitation
Magar, I., & Schwartz, R. (2022) · Proceedings of the 60th Annual Meeting of the Association for Computational Linguistics (Volume 2: Short Papers) · doi:10.18653/v1/2022.acl-short.18 · Cited by 88 · see citing works
Demystifying LLM-Based Software Engineering Agents
Xia, C. S., Deng, Y., Dunn, S., & Zhang, L. (2025) · Proceedings of the ACM on Software Engineering · doi:10.1145/3715754 · Cited by 87 · see citing works
ClarifyGPT: A Framework for Enhancing LLM-Based Code Generation via Requirements Clarification
Mu, F., Shi, L., Wang, S., Yu, Z., Zhang, B., Wang, C., Liu, S., & Wang, Q. (2024) · Proceedings of the ACM on Software Engineering · doi:10.1145/3660810 · Cited by 74 · see citing works
Automatic Programming: Large Language Models and Beyond
Lyu, M. R.-T., Ray, B., Roychoudhury, A., Tan, S. H., & Thongtanunam, P. (2024) · ACM Transactions on Software Engineering and Methodology · doi:10.1145/3708519 · Cited by 65 · see citing works
Self-citationCan Large Language Models Transform Natural Language Intent into Formal Method Postconditions?
Endres, M., Fakhoury, S., Chakraborty, S., & Lahiri, S. K. (2024) · Proceedings of the ACM on software engineering. · doi:10.1145/3660791 · Cited by 57 · see citing works
Trust enhancement issues in program repair
Noller, Y., Shariffdeen, R., Gao, X., & Roychoudhury, A. (2022) · ACM/IEEE International Conference on Software Engineering: Companion Proceedings (ICSE-Companion) · doi:10.1145/3510003.3510040 · Cited by 53 · see citing works
Self-citation
Flagged first, then by citations
1 of the 22 references couldn’t be matched to a known paper.
Research works printed but not linked: 5
- C. E. Jimenez, J. Yang, A. Wettig, S. Yao, K. Pei, O. Press, and K. R. Narasimhan, "SWE-bench: Can language models resolve real- world github issues?" in The Twelfth International Conference on Learning Representations, 2024. [Online]. Available: https: //openreview.net/forum?id=VTF8yNQM66
- S. Mechtaev, J. Yi, and A. Roychoudhury, "Angelix: Scalable multiline program patch synthesis via symbolic analysis," in International Con- ference on Software Engineering (ICSE), 2016.
- J. Yang, C. E. Jimenez, A. Wettig, K. Lieret, S. Yao, K. Narasimhan, and O. Press, "Swe-agent: Agent-computer interfaces enable automated software engineering," 2024.
- X. Wang, B. Li, Y. Song, F. F. Xu, X. Tang, M. Zhuge, J. Pan, Y. Song, B. Li, J. Singh et al., "Opendevin: An open platform for ai software developers as generalist agents," arXiv preprint arXiv:2407.16741, 2024. · arXiv
- L. Ma, S. Liu, Y. Li, X. Xie, and L. Bu, "Specgen: Automated generation of formal program specifications via large language models," 2024. [Online]. Available: https://arxiv.org/abs/2401.08807 · arXiv
Cited by
Sorted by citations
Demystifying LLM-Based Software Engineering Agents
Xia, C. S., Deng, Y., Dunn, S., & Zhang, L. (2025) · Proceedings of the ACM on Software Engineering · doi:10.1145/3715754 · Cited by 87 · see citing works
Agentless: Demystifying LLM-based Software Engineering Agents
Xia, C. S., Deng, Y., Dunn, S., & Zhang, L. (2024) · arXiv · doi:10.48550/arxiv.2407.01489 · Cited by 24 · see citing works
Evaluating Agent-Based Program Repair at Google
Rondon, P., Wei, R., Cambronero, J., Cito, J., Sun, A., Sanyam, S., Tufano, M., & Chandra, S. (2025) · IEEE/ACM International Conference on Software Engineering: Software Engineering in Practice (ICSE-SEIP) · doi:10.1109/icse-seip66354.2025.00038 · Cited by 19 · see citing works
Understanding Software Engineering Agents: A Study of Thought-Action-Result Trajectories
Bouzenia, I., & Pradel, M. (2025) · IEEE/ACM International Conference on Automated Software Engineering (ASE) · doi:10.1109/ase63991.2025.00234 · Cited by 19 · see citing works
Challenges and Paths Towards AI for Software EngineeringPreprint
Gu, A., Jain, N., Li, W., Shetty, M., Shao, Y., Li, Z., Yang, D., Ellis, K., Sen, K., & Solar-Lezama, A. (2025) · Qeios · doi:10.32388/vv1661 · Cited by 24 · see citing works
OmniGIRL: A Multilingual and Multimodal Benchmark for GitHub Issue Resolution
Guo, L., Tao, W., Jiang, R., Wang, Y., Chen, J., Liu, X., Ma, Y., Mao, M., Zhang, H., & Zheng, Z. (2025) · Proceedings of the ACM on software engineering. · doi:10.1145/3728871 · Cited by 4 · see citing works
Issue Localization via LLM-Driven Iterative Code Graph Searching
Jiang, Z., Ren, X., Yan, M. L., Jiang, W., Li, Y., & Liu, Z. (2025) · IEEE/ACM International Conference on Automated Software Engineering (ASE) · doi:10.1109/ase63991.2025.00249 · Cited by 4 · see citing works
Agentic AI Software Engineers: Programming with Trust
Roychoudhury, A., Pasareanu, C. S., Pradel, M., & Ray, B. (2026) · Communications of the ACM · doi:10.1145/3769314 · Cited by 4 · see citing works
Self-citationGenerative Artificial Intelligence and the Ambiguity of Academic Integrity in Higher Education
Zdravkova, K. (2026) · Education Sciences · doi:10.3390/educsci16071120 · Cited by 6 · see citing works
Automated Repair of Ambiguous Problem Descriptions for LLM-Based Code Generation
Jia, H., Morris, R., Ye, H., Sarro, F., & Mechtaev, S. (2025) · IEEE/ACM International Conference on Automated Software Engineering (ASE) · doi:10.1109/ase63991.2025.00038 · Cited by 3 · see citing works
Characterizing Multi-Hunk Patches: Divergence, Proximity, and LLM Repair Challenges
Nashid, N., Ding, D., Gallaba, K., Hassan, A. E., & Mesbah, A. (2025) · IEEE/ACM International Conference on Automated Software Engineering (ASE) · doi:10.1109/ase63991.2025.00137 · Cited by 3 · see citing works
Less Is More: Failing Test Generation with Large Language Models
Li, T.-O., Yan, X., Zong, W., Wang, Y., Tian, H., Xu, C., Wang, Y., Cheung, S.-C., & Kramer, J. (2026) · ACM Transactions on Software Engineering and Methodology · doi:10.1145/3793675 · Cited by 3 · see citing works
Seeing is Fixing: Cross-Modal Reasoning with Multimodal LLMs for Visual Software Issue Repair
Huang, K., Zhang, J., Xie, X., & Chen, C. (2025) · IEEE/ACM International Conference on Automated Software Engineering (ASE) · doi:10.1109/ase63991.2025.00100 · Cited by 2 · see citing works
Git Context Controller: Manage the Context of LLM-based Agents like Git
Wu, J., Hu, M., Zhu, J., Pan, J., Liu, Y., Xu, M., & Jin, Y. (2025) · arXiv · doi:10.48550/arxiv.2508.00031
Beyond Code Explanations: a Ray of Hope for Cross-Language Vulnerability Repair
Lira, K., Fonseca, B., Assunção, W. K. G., Baía, D. D. M., & Ribeiro, M. (2025) · ACM International Conference on AI-Powered Software (AIware) · doi:10.1109/aiware69974.2025.00017
LEDGE : Leveraging dependency graphs for enhanced context aware documentation generation
Panchal, M., Deo, A., Prabhu, V. V., Doshi, P., Bhadane, C., & Bari, P. (2026) · Automated Software Engineering · doi:10.1007/s10515-026-00596-y
Large Language Models in Software Security Analysis
Wolff, D., Мирчев, М., & Roychoudhury, A. (2026) · Communications of the ACM · doi:10.1145/3770922
Self-citationTiwari, S., Salve, B., Rani, I., Shriyal, S. S., Solanki, R. K., & Chauhan, C. (2026) · International Conference on Recent Trends in Computer Science and Technology (ICRTCST) · doi:10.1109/icrtcst68392.2026.11545256
Streamlining Repository Tasks with Effective Snippet Retrieval
Xu, T., Li, C., Xu, Z., Jiang, Y., Yao, Y., Zhu, X., Xu, F., Di, P., Xu, C., & Su, Z. (2026) · ACM Transactions on Software Engineering and Methodology · doi:10.1145/3821433
Fixing Security Vulnerabilities with Agentic AI in OSS-Fuzz
Zhang, Y., Wang, J., Berzin, D., Мирчев, М., & Roychoudhury, A. (2026) · IEEE/ACM International Conference on Software Engineering: Software Engineering in Practice (ICSE-SEIP) · doi:10.1145/3786583.3786880
Self-citationAutoCodeRover: Agentic Program Repair for SonarQube Issues
Мирчев, М., Shariffdeen, R., Ruan, H., Zhang, Y., & Roychoudhury, A. (2026) · ACM Joint European Software Engineering Conference and Symposium on the Foundations of Software Engineering (ESEC/FSE) · doi:10.1145/3803437.3805209
Self-citationCGARF: a causality-guided framework for reliable automated program repair
Yuan, L., Liu, S., Wang, Y., Yao, Y.-W., Liu, Y., Wang, Y., Wang, T., & Mao, T. (2026) · Empirical Software Engineering · doi:10.1007/s10664-026-10940-1
LLM Firewall: Private LLM Program Repair Using Hybrid Intent Inference
Akyol, G., Latifoğlu, İ., Kaya, A., & Tüzün, E. (2026) · Lecture notes in computer science · doi:10.1007/978-3-032-36590-3_25
Agent-Based Ensemble Reasoning for Repository-Level Issue Resolution
Tian, Z., Gao, P., Chen, J., & Peng, C. (2026) · ACM/IEEE International Conference on Software Engineering: Companion Proceedings (ICSE-Companion) · doi:10.1145/3744916.3787761
Enhancing LLM-Based Bug Reproduction via Code Entity Retrieval and Test Case Repair
Ding, H., Jiang, Y., Zhang, Y., & Liu, H. (2026) · Proceedings of the ACM on software engineering. · doi:10.1145/3832247
Self-citationWhose Oracle Is It? The Authority Problem in Deployed Agentic Program Repair
Mohammadi, B., & Bindschaedler, L. (2026) · IEEE/ACM International Workshop on Automated Program Repair (APR) · doi:10.1145/3843776.3844673
Wan, Y., Liang, T., Xu, J., Xiao, J., Huo, Y., & Lyu, M. R.-T. (2026) · IEEE/ACM International Conference on Automated Software Engineering (ASE) · doi:10.1145/3832783.3834388
Failure Explanations: The Missing Abstraction between Debugging and Repair
Smytzek, M. (2026) · IEEE/ACM International Workshop on Automated Program Repair (APR) · doi:10.1145/3843776.3844670
Catching Developers in the Flow: Low-Latency Agentic Program Repair at Google Scale
Ziftci, C., Greene, S., Liu, R., Dalloro, L., & Dini, L. (2026) · IEEE/ACM International Conference on Automated Software Engineering (ASE) · doi:10.1145/3832783.3834511
Reconstructing Executable Programs from Informal Bug Reports
Ayon, R. S. (2026) · IEEE/ACM International Conference on Automated Software Engineering (ASE) · doi:10.1145/3832783.3844575
AnchorRepair: A Reference-Guided Dual-Agent Framework for Code Translation Repair
Sun, J., Zhao, Y., Li, F., & Jiang, J. (2026) · IEEE/ACM International Workshop on Automated Program Repair (APR) · doi:10.1145/3843776.3844669
- Authors
- Ruan, H., Zhang, Y., & Roychoudhury, A.
- Affiliations
- National University of Singapore (SG)
- Venue
- arXiv
- Publisher
- arXiv
- Published
- 2024
- Pages
- 963-974
- ISSN
- 0270-5257 (ISSN-L)
- arXiv
- 2408.02232
- OpenAlex
- W4411552133
- Cited by
- 28
- References
- 22
- Citations by year
- 2026: 19 · 2025: 9
- FWCI
- 32.02
- Type
- conference paper
- Language
- en
- Open access
- green
- arxiv.org
- Licence
- Locations
- ACM/IEEE International Conference on Software Engineering: Companion Proceedings (ICSE-Companion) (publishedVersion)
- arXiv (Cornell University) (submittedVersion, cc-by)
- arXiv (Cornell University) (cc-by)
- Funders
- Ministry of Education, India
- Bộ Giáo dục và Ðào tạo
- Topics
- Physical Sciences › Computer Science › Information Systems › Software Engineering Research
- Physical Sciences › Computer Science › Software › Software Testing and Debugging Techniques
- Physical Sciences › Computer Science › Information Systems › Software Engineering Techniques and Practices
- Keywords
- specification inference, automated program repair, LLM agents, GitHub issues, SWE-bench
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review