sk_p:面向MOOC的神经程序校正器
sk_p: a neural program corrector for MOOCs
摘要:
我们提出了一种新的技术,在MOOC中自动程序校正,能够修复语法和语义错误,而无需手动,具体问题的校正策略。给定一个不正确的学生程序,它从可能的更正分布中生成候选程序,并根据测试套件检查每个候选程序的正确性。关键的观察结果是,在MOOC中,许多程序共享类似的代码片段,并且用于机器翻译的自然语言处理任务的seq2seq神经网络模型可以被修改和训练以恢复这些片段。实验表明,我们的计划可以纠正29%的所有不正确的意见书,并表现出最先进的方法,需要手动,具体问题的纠正策略。
英文摘要:
We present a novel technique for automatic program correction in MOOCs, capable of fixing both syntactic and semantic errors without manual, problem specific correction strategies. Given an incorrect student program, it generates candidate programs from a distribution of likely corrections, and checks each candidate for correctness against a test suite. The key observation is that in MOOCs many programs share similar code fragments, and the seq2seq neural network model, used in the natural-language processing task of machine translation, can be modified and trained to recover these fragments. Experiment shows our scheme can correct 29% of all incorrect submissions and out-performs state of the art approach which requires manual, problem specific correction strategies.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。