arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2405.01579cs.SEcs.CYcs.LG
收藏

挖掘语法树中的模式以自动化编程练习学生解决方案的代码审查

Mining patterns in syntax trees to automate code reviews of student solutions for programming exercises

Charlotte Van Petegem, Kasper Demeyere, Rien Maertens, Niko Strijbol, Bram De Wever, Bart Mesuere, Peter Dawyndt

AI总结:

本文提出机器学习方法ECHO,通过挖掘抽象语法树模式自动复用教育代码审查反馈,实验证明其能准确快速预测反馈注释,显著减少手动反馈工作量。

摘要:

在编程教育中,提供手动反馈至关重要但劳动密集,给一致性和及时性带来了挑战。我们引入了ECHO,一种机器学习方法,通过分析抽象语法树中的模式来自动化教育代码审查中反馈的复用。本研究调查了两个主要问题:ECHO是否能够基于人类审查者先前添加的注释来预测学生代码特定行的反馈注释(RQ1),以及其训练和预测速度是否适合人类审查者在实时代码审查期间使用ECHO进行实时反馈(RQ2)。我们的结果基于自动化linting工具和人类审查者的注释,表明ECHO能够准确且快速地预测适当的反馈注释。其处理效率和对反馈模式的适应灵活性可以显著减少教育环境中手动反馈提供所需的时间和精力。

英文摘要:

In programming education, providing manual feedback is essential but labour-intensive, posing challenges in consistency and timeliness. We introduce ECHO, a machine learning method to automate the reuse of feedback in educational code reviews by analysing patterns in abstract syntax trees. This study investigates two primary questions: whether ECHO can predict feedback annotations to specific lines of student code based on previously added annotations by human reviewers (RQ1), and whether its training and prediction speeds are suitable for using ECHO for real-time feedback during live code reviews by human reviewers (RQ2). Our results, based on annotations from both automated linting tools and human reviewers, show that ECHO can accurately and quickly predict appropriate feedback annotations. Its efficiency in processing and its flexibility in adapting to feedback patterns can significantly reduce the time and effort required for manual feedback provisioning in educational settings.

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

↑