paper-with-me

Papers

DeepFix: Fixing Common C Language Errors by Deep Learning

2017-02-04 · Rahul Gupta, Soham Pal, Aditya Kanade, Shirish Shevade

The problem of automatically fixing programming errors is a very active research topic in software engineering. This is a challenging problem as fixing even a single error may require analysis of the entire program. In practice, a number of errors arise due to programmer’s inexperience with the programming language or lack of attention to detail. We call these common programming errors. These are analogous to grammatical errors in natural languages. Compilers detect such errors, but their error messages are usually inaccurate. In this work, we present an end-to-end solution, called DeepFix, that can fix multiple such errors in a program without relying on any external tool to locate or fix them. At the heart of DeepFix is a multi-layered sequence-to-sequence neural network with attention which is trained to predict erroneous program locations along with the required correct statements. On a set of 6971 erroneous C programs written by students for 93 programming tasks, DeepFix could fix 1881 (27%) programs completely and 1338 (19%) programs partially.

📄 PDF Abstract BibTeX

Code (1)

https://bitbucket.org/iiscseal/deepfix tf

Tasks

Deep LearningProgram Repair

Similar Papers 제목 키워드 기반

MultiFix: Learning to Repair Multiple Errors by Optimal Alignment Learning

2021-11-01 · Findings (EMNLP) 2021 11 · HyeonTae Seo, Yo-Sub Han, Sang-Ki Ko

We consider the problem of learning to repair erroneous C programs by learning optimal alignments with correct programs. Since the previous approaches fix a single error in a line, it is inevitable to iterate the fixing …

Program Repair

Break-It-Fix-It: Unsupervised Learning for Program Repair

2021-06-11 · Michihiro Yasunaga, Percy Liang

We consider repair tasks: given a critic (e.g., compiler) that assesses the quality of an input, the goal is to train a fixer that converts a bad example (e.g., code with syntax errors) into a good one (e.g., code with n…

C++ codeCode RepairData AugmentationDomain Adaptation+3

Deep Reinforcement Learning for Programming Language Correction

2018-01-31 · Rahul Gupta, Aditya Kanade, Shirish Shevade

Novice programmers often struggle with the formal syntax of programming languages. To assist them, we design a novel programming language correction framework amenable to reinforcement learning. The framework allows an a…

Deep Reinforcement LearningMachine TranslationProgram Repairreinforcement-learning+3

DeepFix: A Fully Convolutional Neural Network for predicting Human Eye Fixations

2015-10-10 · Srinivas S. S. Kruthiventi, Kumar Ayush, R. Venkatesh Babu

Understanding and predicting the human visual attentional mechanism is an active area of research in the fields of neuroscience and computer vision. In this work, we propose DeepFix, a first-of-its-kind fully convolution…

Saliency Prediction

Deepfix: Statistical Post-editing of Statistical Machine Translation Using Deep Syntactic Analysis

2013-08-01 · ACL 2013 8 · Rudolf Rosa, David Mare{\v{c}}ek, Ale{\v{s}} Tamchyna
Automatic Post-EditingMachine TranslationTranslation