Predicting Developer Acceptance of AI-Generated Code Suggestions
Jing Jiang, Liehao Li, Jinyun Hou, Xin Tan, Li Zhang

TL;DR
This paper presents an empirical study analyzing large-scale industrial developer-AI interactions to identify factors influencing acceptance of AI-generated code suggestions and introduces a predictive model that significantly improves filtering accuracy.
Contribution
It provides the first quantitative analysis of code suggestion acceptance using industrial data and introduces CSAP, a model that predicts acceptance with high accuracy to reduce developer interruptions.
Findings
Accepted suggestions have higher historical acceptance ratios.
Longer generation intervals correlate with acceptance.
CSAP achieves over 92 ext{ }accuracy on balanced datasets.
Abstract
AI-assisted programming tools are widely adopted, yet their practical utility is often undermined by undesired suggestions that interrupt developer workflows and cause frustration. While existing research has explored developer-AI interactions when programming qualitatively, a significant gap remains in quantitative analysis of developers' acceptance of AI-generated code suggestions, partly because the necessary fine-grained interaction data is often proprietary. To bridge this gap, this paper conducts an empirical study using 66,329 industrial developer-AI interactions from a large technology company. We analyze features that are significantly different between accepted code suggestions and rejected ones. We find that accepted suggestions are characterized by significantly higher historical acceptance counts and ratios for both developers and projects, longer generation intervals,…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsSoftware Engineering Research · Artificial Intelligence in Healthcare and Education · Software Engineering Techniques and Practices
