AI-to-AI Code Reviews of GitHub Pull Requests
Analyze & explore related research in Conceptio
Connect this record directly into your research workflow or AI agent. Explore citations across open repositories, query full text, and export structured proof bundles.
AI-to-AI Code Reviews of GitHub Pull Requests Niruthiha Selvanayagam # École de technologie supérieure (ÉTS Montréal), Montréal, Canada
Taher A. Ghaleb # Department of Computer Science, Trent University, Peterborough, Canada
arXiv:2608.21311v1 [cs.SE] 21 Aug 2026
Abstract AI coding agents are increasingly integrated into software development workflows, operating on both sides of the pull request (PR) process: AI authoring agents, which create or modify PRs, and AI reviewers, which evaluate them. This creates a closed loop where one AI coding agent reviews contributions of another AI coding agent. In this paper, we construct an AI-to-AI code review dataset by linking AI-authored pull requests with AI-attributed review events from CodAGE, a public dataset of coding agent–generated GitHub events. Our dataset contains 248,641 unique AI-attributed PRs that received at least one AI-attributed review. Among these, 45,269 received cross-product review and 208,145 received same-product review; 4,773 PRs received both. We observe that cross-product AI-to-AI code review occurs in only about 1.6% of identified agent-authored PRs but is substantial in absolute terms: 45k PRs written by one identifiable AI product and reviewed by another. This activity grows by more than two orders of magnitude from 2025-Q1 to 2025-Q3. We measure reviewer behavior using CodeRabbit comment categories, per-PR comment volume, and time to first review, and find that it varies across author–reviewer pairs. For example, Claude-Code PRs receive more refactor comments from CodeRabbit than Copilot PRs (35.0% vs. 10.5%), a difference that may stem from PRs themselves rather than the reviewer. For three of four dual-role reviewers, mean comments per PR were 58–65% higher in the same-product group, though effect sizes were small or negligible and the difference was concentrated in the upper tail. Among PR–reviewer pairs with complete, nonnegative timestamps, median time from PR creation to first AI review was 1.2 minutes for cross-product pairs and 4.7 minutes for same-product pairs. This descriptive difference may reflect reviewer composition and differential timestamp availability rather than product pairing itself. Overall, our large-scale characterization shows that closed-loop AI-to-AI code review is on the rise but remains a minority phenomenon, with review output varying across authoring-agent groups and author–reviewer configurations. 2012 ACM Subject Classification Software and its engineering → Empirical software validation; Software and its engineering → Software maintenance tools Keywords and phrases AI coding agents, AI code review, closed-loop AI, Pull requests, Mining software repositories, GitHub events Digital Object Identifier 10.4230/LIPIcs.ESEM.2026.74 Category Emerging Results, Vision & Reflection Track Paper Supplementary Material (Replication Package): https://github.com/Niruthiha/AI-AI-CodeReviews Funding This work is partially supported by the Natural Sciences and Engineering Research Council of Canada (NSERC): RGPIN-2025-05897.
1
Introduction
Two types of AI coding agents now commonly appear in GitHub pull-request workflows. Some agents author code: systems such as Devin, OpenAI Codex, Copilot, Cursor, and Claude Code can open pull requests (PRs) on behalf of users, either autonomously or as assistive tools [12]. Others review code: tools such as CodeRabbit, Sourcery, and PR-Agent post line-level comments and review decisions. In addition, several authoring agents, including © Niruthiha Selvanayagam and Taher A. Ghaleb; licensed under Creative Commons License CC-BY 4.0 20th International Symposium on Empirical Software Engineering and Measurement (ESEM 2026). Editors: Robert Feldt, Maria Paasivaara, Daniel Mendez, Stefan Wagner, and Marvin Muñoz Barón; Article No. 74; pp. 74:1–74:15 Leibniz International Proceedings in Informatics Schloss Dagstuhl – Leibniz-Zentrum für Informatik, Dagstuhl Publishing, Germany
74:2
AI-to-AI Code Reviews of GitHub Pull Requests
Copilot, Codex, Gemini Code Assist, and Amazon Q, also appear as reviewers in public GitHub data. Together, these roles form what we call closed-loop AI review: an AI coding agent contributes to a GitHub repository, and one or more AI coding agents review it. We use “closed-loop” in this observable sense only. Our review stream is restricted to AI-attributed review events, so the term means that AI occupies both sides of the pull request, not that humans were absent: a PR in our datasets may also have received human review that we do not observe. This shift raises two research questions (RQs): RQ1: How prevalent is closed-loop AI review on GitHub? This RQ characterizes the prevalence and growth of closed-loop review. As AI-generated reviews become more common, an increasing share of public code may be evaluated partly by AI, affecting both downstream maintenance and studies that rely on GitHub review data as evidence of human decision making. RQ2: How does reviewer behavior vary with the author–reviewer setup? This RQ examines whether the authoring agent influences reviewer behavior. If reviewer behavior varies across authoring agents, then closed-loop review cannot be treated as a single process. Instead, both maintainers and researchers need to account for which agent wrote the code and which agent reviewed it. Prior work has primarily studied AI coding tools and AI review systems in isolation, including productivity effects of code generation tools [16] and usability of AI-assisted suggestions [23]. Earlier studies of reviewer bots [26] were conducted before the current ecosystem of dual-role AI coding agents and do not analyze author–reviewer pairings. This paper addresses these questions by introducing a large-scale dataset and empirical study of AI-to-AI code reviews of GitHub PRs. We identify AI-authored and AI-reviewed PRs by applying our attribution method to CodAGE (CodAGE) events [7] from 2024–2026, enabling measurement of closed-loop interactions at scale. We find this phenomenon already substantial in absolute terms, if still a minority of all agent activity: in 2025, tens of thousands of PRs authored by AI coding agents are reviewed by other AI coding agents across multiple products. Contributions. Overall, this paper makes the following contributions. 1. We introduce a large-scale dataset of AI-to-AI code reviews, covering 248,641 PRs that received at least one AI review: 45,269 cross-product and 208,145 same-product. 2. We characterize closed-loop AI code review patterns over time, tracking how PRs are reviewed by the same or different AI product. 3. We empirically analyze AI reviewer behavior under different author–reviewer setups, examining how reviewer output varies with authoring agent and setup using CodeRabbit comment-category labels, per-pull-request comment volume, and time to first review. Paper Organization. The rest of this paper is organized as follows. Section 2 reviews related work. Section 3 describes our data and methodology. Sections 4 and 5 present our findings on closed-loop AI review prevalence and reviewer behavior. Section 6 discusses implications. Section 7 addresses threats to validity. Section 8 concludes the paper and outlines future directions.
N. Selvanayagam and T. A. Ghaleb
2
74:3
Background and Related Work
AI-authored pull requests on GitHub. Prior work on AI code generation has largely focused on code-suggestion tools used by human developers, including studies of Copilot productivity [16], usability of LLM-based suggestions [23], and AI-assisted pair programming [10]. More recent autonomous or semi-autonomous agents open PRs with limited or no line-by-line human authorship [12]. Prior work characterizes these agent-authored PRs directly: in one study of Claude Code, 45.1 % of merged PRs required additional changes [24]; non-merged agent-authored PRs tend to involve larger changes, touch more files, and fail CI more often [6]; and merge outcomes turn on reviewer intervention and repository context more than on agent identity alone [18]. This work centers on whether agent-authored code is accepted; it says little about how AI reviewers behave when they are the ones doing the evaluating. Reviewer-side bots. Wessel et al. [26] characterized the adoption of bots on GitHub and showed that bot introduction can affect human review volume and latency. Brown and Parnin [2] studied developer interaction with bots in code review workflows, and recent surveys chart how generative AI is now reshaping modern code review more broadly [27]. LLM-based review has since moved into practice, with systems evaluated or deployed at industrial scale [13, 4, 19, 22] and multi-agent review pipelines developed in research [20, 17], alongside a parallel line of work asking whether their output is trustworthy: developers accept only a minority of CodeRabbit suggestions [14], current systems remain weak at realistic review generation [28, 32], and review comments can be ungrounded in the code they describe [21]. A closer group of recent studies looks at reviewer bots specifically on agent-authored PRs [31, 30], reporting that AI suggestions are adopted far less often than human ones and that agent involvement can speed decisions without reliably improving review quality. This work establishes that AI now reviews AI-authored code; what remains open, and what we take up, is which agents review which others across the ecosystem, and whether observable reviewer behavior differs between same-product and cross-product configurations. Bot/Agent attribution. Prior work identifies automated accounts using commit- and account-level heuristics, such as BIMAN [5], or comment-level classifiers, such as BoDeGHa [9]. Ghaleb et al. [8] recently used machine learning models to detect AI coding agents using behavioral fingerprints. While these studies distinguish automated contributions or infer the originating agent, they do not identify the corresponding AI product or vendor, a gap we address using signature-based attribution. Multi-agent LLM evaluation and this work. Outside software engineering, “LLM-as-ajudge” [29] and constitutional AI [1] study settings in which models evaluate, critique, or revise model-generated outputs. However, the corresponding deployed software setting, AI reviewers commenting on AI-authored PRs in public repositories, is far less studied. To our knowledge, prior work has not characterized product-resolved AI-author–AI-reviewer pairings at this scale across GitHub. We address this gap by quantifying how often such closed-loop interactions occur, which agents participate, and how reviewer behavior varies with the authoring agent and the author–reviewer configuration.
3
Data and Methodology
This section describes the raw GitHub events data, the attribution of events to AI coding agents, the analysis dataset, and the CodeRabbit comment-category classifier.
ESEM 2026
74:4
AI-to-AI Code Reviews of GitHub Pull Requests
3.1
Data source
Our data source is the CodAGE dataset (Coding Agent-generated GitHub Events) [7] collected from GHArchive.1 We use the snapshot covering events from 2024-01-01 to 2026-0415. CodAGE contains several event-type subsets. In this paper, we focus on CodAGE-PRs, CodAGE-Reviews, and CodAGE-ReviewComments from this period. These subsets capture PR authorship signatures and reviewer-side activity. Despite covering the relevant period, many autonomous AI coding agents emerged in early 2025. Candidate events were identified by a broad attribution pass over CodAGE-PRs, which includes branch-name evidence and yields 4,563,819 candidate PRs with a provisional agent label. The signature framework described in Section 3.2 is a stricter second pass over that pool: it requires body or vendorlogin evidence and discards branch-only matches.
3.2
Identifying AI authorship and AI review
Attributing PRs to AI coding agents by actor login alone is unreliable: some use generic [bot] accounts, some use the human user’s login with a machine-readable body signature, and some quote other agents’ text, which can mislead body-only rules. We therefore use a two-tier signature framework. S1 (high-confidence body signature) is a regex or fixed substring the agent produces in the PR or comment body, such as the Co-Authored-By: Claude <noreply@anthropic.com> trailer from Claude Code, the cursor.com/agents URL from Cursor, or the chatgpt.com/codex URL from OpenAI Codex. S2 (vendorcontrolled account signature) is an exact match or regex over a login unambiguously controlled by a vendor, such as coderabbitai[bot], devin-ai-integration[bot], or gemini-code-assist[bot]. S1 agents require body-level evidence; S2 agents accept body or login evidence. Branch-name prefixes (e.g. codex/, cursor/) are recorded but never sufficient alone, being user-controllable and prone to false positives. We create one entry per matched (event, agent) pair. A few events match multiple agents, usually when one agent quotes another’s body trailer: 98 of 4,141,107 review entries (0.002 %) and 111 of 8,560,237 review-comment entries (0.001 %). We retain all matches, report the duplicate rate in the coverage report, and deduplicate by event ID when event-grain analysis requires it. This attributes review-side events to 12 AI coding agents (CodeRabbit, Copilot, Gemini Code Assist, OpenAI Codex, Amazon Q, Devin, Claude Code, Sweep AI, PR-Agent, Kiro, Cursor, Aider). The author-side stream yields 2,830,284 unique agent-authored PRs and adds Google Jules, which authors PRs but has no reviewer activity.
3.3
Cleaning, deduplication, and quarantine
We apply three cleaning steps. (i) Quarantine. Every candidate PR or review event is scored against each agent’s signature set, and an entry is emitted only where the evidence meets that agent’s inclusion floor: agents with an S1 floor require a body signature, whereas agents with an S2 floor accept either a body signature or a vendor-controlled login. A vendor-controlled login is therefore sufficient on its own for S2-floor agents. Any candidate meeting no agent’s floor is quarantined, written to a separate file with a recorded reason. On the author side the reasons are branch_only, where only a branch-name prefix matched, and no_evidence; on the review side, they are empty_body and no_evidence. Quarantine is negligible on the two
1
https://www.gharchive.org
N. Selvanayagam and T. A. Ghaleb
74:5
review streams (590 of 4,141,598 review events and 793 of 8,560,919 review comments, 0.01 % of each) but substantial on the author stream, where 1,733,535 of 4,563,819 candidate PRs (38.0 %) are quarantined, 96.9 % of them as branch_only. This asymmetry underlies the coverage imbalance discussed in Section 7: our agent-authored population is the 62.0 % of candidates with a body or login signature, not all PRs a weaker rule would include. (ii) Relabeling. We retain the provisional label from the first pass as original_label and report the two passes as a confusion matrix. Where they disagree, the signature attribution wins; the largest relabel consolidates OpenAI_Codex_Cloud and the CLI Codex trailer into OpenAI_Codex. Because both passes are ours, this is an internal consistency check rather than external validation. (iii) Thin agents. Agents with fewer than 50 attributed PRs (Aider, Kiro, SWE-agent, Windsurf) are excluded from our per-agent quantitative claims.
3.4
Dataset construction
The unit of analysis is the PR, keyed by (repo_name, pr_number). We aggregate per-event entries into one entry per (PR, Reviewer) pair, retaining review and review-comment counts and first/last review timestamps, then join with the agent-author PR set to yield three datasets (A: AI author; B: AI reviewer; N: no detected AI reviewer): A×B-cross-product, the closed-loop cross-product dataset with author and reviewer from different products (45,269 PRs, 47,259 pairs); A×B-same-product, same product, e.g. Copilot reviewing Copilot (208,145 PRs); and A×N, agent-authored PRs with no detected AI review (2,581,643 PRs, for context only); absence of an attributed reviewer signature is not evidence that no AI reviewed the PR. A×B PRs receiving both same- and cross-product review appear in both A×B datasets with an overlap flag, so the dataset counts are not mutually exclusive and do not sum to the unique agent-authored total. We do not analyze a matched human-authored control dataset. These two closed-loop datasets are defined at the level of the identifiable agentic product, or agentic harness, rather than the parent company or the underlying foundation model: A×B-same-product contains PRs in which the same identifiable product appears as author and reviewer, and A×B-cross-product those in which the authoring and reviewing products differ. Products operated by the same corporate vendor, such as Google Jules and Gemini Code Assist, are therefore treated as distinct, because they are separately identifiable agentic systems with different product names and potentially different harnesses, configurations, and review workflows; 117 of the 45,269 A×B-cross-product PRs are of this kind. These categories consequently do not necessarily correspond to corporate vendor or foundation-model boundaries.
3.5
Severity classifier and released artifacts
CodeRabbit comment categories. To measure review content for RQ2, we use CodeRabbit’s self-declared comment categories. CodeRabbit prefixes substantive comments with emoji-tagged headers: Refactor suggestion, Potential issue, and Nitpick, plus a fourth header, Verification, which appears in our historical data (9,525 comments) and which we treat as an observed comment prefix rather than a documented category. Because these headers appear explicitly in the comment text, we extract them deterministically using rule-based matching without an LLM judge. We retain severity in artifact and column names for consistency with the released dataset, but do not interpret the categories as an ordered severity scale. In our dataset, CodeRabbit is the only dedicated reviewer-only bot with both
ESEM 2026
74:6
AI-to-AI Code Reviews of GitHub Pull Requests
substantial volume and machine-parsable category headers (Sourcery and PR-Agent together account for fewer than 250 review events). Classifier. An ordered-regex pipeline strips boilerplate that would otherwise produce false matches, then applies the rules in order to the cleaned comment body; the first rule wins, and unmatched comments are unlabeled. It emits four substantive categories, potential_issue (suspected bug), refactor (working code whose structure could improve), verification (a request to verify a behavior or assumption), and nitpick (minor style), on which we impose no ordering, and three structural labels, analysis_chain (script-execution diagnostic), conversational (@-mention reply), and rate_limited (an operational rate-limit notice). The rule set and its ordering are provided in the replication package. Replication package. Our replication package (data processing/analysis scripts, filtered data, signature registry, and detailed results) is available on GitHub.2 The main source data used in this work is CodAGE (Coding Agent-generated GitHub Events), hosted on Hugging Face,3 specifically CodAGE-PRs, CodAGE-Reviews, and CodAGE-ReviewComments.
4
RQ1: Prevalence and Composition of Closed-Loop AI-to-AI Code Reviews
We first establish the scale and growth of closed-loop review, then decompose it by author– reviewer pair and by same- versus cross-product composition.
4.1
Volume and growth
Of the 2,830,284 agent-authored PRs we identified, 248,641 (8.8 %) received at least one AI review: 45,269 cross-product and 208,145 same-product, with the counts read as lower bounds and the percentage as conditioned on signature attribution (Section 7). We focus on cross-product review because same-product review may be part of an integrated product workflow. Activity was negligible through 2025-Q1 (57 cross, 40 same) but increased by over two orders of magnitude by 2025-Q3, reaching 25,492 cross- and 57,080 same-product PRs (Figure 1). Because 2025-Q4 counts are incomplete due to GHArchive attribute lag, temporal comparisons use Q2 and Q3.
4.2
Who reviews whom?
Table 1 reports the A×B-cross-product author–reviewer crosstab (N ≥ 500). OpenAI Codex dominates as author (31,601 cross-product PRs, 69.8 % of the 45,269). Its row in Table 1 sums to 32,379 rather than 31,601 because those cells count author–reviewer pairs, not unique PRs: a PR reviewed by agents from two different vendors counts once in Table 2 but contributes a pair to each reviewer column here (and the crosstab shows only cells with N ≥ 500). Copilot dominates as reviewer (21,022 of the 47,259 author–reviewer pairs; modal pair Codex authored, Copilot reviewed, 18,114 pairs), and CodeRabbit, the only dedicated reviewer-only bot with usable volume, reviews PRs from at least six authoring agents.
2 3
https://github.com/Niruthiha/AI-AI-CodeReviews https://huggingface.co/datasets/taher-ghaleb/CodAGE
Agent-authored PRs with 1 AI review (log)
N. Selvanayagam and T. A. Ghaleb
105
74:7
A×B-cross A×B-self
104 103 102 101 100
202
1 4-Q
202
2 4-Q
202
3 4-Q
4-Q
202
4
5-Q
202
1
5-Q
202
2
5-Q
202
3
5-Q
202
4
Figure 1 Quarterly counts of agent-authored PRs receiving AI review, split into cross-product (A×B-cross-product) and same-product (A×B-same-product) groups. Both increased by over two orders of magnitude from 2025-Q1 to 2025-Q3. Hatched 2025-Q4 values are lower bounds because GHArchive attributes lag event data by about one quarter. The y-axis is log-scaled. Table 1 Closed-loop, cross-product author–reviewer pairs (A×B-cross-product), cells with N ≥ 500. Cells report author–reviewer pairs. Because one PR may receive reviews from multiple agents, row totals may exceed the corresponding number of unique PRs. Author → Reviewer OpenAI Codex Copilot Cursor Claude Code Devin
4.3
Copilot
Codex
Gemini
CodeRabbit
Total (≥ 500)
18,114 – 1,000 956 656
– 4,772 – – –
8,995 956 593 501 –
5,270 1,627 516 716 –
32,379 7,355 2,109 2,173 656
Same- vs. cross-product composition
Table 2 reports the same- vs. cross-product split per authoring agent (≥ 200 A×B PRs). The pattern is sharply non-uniform, with three groups: product-internal authors reviewed mostly by their own product (Copilot 95.7 %, Amazon Q 91.8 %, Devin 76.5 % same-product); balanced (OpenAI Codex at 54.1 % self, the only author with substantial population in both datasets); and cross-product authors reviewed almost entirely by a different product (Cursor, Google Jules, Claude Code). This asymmetry motivates RQ2, in which we (i) hold the reviewer constant (CodeRabbit) and vary the author, (ii) contrast same- vs. cross-product review volume, and (iii) contrast time-to-first-review across reviewer bots and product pairings.
RQ1 Summary: AI review remains a minority of agent activity but is already substantial: 248,641 of the agent-authored PRs we identified (8.8 %) received at least one AI review, including 45,269 (1.6 %) across products, spanning 10,345 repositories. The counts are lower bounds; the percentages are conditioned on signature attribution. Activity grew by over two orders of magnitude in 2025. Copilot-authored PRs were reviewed mainly by Copilot, whereas Cursor-, Claude Code-, and Google Jules-authored PRs were reviewed almost entirely across products.
ESEM 2026
74:8
AI-to-AI Code Reviews of GitHub Pull Requests
Table 2 Same- vs. cross-product reviewer share, per authoring agent (A×B-cross-product + A×B-same-product, ≥ 200 PRs). Sorted by total A×B in descending order. Authoring agent Cross-product PRs Same-product PRs Total A×B % Same-product Copilot OpenAI Codex Devin Cursor Claude Code Amazon Q Google Jules Sweep AI
5
7,515 31,601 1,171 2,309 2,042 48 478 100
166,442 37,247 3,811 0 10 535 0 100
173,957 68,848 4,982 2,309 2,052 583 478 200
95.7 % 54.1 % 76.5 % 0.0 % 0.5 % 91.8 % 0.0 % 50.0 %
RQ2: Reviewer Behavior Across Authors and Product Pairings
We characterize reviewer behavior using three measures. First, we examine CodeRabbit’s comment-category mix while holding the reviewer fixed and varying the authoring agent. Because these are self-declared labels rather than validated defects, we interpret them as reviewer output composition, not code quality [14, 21, 11]. Second, we compare per-PR comment volume between same- and cross-product pairs for Copilot, OpenAI Codex, Devin, and Amazon Q. Third, we descriptively examine latency from PR creation to the first AI review among PR–reviewer pairs with complete, nonnegative timestamps, considering whether aggregate differences may reflect reviewer composition or differential timestamp availability rather than product pairing.
5.1
CodeRabbit comment categories by authoring agent
We join the CodeRabbit classifier output against the union of the A×B-cross-product and A×B-same-product datasets on (repo_name, pr_number), restricting to the five authoring agents with ≥ 200 classified comments (35,248 comments total; Figure 2 and Table 3). The comment-category distribution is visibly non-uniform: Copilot- and Devin-authored PRs receive far more potential_issue comments (49.0 %, 43.9 %) and far fewer refactor comments (10.5 %, 9.7 %) than Claude Code, Cursor, and OpenAI Codex (29.2 % to 35.0 % refactor), and the highest unlabeled shares (6.1 %, 12.3 %). Claude Code sits at the opposite end, with the highest refactor (35.0 %) and lowest unlabeled (0.3 %). Table 3 Normalized distribution of CodeRabbit comment categories (%) on agent-authored PRs, authors with N ≥ 200 classified comments. Last column is the total number of entries (N ). Author OpenAI Codex Claude Code Cursor Copilot Devin
p.issue
refactor
nitpick
a.chain
unlab.
conv.
verif.
N
29.9 42.0 34.9 49.0 43.9
29.2 35.0 33.5 10.5 9.7
20.5 7.8 19.8 12.9 11.6
12.8 10.6 10.2 18.9 20.0
2.4 0.3 0.9 6.1 12.3
4.7 3.7 0.2 2.5 2.2
0.5 0.6 0.5 0.1 0.4
16,292 8,757 5,084 4,260 855
The association between authoring agent and CodeRabbit comment category is statistically significant but small (Cramér’s V = 0.150; Pearson χ2 = 3177.5, df = 24, p < 10−300 ). We therefore focus on the largest category-level contrast. CodeRabbit labels 35.0 % of comments on Claude Code-authored PRs as refactor, compared with 10.5 % on Copilot-authored
N. Selvanayagam and T. A. Ghaleb
74:9
Share of CodeRabbit comments (%)
100 75 potential_issue refactor nitpick analysis_chain unlabeled conversational verification
50 25 0
OpenAI CodexClaude Code
Cursor
Copilot
Devin
Figure 2 Normalized distribution of CodeRabbit comment categories on agent-authored PRs, grouped by authoring agent (bars sum to 100%). The same reviewer bot produces visibly different mixes downstream of different authoring agents; the largest single difference is refactor, contrasting the Claude Code / Cursor / Codex cluster (29–35%) with the Copilot / Devin pair (10–11%).
PRs, a difference of 24.5 percentage points (95% CI [23.1, 25.9]; Wald two-proportion test; N = 8757 and N = 4260 comments, respectively). We make no claim about code quality, as change size, language, repository, and configuration may influence the patterns observed. Our result is therefore observational and indicates that CodeRabbit produces different comment-category distributions for Claude Code- and Copilot-authored PRs.
5.2
Same- vs. cross-product review volume
We restrict to reviewer bots with ≥ 200 PRs in both datasets (Copilot, OpenAI Codex, Devin, Amazon Q) and compare per-PR comment counts on same- vs. cross-product authored PRs (Table 4; we report means and use Mann–Whitney U tests to compare the distributions. Table 4 Mean review comments per PR by reviewer, split by same- and cross-product authors. Counts use the reviewer perspective: “Self PRs” match the same-product totals in Table 2, whereas “Cross PRs” do not. p values are from two-sided Mann–Whitney U tests; |δ| is Cliff’s delta (self vs. cross; < 0.147 negligible, 0.147–0.33 small). Reviewer bot Copilot OpenAI Codex Devin Amazon Q
Cross PRs 21,022 5,485 392 522
Mean cross 1.49 0.91 1.09 4.94
Self PRs 166,442 37,247 3,811 535
Mean self
p
|δ|
2.35 0.89 1.80 8.08
−292
0.15 0.02 0.14 0.27
< 10 2.0 × 10−3 3.0 × 10−6 2.2 × 10−14
The per-PR distributions overlap heavily and Cliff’s δ is small-to-negligible across all four bots (Devin and Copilot sit within 0.01 of the 0.147 boundary, so labels are indicative only). The mean-level gap is therefore not a population-wide shift but a long right tail of high-comment same-product PRs: three of four bots show same-product PRs receiving 58–65% more comments on average (Copilot 58 %, 1.49 to 2.35; Devin 65 %, 1.09 to 1.80; Amazon Q 64 %, 4.94 to 8.08), while OpenAI Codex is the lone exception (0.91 vs. 0.89, too small for a directional claim despite a sample-size-driven p). This gap is consistent across
ESEM 2026
74:10
AI-to-AI Code Reviews of GitHub Pull Requests
three otherwise dissimilar products, even though it is concentrated in the upper tail of the distribution. Because same- and cross-product reviews differ in several key characteristics, including change size, language, repository, and reviewer composition, the observed differences should not be interpreted causally.
5.3
Latency from PR open to first AI review
We calculate the elapsed time between PR creation and the bot’s first recorded review event for PR–reviewer pairs with the required timestamps. After dropping pairs missing either timestamp and the small share with negative differences (clock-skew or backfill), 103,920 pairs remain; distributions are heavily right-skewed, so we report medians with IQRs (Table 5). Table 5 Table 6 Median latency from PR creation to first AI review, in minutes, among PR–reviewer pairs with complete, nonnegative timestamps. Top: same- vs. cross-product pairs aggregated. Bottom: by reviewer bot with the datasets pooled, including reviewer bots with ≥ 100 qualifying pairs.
Split
N
p25
median
p75
Cross-product pairs Same-product pairs
37,420 66,500
0.4 2.4
1.2 4.7
4.4 38.2
Gemini Code Assist (reviewer) Amazon Q (reviewer) OpenAI Codex (reviewer) CodeRabbit (reviewer) Copilot (reviewer)
9,873 959 34,765 6,709 51,437
0.3 0.9 1.9 3.7 1.0
0.5 1.2 2.6 7.0 17.7
1.8 1.6 3.7 31.6 73.9
Two observations. First, median first-review latency in the aggregate is 1–5 minutes; AI review on these PRs commonly begins within minutes of PR creation. We do not compare this against a matched human baseline, which we do not have. Second, and counter-intuitively, among pairs with complete timestamps, cross-product pairs had a lower observed median latency than same-product pairs (1.2 vs. 4.7 minutes), the opposite of a “product rubberstamps its own” reading. The reviewer-level results suggest that this aggregate difference is compositional: reviewers with shorter median latencies occur more frequently in the cross-product dataset, whereas Copilot, which has a longer median latency (17.7 minutes, p75 74 minutes), dominates the same-product dataset. Because the reviewer populations differ, the observed difference should be interpreted as reflecting reviewer composition rather than any inherent preference for same- or cross-product review.
RQ2 Summary: Among PR–reviewer pairs with complete, nonnegative timestamps, the observed median latency was 1.2 minutes for cross-product pairs and 4.7 minutes for same-product pairs, although differential timestamp availability and reviewer composition limit this comparison. CodeRabbit’s refactor share ranged from approximately 10 % to 35 % across the five analyzed authoring agents. Three reviewer bots produced 58 % to 65 % more comments on same-product PRs on average, although the distributions were long-tailed and unmatched.
N. Selvanayagam and T. A. Ghaleb
6
74:11
Discussion
Closed-loop AI review is a fast-growing part of the development environment. AI-authored and AI-reviewed pull requests, though still a minority of public GitHub activity, are already frequent enough in absolute terms that empirical software engineering can no longer assume a purely human-authored population. This complicates sampling assumptions: studies must explicitly account for AI-generated artifacts or risk mixing fundamentally different populations. Reviewer output differs across authoring-agent groups. With CodeRabbit held constant, the observed comment-category distributions differ across authoring agents. These differences may reflect the types of PRs produced by each agent, repository context, or reviewer behavior, which the present analysis cannot separate. Downstream tooling that summarizes or aggregates AI review output may therefore produce systematically different interpretations for different AI coders, even under the same reviewer. Same- and cross-product patterns may reflect product design. The two groups differ in reviewer composition and may also differ in product integration and triggering, so the observed gaps need not reflect review strictness or reviewer preference. Product boundaries also need not match model boundaries, since different products may share a foundation model and one product may run several.
7
Threats to Validity
We organize the threats to validity into construct, internal, and external dimensions. Construct validity. Our attribution uses signature-based identification, which can undercount agents whose signatures are missing, uncatalogued, or removed by vendors. The framework is designed to prioritize precision, but residual misclassification remains possible when signatures are copied, quoted, modified, or shared across product variants. Missing or removed signatures additionally produce under-attribution. The absence of a signature is not evidence that a PR was not AI-authored or AI-reviewed: such PRs are not quarantined but simply never enter our population. Under-attribution is also asymmetric, being far lower on the reviewer side, where the major reviewers post under vendor-controlled bot logins, than on the author side, which depends on body trailers that agents may not emit and that squash merges may strip. Absolute counts are therefore lower bounds, whereas rates expressed per agent-authored PR inherit the coverage of both sides and should be read as describing the attributable population rather than all AI-authored PRs. In addition, our RQ2 content measures rely on CodeRabbit’s self-declared and observed comment categories. These labels describe the tool’s own output and are not independently validated measures of issue type, severity, correctness, or code quality. External validation with human annotation or LLM-based judges is deferred to future work. Internal validity. Our study reports observational associations rather than causal effects. Confounding factors such as pull request size, language composition, repository-level differences, and product-specific integration behavior may influence the observed patterns. Timestamp completeness also differed substantially in the latency analysis: 79.2 % of crossproduct PR–reviewer pairs and 31.9 % of same-product pairs were retained. If timestamp availability is associated with reviewer or workflow characteristics, the complete-case latency estimates may not represent the full same- and cross-product populations. We therefore
ESEM 2026
74:12
AI-to-AI Code Reviews of GitHub Pull Requests
interpret the latency comparison descriptively and do not attribute the observed difference to product pairing. External validity. Our dataset covers public GitHub events in CodAGE (CodAGE) [7] from 2024-01-01 to 2026-04-15, excluding private repositories, GitHub Enterprise deployments, and other version control platforms. AI reviewer activity is therefore conditioned on repositories that adopt specific integrations, and results may not generalize to non-adopting projects. Our “closed-loop” definition requires an AI coding agent on each side of the PR and does not require the absence of human review: the review stream we mine is restricted to AIattributed events, so we cannot determine whether a human also reviewed a given PR, and some closed-loop PRs likely received human review as well. Finally, “cross-product” reflects product-level attribution rather than model-level identity.
8
Conclusion and Future Work
This paper presented a large-scale dataset and empirical study of AI reviews on AI-authored GitHub pull requests, defined as PRs authored by one identified AI coding agent and reviewed by one or more identified AI reviewers. Although still a minority of agent activity, such review grew rapidly over 2025 and already spans tens of thousands of cross-product interactions. Reviewer output differed across authoring-agent groups and author–reviewer configurations in comment-category mix and per-PR comment volume. Among pairs with complete timestamps, observed latency also varied across reviewer and product configurations, although differential timestamp availability limits this comparison. These findings describe observable reviewer behavior, not review correctness or software quality. Validating review content and usefulness. Our content analysis relies on CodeRabbit’s own categories, which describe its output but are not validated measures of correctness, severity, or usefulness, and prior work finds that AI review comments may be rejected, redundant, or poorly grounded in the code [14, 21, 28]. Future work should have human annotators rate a stratified sample of comments for correctness, localization, severity, and actionability, reporting inter-rater agreement, with LLM-based evaluation used only as a secondary check. Comment volume, latency, and category mix do not show whether a review improves the code, so annotation should be paired with outcome linkage to accepted suggestions, later commits, continuous-integration results, merges, and reverts, treating acceptance as a response signal rather than a measure of precision. Matched human- and AI-authored pull requests—aligned on repository, language, task type, and change size, would isolate AI authorship patterns from those of the review system or context. Separating product effects from model effects. Attribution here operates at the product level because public records rarely reveal the underlying model, so same- and cross-product configurations are not same- and different-model configurations. Because LLM evaluators may favor outputs that resemble their own or appear more familiar [15, 25, 3], controlled experiments could review functionally equivalent pull requests from known models under fixed configurations, using source blinding and function-preserving transformations of naming, formatting, or structure. Outcomes should include defect detection, false-positive rates, severity calibration, comment volume, and review correctness. Testing correlated failures and security risks. AI authors and reviewers may share failure modes when they rely on related models, training sources, prompts, or tools, which the current dataset cannot assess because model identity and ground-truth defects are unavailable. A controlled benchmark could inject known functional defects and security vulnerabilities into realistic pull requests and compare same-model, related-model, and independent-model
N. Selvanayagam and T. A. Ghaleb
74:13
reviewers on defect recall, false positives, localization, severity, and repair correctness, showing whether reviewer diversity reduces correlated blind spots. Provenance and longitudinal measurement. Public records reveal little about how a contribution was produced and reviewed, so future tools should expose structured metadata on authoring and reviewing products, model versions, review triggers, configurations, and human involvement, distinguishing independent review from automatic same-product review. Because the ecosystem changes rapidly, the pairings and activity levels reported here describe one period; the broader contribution is a reproducible method for measuring AI participation in authorship and review, which, repeated over time with model-level provenance and outcomebased evaluation, will help assess whether these workflows improve software correctness, security, and maintainability.
Data Availability The replication package, including the agent signature registry, data-processing scripts, classifier, and analysis code, is available at https://github.com/Niruthiha/AI-AI-CodeReviews. The source dataset, CodAGE(Coding Agent-generated GitHub Events), is available on Hugging Face at https://huggingface.co/datasets/taher-ghaleb/CodAGE under CC BY 4.0. These artifacts reproduce the counts, tables, and figures reported in this paper.
ESEM 2026
74:14
AI-to-AI Code Reviews of GitHub Pull Requests
References 1
2
3
4
5
6
7 8 9
10
11 12
13
14
15
16
17
Yuntao Bai, Saurav Kadavath, Sandipan Kundu, Amanda Askell, Jackson Kernion, Andy Jones, Anna Chen, Anna Goldie, Azalia Mirhoseini, Cameron McKinnon, et al. Constitutional AI: Harmlessness from AI feedback. arXiv preprint arXiv:2212.08073, 2022. Chris Brown and Chris Parnin. Sorry to bother you: Designing bots for effective recommendations. In Proceedings of the IEEE/ACM 1st International Workshop on Bots in Software Engineering, pages 54–58. IEEE, 2019. Zhi-Yuan Chen, Hao Wang, Xinyu Zhang, Enrui Hu, and Yankai Lin. Beyond the surface: Measuring self-preference in LLM judgments. In Proceedings of the 2025 Conference on Empirical Methods in Natural Language Processing, pages 1653–1672, 2025. Umut Cihan, Vahid Haratian, Arda İçöz, Mert Kaan Gül, Ömercan Devran, Emircan Furkan Bayendur, Baykal Mehmet Uçar, and Eray Tüzün. Automated code review in practice. In 2025 IEEE/ACM 47th International Conference on Software Engineering: Software Engineering in Practice, pages 425–436. IEEE, 2025. Tapajit Dey, Sara Mousavi, Eduardo Ponce, Tanner Fry, Bogdan Vasilescu, Anna Filippova, and Audris Mockus. Detecting and characterizing bots that commit code. In Proceedings of the 17th international conference on mining software repositories, pages 209–219, 2020. Ramtin Ehsani, Sakshi Pathak, Shriya Rawal, Abdullah Al Mujahid, Mia Mohammad Imran, and Preetha Chatterjee. Where do AI coding agents fail? an empirical study of failed agentic pull requests in GitHub. In Proceedings of the 23rd International Conference on Mining Software Repositories, pages 807–811, 2026. Taher A. Ghaleb. CodAGE: A dataset of coding agent-generated GitHub events, 2026. URL: https://huggingface.co/datasets/taher-ghaleb/CodAGE. Taher A Ghaleb. Fingerprinting ai coding agents on github. In Proceedings of the 23rd International Conference on Mining Software Repositories, pages 822–826, 2026. Mehdi Golzadeh, Alexandre Decan, Damien Legay, and Tom Mens. A ground-truth dataset and classification model for detecting bots in GitHub issue and PR comments. Journal of Systems and Software, 175:110911, 2021. Saki Imai. Is GitHub Copilot a substitute for human pair-programming? an empirical study. In Proceedings of the ACM/IEEE 44th International Conference on Software Engineering: Companion Proceedings, pages 319–321, 2022. Haolin Jin and Huaming Chen. Are LLMs reliable code reviewers? systematic overcorrection in requirement conformance judgement. Automated Software Engineering, 33(3):90, 2026. Hao Li, Haoxiang Zhang, and Ahmed E Hassan. AIDev: studying AI coding agents on GitHub. In Proceedings of the 23rd International Conference on Mining Software Repositories, pages 1029–1033, 2026. Zhiyu Li, Shuai Lu, Daya Guo, Nan Duan, Shailesh Jannu, Grant Jenks, Deep Majumder, Jared Green, Alexey Svyatkovskiy, Shengyu Fu, et al. Automating code review activities by large-scale pre-training. In Proceedings of the 30th ACM joint European software engineering conference and symposium on the foundations of software engineering, pages 1035–1047, 2022. Hong Yi Lin, Mingzhao Liang, Kla Tantithamthavorn, and Patanamon Thongtanunam. Is agentic code review helpful? mining developers’ feedback to CodeRabbit reviews in the wild. arXiv preprint arXiv:2607.03316, 2026. Arjun Panickssery, Samuel R Bowman, and Shi Feng. LLM evaluators recognize and favor their own generations. In Proceedings of the 38th International Conference on Neural Information Processing System, 2024. Sida Peng, Eirini Kalliamvakou, Peter Cihon, and Mert Demirer. The impact of AI on developer productivity: Evidence from Github Copilot. arXiv preprint arXiv:2302.06590, 2023. Xiaoxue Ren, Chaoqun Dai, Qiao Huang, Ye Wang, Chao Liu, and Bo Jiang. HydraReviewer: A holistic multi-agent system for automatic code review comment generation. IEEE Transactions on Software Engineering, 2025.
N. Selvanayagam and T. A. Ghaleb
18
19
20
21
22
23
24
25 26
27
28
29
30
31 32
74:15
Niruthiha Selvanayagam. Does the agent matter? predicting merge outcomes of AI-authored code. In Proceedings of the 34th ACM International Conference on the Foundations of Software Engineering, pages 82–84, 2026. Tao Sun, Jian Xu, Yuanpeng Li, Zhao Yan, Ge Zhang, Lintao Xie, Lu Geng, Zheng Wang, Yueyan Chen, Qin Lin, et al. BitsAI-CR: Automated code review via LLM in practice. In Proceedings of the 33rd ACM international conference on the foundations of software engineering, pages 274–285, 2025. Xunzhu Tang, Kisub Kim, Yewei Song, Cedric Lothritz, Bei Li, Saad Ezzini, Haoye Tian, Jacques Klein, and Tegawendé F Bissyandé. CodeAgent: Autonomous communicative agents for code review. In Proceedings of the 2024 Conference on Empirical Methods in Natural Language Processing, pages 11279–11313, 2024. Kla Tantithamthavorn, Hong Yi Lin, Patanamon Thongtanunam, Wachiraphan Charoenwet, Minwoo Jeong, and Ming Wu. HalluJudge: A reference-free hallucination detection for context misalignment in code review automation. In Proceedings of the 34th ACM International Conference on the Foundations of Software Engineering, pages 632–643, 2026. Kla Tantithamthavorn, Yaotian Zou, Andy Wong, Michael Gupta, Zhe Wang, Mike Buller, Ryan Jiang, Matthew Watson, Minwoo Jeong, Kun Chen, et al. RovoDev code reviewer: A large-scale online evaluation of llm-based code review automation at Atlassian. In Proceedings of the IEEE/ACM 48th International Conference on Software Engineering: Software Engineering in Practice, pages 34–45, 2026. Priyan Vaithilingam, Tianyi Zhang, and Elena L Glassman. Expectation vs. experience: Evaluating the usability of code generation tools powered by large language models. In CHI Conference on Human Factors in Computing, pages 1–7, 2022. Miku Watanabe, Hao Li, Yutaro Kashiwa, Brittany Reid, Hajimu Iida, and Ahmed E Hassan. On the use of agentic coding: An empirical study of pull requests on GitHub. ACM Transactions on Software Engineering and Methodology, 2025. Koki Wataoka, Tsubasa Takahashi, and Ryokan Ri. Self-preference bias in LLM-as-a-judge. arXiv preprint arXiv:2410.21819, 2024. Mairieli Wessel, Alexander Serebrenik, Igor Wiese, Igor Steinmacher, and Marco A Gerosa. Effects of adopting code review bots on pull requests to OSS projects. In Proceedings of the 36th International Conference on Software Maintenancee and Evolution, pages 1–11. IEEE, 2020. Zezhou Yang, Cuiyun Gao, Zhaoqiang Guo, Zhenhao Li, Kui Liu, Xin Xia, and Yuming Zhou. A roadmap for modern code review: Challenges and opportunities. ACM Transactions on Software Engineering and Methodology, 2026. Zhengran Zeng, Ruikai Shi, Keke Han, Yixin Li, Kaicheng Sun, Yidong Wang, Zhuohao Yu, Rui Xie, Wei Ye, and Shikun Zhang. SWR-Bench: Assessing LLM performance in realworld code review comment generation. Proceedings of the ACM on Software Engineering, 3(FSE):3093–3115, 2026. Lianmin Zheng, Wei-Lin Chiang, Ying Sheng, Siyuan Zhuang, Zhanghao Wu, Yonghao Zhuang, Zi Lin, Zhuohan Li, Dacheng Li, Eric Xing, et al. Judging LLM-as-a-judge with MT-Bench and Chatbot Arena. Advances in neural information processing systems, 36:46595–46623, 2023. Suzhen Zhong, Shayan Noei, Bram Adams, and Ying Zou. From human-centric to agentic code review: The impact of different generations of generative AI technology on review quality. arXiv preprint arXiv:2607.13196, 2026. Suzhen Zhong, Shayan Noei, Ying Zou, and Bram Adams. Human-AI synergy in agentic code review. arXiv preprint arXiv:2603.15911, 2026. Xin Zhou, Kisub Kim, Bowen Xu, DongGyun Han, Junda He, and David Lo. Generation-based code review automation: How far are we? In Proceedings of the IEEE/ACM 31st International Conference on Program Comprehension, pages 215–226. IEEE, 2023.
ESEM 2026
Related documents
- Empirical Study on the Characteristics and Evolution of AI-usage in GitHub Repositories: Evidence from Code Comments#266245
- A Lean and Spec-Driven AI-Assisted Software Development Lifecycle for Applied AI Education: The AI-SDLC Approach#1050527
- A Lean and Spec-Driven AI-Assisted Software Development Lifecycle for Applied AI Education: The AI-SDLC Approach#1028765
- Evaluating the Impact of Explainable AI on Trust in AI-Assisted Code Review#405692
- CRJudgeBench: Can AI Detect Plausible but Invalid Code Reviews?#1132417
Retrieved via Conceptio: every document is proof-bundled with source, license, and retrieval metadata.
Read the Docs → · View CLI source on GitHub · Conceptio Open Knowledge Archive