arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2106.01399cs.SEcs.AIcs.LG
收藏

基于个性化反馈的Python程序设计质量自动评估

Automatic Assessment of the Design Quality of Python Programs with Personalized Feedback

George Fox University(乔治福克斯大学)

J. Walker Orr, Nathaniel Russell

摘要:

程序功能的评估通常可以通过直接的单元测试来完成。然而,评估程序的设计质量是一个更加困难和微妙的问题。设计质量是一个重要的考虑因素,因为它影响程序的可读性和可维护性。评估设计质量并给出个性化反馈对于教师和教学助理来说是非常耗时的任务。这限制了向小班设置提供个性化反馈的规模。此外,设计质量是微妙的,很难简洁地表达为一组规则。出于这些原因,我们提出了一个神经网络模型,既可以自动评估程序的设计,又可以提供个性化的反馈,指导学生如何进行更正。该模型的有效性进行评估的语料库的学生程序编写的Python。该模型的准确率从83.67%到94.27%,具体取决于数据集,当预测设计分数时,与历史教师评估相比。最后,我们提出了一个研究,学生试图改善他们的程序设计的基础上产生的个性化反馈模型。参与研究的学生将程序设计分数提高了19.58%。

英文摘要:

The assessment of program functionality can generally be accomplished with straight-forward unit tests. However, assessing the design quality of a program is a much more difficult and nuanced problem. Design quality is an important consideration since it affects the readability and maintainability of programs. Assessing design quality and giving personalized feedback is very time consuming task for instructors and teaching assistants. This limits the scale of giving personalized feedback to small class settings. Further, design quality is nuanced and is difficult to concisely express as a set of rules. For these reasons, we propose a neural network model to both automatically assess the design of a program and provide personalized feedback to guide students on how to make corrections. The model's effectiveness is evaluated on a corpus of student programs written in Python. The model has an accuracy rate from 83.67% to 94.27%, depending on the dataset, when predicting design scores as compared to historical instructor assessment. Finally, we present a study where students tried to improve the design of their programs based on the personalized feedback produced by the model. Students who participated in the study improved their program design scores by 19.58%.

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

↑