paperbot · PL 论文追踪

全部论文 待读 收藏

P2 On the Reliability of Code Comprehension Proxies

论代码理解代理指标的可靠性
ASE Proceedings of the 41st IEEE/ACM International Conference on Automated Software Engineering2026匹配度 2/10 · 该论文研究代码理解代理指标(如 Likert、输入输出题、反应时)的可靠性,属于软件工程/人因实证研究,与用户关注的静态分析、LLM/Agent 程序分析、浮点程序分析或贝叶斯程序分析均无直接交集。仅与“编程环境与开发者工具”标签有较弱的宽泛关联。引用 1 inbox
Erfan Arvan, Nadeeshan De Silva, Oscar Chaparro, Martin Kellogg
crossref: 2026-10-09

AI 速览

一句话:通过两项人类研究检验常见代码理解代理指标的相对可靠性,发现输入输出题与反应时指标较可靠,语法题指标不可靠。

既有代码理解研究常用不同代理指标(如 Likert 评分或程序片段的输入输出问题)来近似代码对工程师的可理解性,但其相对可靠性未知。本文开展两项人类研究:先用德尔菲专家共识协议,由五名专业工程师对八个代码片段建立可理解性真值排序;再让 44 名学生完成理解任务,在同一组片段上测量文献中的 14 种代理指标,并进行相关性分析。结果表明,源自输入输出问题以及测量反应时间而非正确率的代理指标尤其可靠;而源自程序语法而非语义问题的代理指标尤其不可靠,这质疑了现有可理解性文献的部分结论。

问题
现有代码理解研究依赖多种代理指标替代真实可理解性,但尚不清楚哪些指标可靠。
方法
采用德尔菲专家共识建立八个代码片段的真值排序,并用 44 名学生测量 14 种代理指标后做相关性分析。
评估
通过专家共识与用户研究比较代理指标,发现输入输出问题和反应时指标可靠,语法问题指标不可靠。
原文摘要(Abstract)

Prior work on code comprehension uses different comprehension proxies—for example, Likert-scale ratings or answers to input-output questions about program snippets, usually collected from students, to approximate whether code is comprehensible to software engineers, but the relative reliability of these proxies is not known. This paper investigates the relative reliability of a collection of proxies common in the extant literature with a pair of human studies. First, we conducted an expert-consensus study with a panel of five professional software engineers to establish a ground-truth comprehensibility ranking of eight code snippets by adapting the Delphi expert-consensus protocol. The Delphi protocol is widely used for expert consensus under conditions of uncertainty in other domains such as medicine and national-security forecasting, but to our knowledge, this is its first application to code comprehension research. Second, we conducted a study with 44 student participants who completed comprehension tasks, allowing us to measure 14 comprehension proxies derived from the literature on the same set of eight code snippets. Finally, we conducted a correlation analysis on the results, concluding that proxies 1) derived from input-output questions and 2) that measure response time rather than accuracy are especially reliable. We also found that proxies derived from questions about program syntax (rather than semantics) are especially unreliable, regardless of measurement strategy, which draws into question the reliability of parts of the existing comprehensibility literature.

链接与引用

DOI 原文 · arXiv · DBLP

BibTeX
@inproceedings{abs-2605-23008,
  title = {On the Reliability of Code Comprehension Proxies},
  author = {Erfan Arvan and Nadeeshan De Silva and Oscar Chaparro and Martin Kellogg},
  booktitle = {ASE},
  year = {2026},
  doi = {10.1145/3832783.3834425}
}