arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2607.07400cs.SE
收藏

评估编程教育中代码作者身份的静态和过程证据

Evaluating Static and Process Evidence for Code Authorship in Programming Education

Technical University of Košice(科希策工业大学)

Marek Horváth

AI总结:

研究编程教育中代码作者身份问题,通过任务感知评估对比不同环境,发现竞赛数据信号强,教育数据集弱,添加过程特征可提升其性能,表明过程模式能补充最终代码信号,模型适合作教师决策支持。

摘要:

在编程课程中,教师可能需要判断提交的代码是否与学生之前的编程风格一致,尤其是仅代码相似度无法确定时。现有源代码作者身份识别方法多在编程竞赛或开源数据集上评估,教育库则不同。本研究采用任务感知评估对比不同生产环境,在六个匹配的教育比较中测试库中可见的过程特征是否能在最终代码基础上增加信息。竞赛数据信号强,教育数据集归因性能低。添加过程特征提高了教育数据集的相关指标。结果表明信号取决于生产环境,过程模式可补充教育库中薄弱的最终代码信号,此类模型仅适合作为教师辅助决策支持,而非独立的作者身份证明。

英文摘要:

In programming courses, instructors may need to interpret whether a submission is consistent with a student's prior programming profile, especially when code similarity alone is inconclusive. Existing source-code authorship methods are often evaluated on programming-contest or open-source datasets, where reusable templates and local code patterns can produce strong author-related signal. Educational repositories present a different setting. Students solve shared assignments while their programming practices are still developing. This study uses task-aware evaluation to contrast these production contexts and tests whether repository-visible process features add information beyond final code in six matched educational comparisons. Contest data provide a high-signal contrast, with a Kick Start mean top-1 of 0.938. Educational datasets produce substantially lower attribution performance. Adding process features raises the educational mean from 0.094 to 0.233 and mean pairwise verification ROC-AUC from 0.556 to 0.752. The comparisons show that measured signal depends on production context and that process patterns can complement weak final-code signal in educational repositories. Such models are therefore appropriate only as instructor-mediated decision support, not as independent proof of authorship.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑