AI builds, We Analyze: An Empirical Study of AI-Generated Build Code Quality
Anwar Ghammam, Mohamed Almukhtar

TL;DR
This study investigates the quality of AI-generated build code in software development, revealing both quality issues and instances of smell removal, with most AI-generated pull requests being accepted by developers.
Contribution
It provides the first large-scale empirical analysis of AI-generated build code quality and developer acceptance, highlighting areas for future AI-aware code assessment.
Findings
AI-generated build code can introduce quality issues like code smells.
AI agents can also successfully remove existing code smells.
Over 61% of AI-generated pull requests are accepted and merged by developers.
Abstract
The rapid adoption of AI coding agents for software development has raised important questions about the quality and maintainability of the code they produce. While prior studies have examined AI-generated source code, the impact of AI coding agents on build systems-a critical yet understudied component of the software lifecycle-remains largely unexplored. This data mining challenge focuses on AIDev, the first large-scale, openly available dataset capturing agent-authored pull requests (Agentic-PRs) from real-world GitHub repositories. Our paper leverages this dataset to investigate (RQ1) whether AI coding agents generate build code with quality issues (e.g., code smells), (RQ2) to what extent AI agents can eliminate code smells from build code, and (RQ3) to what extent Agentic-PRs are accepted by developers. We identified 364 maintainability and security-related build smells across…
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 · Ethics and Social Impacts of AI · Scientific Computing and Data Management
