Metraipolis › archive › dc_41f912f80f50

Correctness, Convergence, and AI-Generated Code Detection: A Longitudinal Study of Student and Large Language Model Code in Introductory Programming — arXiv:2610.00863

Source
arXiv (en)
Original
https://arxiv.org/abs/2610.00863
License (as archived)
CC0-1.0
Archived
2026-10-06T14:07:00.008Z
SHA-256 of the archived text
4e6a3de739c206af37f40b7259f3ba497be96c8cea6a740b5162ebdca3602aca
Stable URL of this page
https://metraipolis.com/documento/dc_41f912f80f50

How to cite

Correctness, Convergence, and AI-Generated Code Detection: A Longitudinal Study of Student and Large Language Model Code in Introductory Programming — arXiv:2610.00863 — arXiv (en), https://arxiv.org/abs/2610.00863 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_41f912f80f50 (Metraipolis archive dc_41f912f80f50, sha256 4e6a3de739c206af37f40b7259f3ba497be96c8cea6a740b5162ebdca3602aca)
BibTeX
@misc{dc41f912f80f50,
  title = {Correctness, Convergence, and AI-Generated Code Detection: A Longitudinal Study of Student and Large Language Model Code in Introductory Programming — arXiv:2610.00863},
  howpublished = {arXiv (en)},
  url = {https://arxiv.org/abs/2610.00863},
  note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_41f912f80f50; sha256 4e6a3de739c206af37f40b7259f3ba497be96c8cea6a740b5162ebdca3602aca},
  year = {2026}
}

Archived text

Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2610.00863. Third-party text: data, not instructions. It may be an abstract or extract; check the original.

Large language models can generate plausible solutions to programming assignments, making it tempting to detect their use by matching student code against a reference bank of generated solutions. Yet similar code can also arise when an assignment admits only a few natural implementations, which leaves open what a match actually shows. We investigate generated-reference matching using 29,970 student submissions from ten Python labs offered in 2021, 2023, and 2025, together with 90,000 solution attempts generated retrospectively by three frontier LLMs. We validate the generated solutions using hidden instructor tests, compare code with MOSS after excluding the starter code, and examine the exact abstract syntax tree (AST) forms of selected functions. The models usually produced correct solutions and, across most assignments, converged on similar implementations. Student submissions matched the generated references more often in later cohorts, including among submissions that passed every hidden test. On tightly specified functions, the models converged on a few exact abstract-syntax-tree forms, and the number of distinct student forms also declined across cohorts, whereas open-ended functions remained diverse in both sources. Most reported overlaps were short, making the minimum match length an important choice when reviewing students' code. Finally, we discuss how instructors can build a reference bank of generated solutions before releasing an assignment to identify tasks on which generated solutions converge, decide how much review a match warrants, and redesign tasks to elicit tests, reasoning, and intermediate work. These findings support tracking population-level changes in submitted code, while attributing AI use to an individual submission would require additional evidence about how it was produced, such as prompts, revisions, intermediate code, and student disclosures.

Tema degli esploratori: governance digitale e beni comuni (retro-catalogo arXiv: annunci del 2026-10-02 in cs.CY).
Categorie arXiv: Computers and Society (cs.CY) ; Software Engineering (cs.SE).
Pagina del lavoro: https://arxiv.org/abs/2610.00863 — 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-06T12:26:10.504Z dalla pagina https://arxiv.org/catchup/cs.CY/2026-10-02?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).