首页> 外文会议>IEEE/ACM International Conference on Software Engineering >Neuro-Symbolic Program Corrector for Introductory Programming Assignments
【24h】

Neuro-Symbolic Program Corrector for Introductory Programming Assignments

机译:介绍编程分配的神经象征性程序校正器

获取原文

摘要

Automatic correction of programs is a challenging problem with numerous real world applications in security, verification, and education. One application that is becoming increasingly important is the correction of student submissions in online courses for providing feedback. Most existing program repair techniques analyze Abstract Syntax Trees (ASTs) of programs, which are unfortunately unavailable for programs with syntax errors. In this paper, we propose a novel Neuro-symbolic approach that combines neural networks with constraint-based reasoning. Specifically, our method first uses a Recurrent Neural Network (RNN) to perform syntax repairs for the buggy programs; subsequently, the resulting syntactically-fixed programs are repaired using constraint-based techniques to ensure functional correctness. The RNNs are trained using a corpus of syntactically correct submissions for a given programming assignment, and are then queried to fix syntax errors in an incorrect programming submission by replacing or inserting the predicted tokens at the error location. We evaluate our technique on a dataset comprising of over 14,500 student submissions with syntax errors. Our method is able to repair syntax errors in 60% (8689) of submissions, and finds functionally correct repairs for 23.8% (3455) submissions.
机译:自动纠正计划是一个具有挑战性的问题,具有许多现实世界在安全,验证和教育中的应用。一个越来越重要的一个应用程序是在线课程中的学生提交纠正提供反馈。大多数现有的程序维修技术分析了程序的抽象语法树(ASTS),这对于具有语法错误的程序不可用。在本文中,我们提出了一种新的神经象征性方法,将神经网络与基于约束的推理结合起来。具体而言,我们的方法首先使用经常性的神经网络(RNN)来执行错误程序的语法维修;随后,使用基于约束的技术修复了所得到的语法 - 固定程序,以确保功能正确性。 RNN使用用于给定编程分配的语法正确提交的语料库,然后通过在错误位置替换或插入预测的令牌来查询以修复不正确的编程提交中的语法错误。我们在数据集上评估我们的技术,其中包含超过14,500名与语法错误的学生提交。我们的方法能够在60 %(8689)的提交中修复语法错误,并在功能上找到23.8 %(3455)提交的功能正确的维修。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号