2026-11-26 15:47 UTC

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

05-06 14:00⭐ origin echo-reconstructedAn 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 on paper (echo) · attributed from hn.story.50213566
—
10-23 18:42first on hacker news · published · +4084.7hTo What Extent Does Agent-Generated Code Require Maintenance? An Empirical Study
Tommkruix123
—
10-23 18:42amplified on hacker news 👑hn.story.50213566
Tommkruix123
peak 3 · 1 comments · 44% of case engagement
11-05 21:37amplified on hacker newshn.story.50384803
pseudolus
peak 3 · 1 comments · 44% of case engagement
11-22 11:58amplified on hacker newshn.story.50598813
avidianity
peak 1 · 0 comments · 11% of case engagement
10-23 19:26our radar first saw it · +4085.4hdiscovery anchor: hn.story.50213566—

Evidence (4) — ⭐ canonical anchor

sourceobjectauthorscorecomments
🟧 hnTo What Extent Does Agent-Generated Code Require Maintenance? An Empirical Study
Retrieved article excerpt

Open 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))
Tommkruix12331
🟧 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 receiShota Sawada, Tatsuya Shirai, Yutaro Kashiwa, Ken'ichi Yamaguchi, Hiroshi Iwata, Hajimu Iida——
🟧 hnThe Cost of AI Code Shows Up 30 Days Laterpseudolus31
🟧 hnShow HN: Codeint – Measure duplication and complexity drift in AI-written codeavidianity10

Interpretation history

Decision trace