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

Displayed time zone: (UTC) Coordinated Universal Time change

08:30 - 09:30
Session 11: SearchResearch at ICPC
Chair(s): Banani Roy University of Saskatchewan
08:30
20m
Paper
GGF: A Graph-based Method for Programming Language Syntax Error Correction
Research
Liwei Wu Nanjing University, Fei Li Nanjing University, Youhua Wu Nanjing University, Tao Zheng Nanjing University
Media Attached
08:50
20m
Paper
Adaptive Deep Code Search
Research
ChunYang Ling Peking University, Zeqi Lin Peking University, Yanzhen Zou Peking University, Bing Xie Peking University
Pre-print Media Attached
09:10
20m
Paper
Duplicate Bug Report Detection Using Dual-Channel Convolutional Neural Networks
Research
Jianjun He School of Big Data & Software Engineering, Chongqing University, Ling Xu School of Big Data & Software Engineering, Chongqing University, Meng Yan School of Big Data & Software Engineering, Chongqing University, Xin Xia Monash University, Yan Lei School of Big Data & Software Engineering, Chongqing University
Media Attached