Verifix:已验证的编程错误修复
Verifix: Verified Repair of Programming Assignments
摘要:
介绍性编程作业的自动反馈生成对编程教育很有用。大多数作品试图通过在选定的测试中将学生程序的行为与教师的参考程序进行比较来生成反馈以纠正学生程序。在这项工作中,我们的目标是生成可验证的正确的程序修复作为学生的反馈。学生作业在控制流方面与参考解决方案对齐和组合,数据变量的差异通过谓词自动汇总以关联变量名称。两个程序的等价性的失败验证尝试被利用来获得maxSMT查询的集合,其解决方案指向学生作业的修复。我们已经进行了实验,从一个广泛部署的智能辅导系统策划的学生作业。我们的研究结果表明,我们可以在高达58%的任务中生成经过验证的反馈。更重要的是,我们的系统会指示何时能够生成经过验证的反馈,然后新手学生可以高度自信地使用。
英文摘要:
Automated feedback generation for introductory programming assignments is useful for programming education. Most works try to generate feedback to correct a student program by comparing its behavior with an instructor's reference program on selected tests. In this work, our aim is to generate verifiably correct program repairs as student feedback. The student assignment is aligned and composed with a reference solution in terms of control flow, and differences in data variables are automatically summarized via predicates to relate the variable names. Failed verification attempts for the equivalence of the two programs are exploited to obtain a collection of maxSMT queries, whose solutions point to repairs of the student assignment. We have conducted experiments on student assignments curated from a widely deployed intelligent tutoring system. Our results indicate that we can generate verified feedback in up to 58% of the assignments. More importantly, our system indicates when it is able to generate a verified feedback, which is then usable by novice students with high confidence.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。