Does AI Code Review Lead to Code Changes? A Case Study of GitHub Actions

Kexin Sun, Hongyu Kuang, Sebastian Baltes, Xin Zhou, He Zhang, Xiaoxing Ma, Guoping Rong, Dong Shao, Christoph Treude

This paper, recently published by researchers from Nanjing University and other institutions, provides the first large-scale empirical look at whether AI-driven code reviews actually result in developers changing their code. By analyzing over 22,000 comments from 16 popular GitHub Actions, the authors reveal that while AI adoption is growing, its effectiveness is highly dependent on tool design—specifically granularity, conciseness, and how the review is triggered.

TL;DR

AI code review tools are flooding GitHub, but do they actually work? This study finds that while human reviewers see a 60% "addressing rate," AI tools lag behind at 0.9% to 19.2%. The most effective AI reviews are those that are manually triggered, concise, and point to specific "hunks" of code rather than general file summaries.

What Problem Does This Paper Address?

Generative AI (GenAI) has made it trivial to automate code reviews via GitHub Actions. These tools promise to reduce developer effort and increase review coverage. However, there is a significant gap between "generating a comment" and "improving the code."

The researchers tackle three main questions:

  1. Adoption: How are these tools actually configured and used in the wild?
  2. Measurement: How can we automatically (and accurately) detect if a review comment was actually addressed by a developer?
  3. Impact Factors: What technical or contextual factors (e.g., comment length, developer experience, tool type) make a developer more likely to act on an AI suggestion?

Methods

The authors employed a multi-stage approach:

  • Categorization: They classified 16 tools into three levels of granularity: PR-level (general summaries), File-level (comments on a whole file), and Hunk-level (comments on specific changed lines).
  • Two-Stage LLM Framework: To analyze 22,000+ comments without manual labor, they built an automated detection pipeline. Stage 1 uses an LLM (like GPT-4) to determine if a comment is "valid" and "actionable." Stage 2 compares the reviewed code with subsequent commits to see if the suggested changes were implemented.
  • Interpretable ML: They used a Random Forest classifier and SHAP (SHapley Additive exPlanations) values to identify which features most strongly influenced whether a comment was addressed.

Datasets

  • The AI Dataset: 22,326 review comments collected from 178 "mature" GitHub repositories (those with $\ge$ 50 Pull Requests).
  • The Human Baseline: 1,166 human-authored comments from the same repositories to serve as a gold-standard comparison.
  • Validation Set: A manually annotated subset of 150 comments used to verify the accuracy of their automated LLM detection framework.

Key Insights and Ideas

  • Granularity is King: Hunk-level tools (like coderabbitai) are significantly more effective than file-level tools. Developers are much more likely to fix a bug when the AI points to the exact line of code.
  • The "One-in-One-out" Trap: Most current tools follow a paradigm where every code change triggers a review. This often leads to "reviewer fatigue" and low-quality, "hallucinated" style warnings. The authors argue for a "multi-stage" approach where the AI first decides if a comment is even necessary.
  • Manual Triggers Work: When a developer explicitly asks for an AI review (manual trigger), the addressing rate is much higher than when the tool runs automatically on every push. This suggests that developer intent and "readiness to receive feedback" are crucial.
  • AI as a "Newcomer" Mentor: Interestingly, AI reviews have a 5x higher addressing rate among project newcomers than among experienced contributors. AI might be best suited as a "defensive" tool for those still learning a project's codebase.

Key Results

  • Addressing Rates: Human reviewers achieved a 60% addressing rate. In contrast, the best-performing AI tool (coderabbitai) reached 19.2%, while others (like mattzcarey/code-review-gpt) were as low as 0.9%.
  • Detection Accuracy: Their automated LLM-based framework achieved 94.5% accuracy in identifying valid comments and 86.1% overall accuracy in determining if a comment was addressed, proving that LLMs can be used to audit AI tools at scale.
  • Conciseness: Comments with a high code-to-text ratio (i.e., those providing actual code snippets) were significantly more likely to be implemented.

Limitations and Future Work

  • Traceability: Because many tools post under the generic github-action[bot] account, it can be difficult to attribute specific behaviors to specific tools without deep log analysis.
  • Contextual Blindness: AI still struggles with "business logic" and "big picture" architecture, often focusing on trivial syntax or style issues.
  • Future Directions: The authors suggest that future AI review tools should:
  • Incorporate PR titles, descriptions, and summaries to provide better context to the LLM.
  • Implement "adaptive reviewing" that adjusts the level of detail based on the developer's experience or the criticality of the file.
  • Provide a "pre-check" filter to suppress vague or non-actionable suggestions before they ever reach the developer.

Summary updated

BibTeX
@article{sun2026does,
  author = {Kexin Sun and Hongyu Kuang and Sebastian Baltes and Xin Zhou and He Zhang and Xiaoxing Ma and Guoping Rong and Dong Shao and Christoph Treude},
  title = {{Does AI Code Review Lead to Code Changes? A Case Study of GitHub Actions}},
  journal = {IEEE Trans. Software Eng.},
  year = {2026},
  doi = {10.1109/tse.2026.3688237},
}
Figure