Study finds AI-generated files receive less maintenance, mostly from humans
state: watchingheat: lowuncertainty: mediumrelevance: highagent-generated-code software-maintenance coding-agentsShota SawadaTatsuya ShiraiYutaro KashiwaKen'ichi YamaguchiHiroshi IwataHajimu Iida
What is this?
A May 2026 arXiv study by Shota Sawada, Tatsuya Shirai, Yutaro Kashiwa, Ken'ichi Yamaguchi, Hiroshi Iwata and Hajimu Iida examines maintenance of AI-agent-generated code. Its abstract reports analysis of more than 1,000 files and about 3,200 changes across 100 popular repositories: AI-generated files were maintained less frequently than human-authored files; changes to them more often extended features than fixed bugs; and humans performed most of the maintenance. The paper was revised to v2 on May 9. A web result for the v1 paper gives a more specific figure—about 83% of maintenance by human developers—but that percentage is not in the supplied v2 abstract. A later Hacker News item points to a CACM blog titled “The Cost of AI Code Shows Up 30 Days Later,” but its article text is not supplied, so its relationship to or support for this study is unclear.
Why it matters
This is evidence about the downstream cost of coding agents, not just how quickly they generate code. If AI-authored files are less often revisited yet still need human maintenance, teams may gain speed at implementation while shifting effort toward oversight and long-term ownership. The study suggests that pattern, but its repository sample and observational approach do not establish why the differences occur or how broadly they generalize.
Current assessment
The authors’ May 2026 arXiv study (v2) analyzes over 1,000 files and approximately 3,200 changes across 100 popular repositories. It reports that AI-generated files received less frequent maintenance than human-authored files, their changes more often extended features than fixed bugs, and humans performed most maintenance. The observational findings do not establish why these patterns occurred or how broadly they generalize; the supplied material lacks specific model names and detailed methods or effect sizes. A later Hacker News item titled “The Cost of AI Code Shows Up 30 Days Later” has no article text available here, so its relationship to the study is unclear. A Show HN listing for Codeint describes a tool to measure duplication and complexity drift in AI-written code, but provides no evidence of performance, uptake, or effect on maintenance. The study remains relevant to coding-agent economics because it raises questions about long-term code ownership, but this episode has little current attention and no new validation.
Measured heat
now 0 pts/hpeak 3 pts/hcomments 0/hpeers p10momentum: steady2 platformsage 4897h
points/hour across evidence · reading as of 2026-11-27 02:23:58.509736+11:00 · deterministic, not a model opinion
How the heat travelled
Evidence (4) — ⭐ canonical anchor
| source | object | author | score | comments |
| 🟧 hn | To What Extent Does Agent-Generated Code Require Maintenance? An Empirical StudyRetrieved article excerptOpen article · Retrieved 2026-10-23T19:29:52.786384+00:00 # Computer Science > Software Engineering
**arXiv:2605.06464** (cs)
[Submitted on 7 May 2026 ([v1](https://arxiv.org/abs/2605.06464v1)), last revised 9 May 2026 (this version, v2)]
# Title:To What Extent Does Agent-generated Code Require Maintenance? An Empirical Study
Authors:[Shota Sawada](https://arxiv.org/search/cs?searchtype=author&query=Sawada,+S), [Tatsuya Shirai](https://arxiv.org/search/cs?searchtype=author&query=Shirai,+T), [Yutaro Kashiwa](https://arxiv.org/search/cs?searchtype=author&query=Kashiwa,+Y), [Ken'ichi Yamaguchi](https://arxiv.org/search/cs?searchtype=author&query=Yamaguchi,+K), [Hiroshi Iwata](https://arxiv.org/search/cs?searchtype=author&query=Iwata,+H), [Hajimu Iida](https://arxiv.org/search/cs?searchtype=author&query=Iida,+H)
View a PDF of the paper titled To What Extent Does Agent-generated Code Require Maintenance? An Empirical Study, by Shota Sawada and 5 other authors
[View PDF](https://arxiv.org/pdf/2605.06464)
[HTML (experimental)](https://arxiv.org/html/2605.06464v2)
> Abstract:LLM-based autonomous coding agents have reshaped software development. While these agents excel at code generation, open questions persist about the long-term maintainability of AI-generated code. This study empirically investigates the maintenance extent, human involvement, and modification types of AI-generated files versus human-authored code. Using the AIDev dataset of AI-generated pull requests and GitHub, we analyzed over 1,000 files and approximately 3,200 changes from 100 popular repositories. Our findings show that: (i) AI-generated files receive less frequent maintenance than human-authored code, with updates affecting only a small fraction of file size; (ii) the most frequent modifications to AI code are feature extensions, whereas human updates focus on bug fixes, and (iii) human developers perform the large majority of this maintenance.
| |
| --- |
| Comments: |
| Subjects: | Software Engineering (cs.SE) |
| Cite as: | [arXiv:2605.06464](https://arxiv.org/abs/2605.06464) [cs.SE] |
| | (or [arXiv:2605.06464v2](https://arxiv.org/abs/2605.06464v2) [cs.SE] for this version) |
| | <https://doi.org/10.48550/arXiv.2605.06464> Focus to learn more arXiv-issued DOI via DataCite |
## Submission history
From: Tatsuya Shirai [[view email](https://arxiv.org/show-email/b89856e8/2605.06464)]
**[[v1]](https://arxiv.org/abs/2605.06464v1)**
Thu, 7 May 2026 15:52:41 UTC (766 KB)
**[v2]**
Sat, 9 May 2026 06:52:52 UTC (766 KB)
Full-text links:
## Access Paper:
View a PDF of the paper titled To What Extent Does Agent-generated Code Require Maintenance? An Empirical Study, by Shota Sawada and 5 other authors
- [View PDF](https://arxiv.org/pdf/2605.06464)
- [HTML (experimental)](https://arxiv.org/html/2605.06464v2)
- [TeX Source](https://arxiv.org/src/2605.06464)
[view license](http://arxiv.org/licenses/nonexclusive-distrib/1.0/ "Rights to this article")
### Current browse context:
cs.SE
[< prev](https://arxiv.org/prevnext?id=2605.06464&function=prev&context=cs.SE "previous in cs.SE (accesskey p)")
|
[next >](https://arxiv.org/prevnext?id=2605.06464&function=next&context=cs.SE "next in cs.SE (accesskey n)")
[new](https://arxiv.org/list/cs.SE/new)
|
[recent](https://arxiv.org/list/cs.SE/recent)
| [2026-05](https://arxiv.org/list/cs.SE/2026-05)
Change to browse by:
[cs](https://arxiv.org/abs/2605.06464?context=cs)
### References & Citations
- [NASA ADS](https://ui.adsabs.harvard.edu/abs/arXiv:2605.06464)
- [Google Scholar](https://scholar.google.com/scholar_lookup?arxiv_id=2605.06464)
- [Semantic Scholar](https://api.semanticscholar.org/arXiv:2605.06464)
export BibTeX citation
Loading...
## BibTeX formatted citation
×
loading...
Data provided by:
### Bookmark
[BibSonomy](http://www.bibsonomy.org/BibtexHandler?requTask=upload&url=https://arxiv.org/abs/2605.06464&description=To What Extent Does Agent-generated Code Require Maintenance? An Empirical Study "Bookmark on BibSonomy")
[Reddit](https://reddit.com/submit?url=https://arxiv.org/abs/2605.06464&title=To What Extent Does Agent-generated Code Require Maintenance? An Empirical Study "Bookmark on Reddit")
Bibliographic Tools
# Bibliographic and Citation Tools
Bibliographic Explorer Toggle
Bibliographic Explorer *([What is the Explorer?](https://info.arxiv.org/labs/showcase.html#arxiv-bibliographic-explorer))*
Connected Papers Toggle
Connected Papers *([What is Connected Papers?](https://www.connectedpapers.com/about))*
Litmaps Toggle
Litmaps *([What is Litmaps?](https://www.litmaps.co/))*
scite.ai Toggle
scite Smart Citations *([What are Smart Citations?](https://www.scite.ai/))*
Code, Data, Media
# Code, Data and Media Associated with this Article
alphaXiv Toggle
alphaXiv *([What is alphaXiv?](https://alphaxiv.org/))*
Links to Code Toggle
CatalyzeX Code Finder for Papers *([What is CatalyzeX?](https://www.catalyzex.com))*
DagsHub Toggle
DagsHub *([What is DagsHub?](https://dagshub.com/))*
GotitPub Toggle
Gotit.pub *([What is GotitPub?](http://gotit.pub/faq))*
Huggingface Toggle
Hugging Face *([What is Huggingface?](https://huggingface.co/huggingface))*
ScienceCast Toggle
ScienceCast *([What is ScienceCast?](https://sciencecast.org/welcome))*
Demos
# Demos
Replicate Toggle
Replicate *([What is Replicate?](https://replicate.com/docs/arxiv/about))*
Spaces Toggle
Hugging Face Spaces *([What is Spaces?](https://huggingface.co/docs/hub/spaces))*
Spaces Toggle
TXYZ.AI *([What is TXYZ.AI?](https://txyz.ai))*
Related Papers
# Recommenders and Search Tools
Link to Influence Flower
Influence Flower *([What are Influence Flowers?](https://influencemap.cmlab.dev/))*
Core recommender toggle
CORE Recommender *([What is CORE?](https://core.ac.uk/services/recommender))*
- Author
- Venue
- Institution
- Topic
About arXivLabs
# arXivLabs: experimental projects with community collaborators
arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.
Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.
Have an idea for a project that will add value for arXiv's community? [**Learn more about arXivLabs**](https://info.arxiv.org/labs/index.html).
[Which authors of this paper are endorsers?](https://arxiv.org/auth/show-endorsers/2605.06464) |
Disable MathJax ([What is MathJax?](https://info.arxiv.org/help/mathjax.html)) | Tommkruix123 | 3 | 1 |
| 🟧 echo.paper ⭐ | An empirical analysis of more than 1,000 files and about 3,200 changes across 100 popular repositories reports that AI-generated files recei | Shota Sawada, Tatsuya Shirai, Yutaro Kashiwa, Ken'ichi Yamaguchi, Hiroshi Iwata, Hajimu Iida | — | — |
| 🟧 hn | The Cost of AI Code Shows Up 30 Days Later | pseudolus | 3 | 1 |
| 🟧 hn | Show HN: Codeint – Measure duplication and complexity drift in AI-written code | avidianity | 1 | 0 |
Interpretation history
2026-11-22T12:26:34Z
The new Show HN item suggests a practical tool for tracking duplication and complexity drift in AI-written code, extending the issue from retrospective research toward possible monitoring workflows. But its listing provides no results or adoption evidence, so it does not validate the study’s findings or materially change their implications; attention to this episode has cooled.
2026-11-05T22:24:32Z
audience grounding: high — This is evidence about the downstream cost of coding agents, not just how quickly they generate code. If AI-authored files are less often revisited yet still need human maintenance, teams may gain speed at implementation while shifting effort toward oversight and long-term ownership. The study suggests that pattern, but its repository sample and observational approach do not establish why the differences occur or how broadly they generalize.
2026-11-05T22:24:16Z
The newly observed Hacker News title about costs appearing 30 days later provides no linked source or supporting details, so it does not substantiate a new finding or alter the study’s interpretation. The arXiv study remains a useful but observational signal; attention has cooled well past its initial peak.
2026-10-23T19:30:44Z
audience grounding: high — This study offers a useful real-world check on coding-agent claims: in the sampled repositories, AI-generated files were changed less often, and later changes more often added features than fixed bugs. That may inform expectations for reviewing and maintaining agent-written code, but fewer observed changes do not by themselves show that the code is more reliable or cheaper to maintain. The evidence is an arXiv study, and the supplied summary lacks methodological detail needed to judge how broadly the results generalize.
Decision trace
- 11-22 23:26repriceThe new Show HN item suggests a practical tool for tracking duplication and complexity drift in AI-written code, extending the issue from retrospective research toward possible monitoring workflows. B
- 11-22 23:21attention_candidateattach
- 11-22 23:21attachThe tool targets duplication and complexity drift in AI-written code, a useful but unvalidated complement to code-maintenance research.
- 11-22 23:21propose_attachThe tool targets duplication and complexity drift in AI-written code, a useful but unvalidated complement to code-maintenance research.
- 11-06 09:24repriceThe newly observed Hacker News title about costs appearing 30 days later provides no linked source or supporting details, so it does not substantiate a new finding or alter the study’s interpretation.
- 11-06 09:24groundThis is evidence about the downstream cost of coding agents, not just how quickly they generate code. If AI-authored files are less often revisited yet still need human maintenance, teams may gain spe
- 11-06 09:21attention_candidateattach
- 11-06 09:21attachThe article's focus on delayed maintenance costs may add context to the existing case on AI-generated code maintenance, though the supplied observation gives no specific findings.
- 11-06 09:21propose_attachThe article's focus on delayed maintenance costs may add context to the existing case on AI-generated code maintenance, though the supplied observation gives no specific findings.
- 11-05 21:26review_dormantscheduled targets exhausted or 28 quiet days
- 11-05 21:26drop_targetsquiet through full ladder or over cap 8
- 10-25 22:31review_screenjev screen: no material development (noul=0.05)
- 10-24 06:31attention_candidatecreate
- 10-24 06:30groundThis study offers a useful real-world check on coding-agent claims: in the sampled repositories, AI-generated files were changed less often, and later changes more often added features than fixed bugs
- 10-24 06:30createThe paper presents a relevant empirical result about the long-term costs of AI-assisted coding, though it is a single study and the available evidence does not establish broader generalizability.