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.