Can AI pull requests actually reduce bugs and get merged quickly?
Yes, in controlled settings, AI-generated pull requests can fix bugs efficiently and get merged at high rates. At Bloomberg, a lightweight agentic tool called Pomona generated 39 pull requests over three months, and 32 of them (82.1%) were merged with a median time-to-close of just over two hours [2]. Engineers praised the small diff sizes and focus on code quality, and 10 out of 12 surveyed said they wanted to adopt the tool [2]. This suggests that when AI agents are designed to produce small, focused changes, they can be trusted to fix bugs without overwhelming reviewers.
However, the picture is more nuanced at scale. A large-scale study of 12,433 AI-generated pull requests across 1,495 popular repositories found that rejection odds declined over time, meaning agents got better at producing acceptable PRs [1]. Documentation co-changes were associated with lower rejection odds, and functional failures—especially specification mismatch and logic defects—were the dominant visible rejection pattern among commented rejections [1]. So while AI can reduce bugs, it still struggles with understanding specifications and logic, which are core to bug-free code.
About These Sources
This answer is built on 5 studies (4 peer-reviewed, 1 preprint) — published in 2026, 5 from 2024 or later, 1 in Q1–Q2 journals — selected as the most relevant from 5 studies that passed quality screening, drawn from 46 papers retrieved from a database of over 500 million.
Sources used in this answer
Coding Agents in the Wild: Failure Modes and Rejection Patterns of AI-Generated Pull Requests
In a study of 12,433 AI-generated pull requests from 1,495 repositories, rejection odds declined over time, but 84.2% of rejected PRs were closed without reviewer feedback, and functional failures (specification mismatch and logic defects) were the dominant visible rejection pattern [1].
Pomona: Continuous Code Quality Improvement via Small, Agentic Pull Requests at Bloomberg
At Bloomberg, a lightweight agentic tool (Pomona) achieved 82.1% merge rate (32/39 PRs) with median time-to-close of just over two hours, and 10/12 surveyed engineers wanted to adopt it, praising small diff sizes and code quality focus [2].
More Code, Less Reuse: Investigating Code Quality and Reviewer Sentiment towards AI-generated Pull Requests
LLM agents frequently disregard code reuse opportunities, leading to higher redundancy than human developers, and reviewers express neutral or positive emotions toward AI contributions, masking the silent accumulation of technical debt [3].
Beyond Bug Fixes: An Empirical Investigation of Post-Merge Code Quality Issues in Agent-Generated Pull Requests
Analysis of 1,210 merged AI-generated bug-fix PRs using SonarQube found that code smells dominate post-merge quality issues at critical and major severities, and that merge success does not reliably reflect post-merge code quality [4].
Autonomous Code Review Using Large Language Models: A Hybrid Framework for Code Quality Assessment, Refactoring Recommendation, and Technical Debt Reduction
The ARC-TD framework proposes a hybrid LLM-based code review system that combines static analysis, dependency graph reasoning, and human governance to treat code review as a multi-objective optimization problem for continuous technical debt reduction [5].
