English

Analyzing Message-Code Inconsistency in AI Coding Agent-Authored Pull Requests

Software Engineering 2026-01-27 v2 Artificial Intelligence

Abstract

Pull request (PR) descriptions generated by AI coding agents are the primary channel for communicating code changes to human reviewers. However, the alignment between these messages and the actual changes remains unexplored, raising concerns about the trustworthiness of AI agents. To fill this gap, we analyzed 23,247 agentic PRs across five agents using PR message-code inconsistency (PR-MCI). We contributed 974 manually annotated PRs, found 406 PRs (1.7%) exhibited high PR-MCI, and identified eight PR-MCI types, revealing that "descriptions claim unimplemented changes" was the most common issue (45.4%). Statistical tests confirmed that high-MCI PRs had 51.7% lower acceptance rates (28.3% vs. 80.0%) and took 3.5 times longer to merge (55.8 vs. 16.0 hours). Our findings suggest that unreliable PR descriptions undermine trust in AI agents, highlighting the need for PR-MCI verification mechanisms and improved PR generation to enable trustworthy human-AI collaboration.

Keywords

Cite

@article{arxiv.2601.04886,
  title  = {Analyzing Message-Code Inconsistency in AI Coding Agent-Authored Pull Requests},
  author = {Jingzhi Gong and Giovanni Pinna and Yixin Bian and Jie M. Zhang},
  journal= {arXiv preprint arXiv:2601.04886},
  year   = {2026}
}

Comments

Accepted by MSR'26 Mining Challenge Track

R2 v1 2026-07-01T08:56:00.824Z