Why Are AI Agent Involved Pull Requests (Fix-Related) Remain Unmerged? An Empirical Study

Khairul Alam, Saikat Mondal, Banani Roy
1/29/2026
cs.SEcs.AI

No confident code implementation found for this paper.

Abstract

Autonomous coding agents (e.g., OpenAI Codex, Devin, GitHub Copilot) are increasingly used to generate fix-related pull requests (PRs) in real world software repositories. However, their practical effectiveness depends on whether these contributions are accepted and merged by project maintainers. In this paper, we present an empirical study of AI agent involved fix related PRs, examining both their integration outcomes, latency, and the factors that hinder successful merging. We first analyze 8,106 fix related PRs authored by five widely used AI coding agents from the AIDEV POP dataset to quantify the proportions of PRs that are merged, closed without merging, or remain open. We then conduct a manual qualitative analysis of a statistically significant sample of 326 closed but unmerged PRs, spending approximately 100 person hours to construct a structured catalog of 12 failure reasons. Our results indicate that test case failures and prior resolution of the same issues by other PRs are the most common causes of non integration, whereas build or deployment failures are comparatively rare. Overall, our findings expose key limitations of current AI coding agents in real world settings and highlight directions for their further improvement and for more effective human AI collaboration in software maintenance.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{alam2026agent,
  title  = {Why Are AI Agent Involved Pull Requests (Fix-Related) Remain Unmerged? An Empirical Study},
  author = {Khairul Alam and Saikat Mondal and Banani Roy},
  year   = {2026},
  eprint = {2602.00164},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2602.00164v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2602.00164.svg)](https://codeofpaper.com/paper/2602.00164)

Discussion