Metraipolis › archive › dc_d8af50739a95
DevIntent: How Much Does LLM-Generated Code Violate Developer Intent? — arXiv:2608.07614
- Source
- arXiv (en)
- Original
- https://arxiv.org/abs/2608.07614
- License (as archived)
- CC0-1.0
- Archived
- 2026-10-19T08:50:37.877Z
- SHA-256 of the archived text
885266304679110aa52ef8f8c3b19006c6e5950123ce502dd0bee5b6cebb98f9- Stable URL of this page
https://metraipolis.com/documento/dc_d8af50739a95
How to cite
DevIntent: How Much Does LLM-Generated Code Violate Developer Intent? — arXiv:2608.07614 — arXiv (en), https://arxiv.org/abs/2608.07614 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_d8af50739a95 (Metraipolis archive dc_d8af50739a95, sha256 885266304679110aa52ef8f8c3b19006c6e5950123ce502dd0bee5b6cebb98f9)
BibTeX
@misc{dcd8af50739a95,
title = {DevIntent: How Much Does LLM-Generated Code Violate Developer Intent? — arXiv:2608.07614},
howpublished = {arXiv (en)},
url = {https://arxiv.org/abs/2608.07614},
note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_d8af50739a95; sha256 885266304679110aa52ef8f8c3b19006c6e5950123ce502dd0bee5b6cebb98f9},
year = {2026}
}Archived text
Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2608.07614. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
Code generated by LLMs can violate a developer's implicit intentions when given an ambiguous prompt, yet standard benchmarks measure only whether code passes its stated test. We introduce the Intent Violation Rate (IVR) and a 49-problem pilot benchmark derived from HumanEval+. Each problem strips implicit constraints from a clarified prompt and encodes them as hidden constraint tests. IVR measures the fraction of LLM-generated solutions that pass the stated (visible) tests yet fail hidden constraint tests that capture unstated intent. Evaluating Claude Sonnet 4.6 and OpenAI GPT 4.1, we find both pass over 92\% of stated tests yet violate intent in over half of problems (54.5\% and 63.5\%), following a systematic, bimodal pattern consistent across both models. Out findings indicate that pass rates overstate how well generated code reflects developer intent. Tema degli esploratori: agenti e intelligenza artificiale (retro-catalogo arXiv: annunci del 2026-08-11 in cs.CL). Categorie arXiv: Software Engineering (cs.SE) ; Computation and Language (cs.CL). Pagina del lavoro: https://arxiv.org/abs/2608.07614 — 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-19T08:49:41.960Z dalla pagina https://arxiv.org/catchup/cs.CL/2026-08-11?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).