Metraipolis › archive › dc_0005e0c88da1

On Behavioral Alignment of Model-Code and Human-Code Understandability via Behavioral Proxies — arXiv:2609.26101

Source
arXiv (en)
Original
https://arxiv.org/abs/2609.26101
License (as archived)
CC0-1.0
Archived
2026-10-08T15:16:09.944Z
SHA-256 of the archived text
ebf8376632e8897953db2d77368b81e8cced564cadf61fcdfe69cf7ac698d148
Stable URL of this page
https://metraipolis.com/documento/dc_0005e0c88da1

How to cite

On Behavioral Alignment of Model-Code and Human-Code Understandability via Behavioral Proxies — arXiv:2609.26101 — arXiv (en), https://arxiv.org/abs/2609.26101 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_0005e0c88da1 (Metraipolis archive dc_0005e0c88da1, sha256 ebf8376632e8897953db2d77368b81e8cced564cadf61fcdfe69cf7ac698d148)
BibTeX
@misc{dc0005e0c88da1,
  title = {On Behavioral Alignment of Model-Code and Human-Code Understandability via Behavioral Proxies — arXiv:2609.26101},
  howpublished = {arXiv (en)},
  url = {https://arxiv.org/abs/2609.26101},
  note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_0005e0c88da1; sha256 ebf8376632e8897953db2d77368b81e8cced564cadf61fcdfe69cf7ac698d148},
  year = {2026}
}

Archived text

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

Code understandability is a critical aspect of software quality. Prior research has largely focused on this attribute from a human-centric or code-centric perspective, while it should be viewed as a relational property arising from the interaction between a reader and the code. With the increasing adoption of large language models in software engineering, we posit that the notion of "reader" should be generalized to encompass both humans and models. Building on this relational perspective, we extend the concept of code understandability to distinguish between human and model code understandability, aiming to investigate the behavioral alignment between the two. To this end, we use a dataset from a prior study containing human-rated judgments of understandability across diverse participant groups, and evaluate multiple open and closed-source LLMs. To operationalize such behavioral alignment, we introduce four behavioral proxies of model-code understandability (BPMU): P0, based on program comprehension-focused question answering; and P1--P3, based on program intent summarization (derived from our proposed semantic self-consistency). Our findings show that LLMs exhibit stronger behavioral alignment with general human code understandability than previously used shallow machine learning baselines. Stratified analyses further reveal that model code understandability aligns most closely with professional developers, but significantly less with other student groups. Role-conditioned prompting does not improve the alignment for the latter, suggesting that current LLMs cannot accurately mimic the perspectives of human readers with varying expertise. Finally, we demonstrate that semantic self-consistency is a reliable and extensible measure to be used as a behavioral proxy for quantifying model code understandability, with broad implications in both software engineering research and practice.

Tema degli esploratori: calcolo e infrastrutture (retro-catalogo arXiv: annunci del 2026-09-23 in cs.SE).
Categorie arXiv: Software Engineering (cs.SE).
Pagina del lavoro: https://arxiv.org/abs/2609.26101 — 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-08T14:42:48.174Z dalla pagina https://arxiv.org/catchup/cs.SE/2026-09-23?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).