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

新手程序员觉得自动化修复工具的反馈有多大帮助?

How Helpful do Novice Programmers Find the Feedback of an Automated Repair Tool?

Oka Kurniawan, Christopher M. Poskitt, Ismam Al Hoque, Norman Tiong Seng Lee, Cyrille Jégourel, Nachamma Sockalingam

AI总结:

本研究针对现有编程自动化反馈对新手支撑不足的问题,扩展并集成自动化修复工具CLARA到Jupyter Notebooks,通过出声思考实验发现新手难理解修复建议,更看重错误位置提示,为编程教学工具设计提供参考。

摘要:

即时反馈已被证明能提升学生的学习效果。在编程课程中,即时自动化反馈通常以提交平台运行的预定义测试用例的形式提供。这类反馈虽能很好地指出逻辑错误的存在,却无法为新手程序员提供足够的支撑,帮助他们定位错误位置或了解修复方法。为解决这一问题,研究人员开发了多款以程序修复形式提供更丰富反馈的工具。不过,针对这类工具的研究往往更关注能否生成正确的修复方案,而非新手如何使用这些工具。\n本文介绍了我们使用自动化修复工具CLARA为新手提供反馈的实践经验。首先,我们扩展了CLARA的功能,使其支持更大范围的Python语言子集,随后将其与我们编程练习所用的Jupyter Notebooks(交互式笔记本)集成。其次,我们设计了一项初步研究,让学生采用“出声思考”协议,分别在有工具支持和无工具支持的情况下解决编程问题。研究发现,新手通常难以理解工具给出的修复建议,这与众所周知的理解编译器/解释器消息的难题相呼应。此外,我们还发现学生更看重被告知需要修复的位置——而非修复方案本身,这表明从教学角度来看,“少即是多”。

英文摘要:

Immediate feedback has been shown to improve student learning. In programming courses, immediate, automated feedback is typically provided in the form of pre-defined test cases run by a submission platform. While these are excellent for highlighting the presence of logical errors, they do not provide novice programmers enough scaffolding to help them identify where an error is or how to fix it. To address this, several tools have been developed that provide richer feedback in the form of program repairs. Studies of such tools, however, tend to focus more on whether correct repairs can be generated, rather than how novices are using them. In this paper, we describe our experience of using CLARA, an automated repair tool, to provide feedback to novices. First, we extended CLARA to support a larger subset of the Python language, before integrating it with the Jupyter Notebooks used for our programming exercises. Second, we devised a preliminary study in which students tackled programming problems with and without support of the tool using the 'think aloud' protocol. We found that novices often struggled to understand the proposed repairs, echoing the well-known challenge to understand compiler/interpreter messages. Furthermore, we found that students valued being told where a fix was needed - without necessarily the fix itself - suggesting that 'less may be more' from a pedagogical perspective.

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

↑