arXiv AI By Musfiqur Rahman, Mahi Begoug, Emad Shihab

Will It Survive? Deciphering the Fate of AI Agent-Authored Code in Open Source

Read the original on arXiv AI →

The study examines the longevity of code authored by AI agents such as GitHub Copilot, OpenAI Codex, and Devin in open‑source projects. Analyzing 648,959 lines from 2,794 merged pull requests across 215 repositories, the authors find that AI‑attributed code is not modified more quickly than human code; in fact, when each pull request is weighted equally, AI code is altered later (HR = 0.83). The survival advantage varies by agent—supervised assistants like Copilot and Codex show a stronger delay (HR = 0.76), while Devin’s code behaves similarly to human code overall but also shows later modifications after mid‑May 2025. The intent behind modifications is comparable between AI and human code, and file characteristics better predict future changes than token counts.

Machine-generated by The Flow from the publisher's headline and feed description — not written or checked by a human. The full article lives at arXiv AI.

Hugging Face Trending Papers
Jun 23

Detecting AI Coding Agents in Open Source: A Validated Multi-Method Census of 180 Million Repositories

Generative AI coding agents are entering the open-source supply chain, yet their diverse and often invisible traces leave their prevalence poorly understood. We introduce a multi-layered detection framework that integrates configuration-file scanning, commit-message analysis, author-identity matching, and bot-signature lookup across World of Code (180M+ Git repositories), classifying agent traces into four behavioral types.

arXiv AI
Oct 16

CodeHealth Predicts the Token Cost of Agentic Code Review: A Pre-Registered Study of 465 Agent-Authored Pull Requests

The study examines whether the CodeHealth metric can predict the token cost of agentic code review and fix for pull requests. Using a pre‑registered observational design, 465 agent‑authored PRs were processed by a five‑agent pipeline across three LLMs, and mixed models showed that each CodeHealth point corresponded to a 3.5%–6.1% reduction in token usage, independent of PR footprint. The effect was strongest during the review stage and appears mediated by file size rather than PR size.

By Lo Gullstrand Heander, Markus Borg, Emma S\"oderberg, Christofer Rydenf\"alt