Write a Blog >>
ICPC 2020
Mon 13 - Wed 15 July 2020
co-located with ICSE 2020
Wed 15 Jul 2020 08:30 - 08:50 at ICPC - Session 11: Search Chair(s): Banani Roy

Syntax errors combined with obscure error messages generated by compilers usually annoy programmers and cause them to waste a lot of time on locating errors. The existing models do not utilize the structure in the code and just treat the code as token sequences. It causes low accuracy and poor performance on this task. In this paper, we propose a novel deep supervised learning model, called Graphbased Grammar Fix(GGF), to help programmers locate and fix the syntax errors. GGF treats the code as a mixture of the token sequences and graphs. The graphs build upon the Abstract Syntax Tree (AST) structure information. GGF encodes an erroneous code with its sub-AST structure, predicts the error position using pointer network and generates the right token. We utilized the DeepFix dataset which contains 46500 correct C programs and 6975 programs with errors written by students taking an introductory programming course. GGF is trained with the correct programs from the DeepFix dataset with intentionally injected syntax errors. After training, GGF could fix 4054 (58.12%) of the erroneous code, while the existing state of the art tool DeepFix fixes 1365 (19.57%) of the erroneous code.

Wed 15 Jul
Times are displayed in time zone: (UTC) Coordinated Universal Time change

08:30 - 09:30: Session 11: SearchResearch at ICPC
Chair(s): Banani RoyUniversity of Saskatchewan
08:30 - 08:50
Paper
Research
Liwei WuNanjing University, Fei LiNanjing University, Youhua WuNanjing University, Tao ZhengNanjing University
Media Attached
08:50 - 09:10
Paper
Research
ChunYang LingPeking University, Zeqi LinPeking University, Yanzhen ZouPeking University, Bing XiePeking University
Pre-print Media Attached
09:10 - 09:30
Paper
Research
Jianjun HeSchool of Big Data & Software Engineering, Chongqing University, Ling XuSchool of Big Data & Software Engineering, Chongqing University, Meng YanSchool of Big Data & Software Engineering, Chongqing University, Xin XiaMonash University, Yan LeiSchool of Big Data & Software Engineering, Chongqing University
Media Attached