Reviewing Beyond the Change: Repository Size and Existing Code Across Agent and Human Pull Requests
Abstract
Reviewers sometimes name existing repository items outside the change under review. We ask whether such references are more common in larger repositories, and whether the pattern differs between agent-authored and human-authored pull requests. An instrument resolves names in inline review comments against the base-commit repository; size-matched negative controls estimate chance matches. Among 92,042 comments on agent pull requests in 2,034 GitHub repositories, 6.5 per cent name an existing item outside the change. An internally pre-specified log-linear model finds an odds ratio of 1.35 per tenfold increase in code files (interval 1.15 to 1.59), and size-matched negative controls indicate that chance matching does not account for the rise. Exploratory analyses suggest that the association is concentrated from small to mid-sized repositories and is imprecise among large ones. Human pull requests in 1,845 of these repositories show a similar association. A pre-specified comparison finds a small agent excess just within the bound set as negligible, but the evidence does not establish a robust agent-specific difference. The instrument misses many references, so reported shares likely understate prevalence, and the validation cannot estimate how recall changes with repository size.
Create a lesson
Metadata
- Comments
- 45 pages, 3 figures, 7 tables. Data and code: https://doi.org/10.5281/zenodo.23290164
Related papers
CodeHealth Predicts the Token Cost of Agentic Code Review: A Pre-Registered Study of 465 Agent-Authored Pull Requests
Shared title terminologycs.SELo Gullstrand Heander, Markus Borg, Emma Söderberg et al.
LegoReview: Scaling Code Review Data with Verification from Pull Request Histories
Shared title terminologycs.SERuoyu Wang, Jierun Chen, Yuxin Jiang et al.
When Coding Agents Outpace Review: Evaluating PRD-Driven Development in Mature Enterprise Repositories
Shared title terminologycs.SETianqi Liu, Yandong Guan, Songze Li et al.
Co-Modifying Application Code and Deployment Infrastructure: A Causal Study of AI Agent Pull Requests
Shared title terminologycs.SEMohammad Wathiq Soualhi, Basem Suleiman
Software Engineering After Human Comprehension? Review the Checks Instead of Code
Shared title terminologycs.SEChristoph Treude
MergeReady-Bench: Evaluating and Improving Coding Agents Beyond Test Passing
Shared title terminologycs.SEPriyatham Kattakinda, Wenxiao Wang, Soheil Feizi