Metraipolis › archive › dc_4043e4da8314
What is the Difference Between Me and You? Benchmarking the Quality Gap Between Human-Written and AI-Generated Code — arXiv:2609.12708
- Source
- arXiv (en)
- Original
- https://arxiv.org/abs/2609.12708
- License (as archived)
- CC0-1.0
- Archived
- 2026-10-16T03:03:34.130Z
- SHA-256 of the archived text
79943664db24f6ac76294a5579511adf4f589582b9c6ca662683d9b53bb5765c- Stable URL of this page
https://metraipolis.com/documento/dc_4043e4da8314
How to cite
What is the Difference Between Me and You? Benchmarking the Quality Gap Between Human-Written and AI-Generated Code — arXiv:2609.12708 — arXiv (en), https://arxiv.org/abs/2609.12708 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_4043e4da8314 (Metraipolis archive dc_4043e4da8314, sha256 79943664db24f6ac76294a5579511adf4f589582b9c6ca662683d9b53bb5765c)
BibTeX
@misc{dc4043e4da8314,
title = {What is the Difference Between Me and You? Benchmarking the Quality Gap Between Human-Written and AI-Generated Code — arXiv:2609.12708},
howpublished = {arXiv (en)},
url = {https://arxiv.org/abs/2609.12708},
note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_4043e4da8314; sha256 79943664db24f6ac76294a5579511adf4f589582b9c6ca662683d9b53bb5765c},
year = {2026}
}Archived text
Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2609.12708. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
AI coding assistants are becoming co-authors of production software, yet their evaluation centers on functional correctness, leaving open whether their code differs from human code in the quality dimensions dominating lifecycle cost. We compare human-written and AI-generated code at scale: 787,562 function pairs across Python, Java, and C, each human function mined from open-source repositories paired with implementations generated from its docstring by three AI assistants (OpenAI GPT models, DeepSeek-Coder, Qwen2.5-Coder). We characterize structural complexity and statistical naturalness, and map static-analysis findings onto Orthogonal Defect Classification for defects and the Common Weakness Enumeration for vulnerabilities, making authors and languages directly comparable. AI-generated code is structurally compressed and stylistically templated: roughly half the size and branching of human code, clustering apart at the style level. Defect profiles differ in kind: human code concentrates issues of mature codebases, AI code repetitive boilerplate; security is language-dependent, with LLMs producing more, and more severe, findings in Python and Java but fewer high-severity memory-safety findings than humans in C. Once size is controlled for, complexity metrics carry little signal, while naturalness separates authors. Finally, we release CQBench, a benchmark of 27,346 issue-prone tasks with baselines and an evaluation pipeline for quality assurance and security testing. Tema degli esploratori: agenti e intelligenza artificiale (retro-catalogo arXiv: annunci del 2026-09-14 in cs.AI). Categorie arXiv: Software Engineering (cs.SE) ; Artificial Intelligence (cs.AI). Pagina del lavoro: https://arxiv.org/abs/2609.12708 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito). Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina. Letto il 2026-10-16T02:51:27.936Z dalla pagina https://arxiv.org/catchup/cs.AI/2026-09-14?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).