作者
Qihao Zhu, Zeyu Sun, Yuan-an Xiao, Wenjie Zhang, Kang Yuan, Yingfei Xiong, Lu Zhang
发表日期
2021/8/20
图书
Proceedings of the 29th ACM joint meeting on European software engineering conference and symposium on the foundations of software engineering
页码范围
341-353
简介
Automated Program Repair (APR) helps improve the efficiency of software development and maintenance. Recent APR techniques use deep learning, particularly the encoder-decoder architecture, to generate patches. Though existing DL-based APR approaches have proposed different encoder architectures, the decoder remains to be the standard one, which generates a sequence of tokens one by one to replace the faulty statement. This decoder has multiple limitations: 1) allowing to generate syntactically incorrect programs, 2) inefficiently representing small edits, and 3) not being able to generate project-specific identifiers.
In this paper, we propose Recoder, a syntax-guided edit decoder with placeholder generation. Recoder is novel in multiple aspects: 1) Recoder generates edits rather than modified code, allowing efficient representation of small edits; 2) Recoder is syntax-guided, with the novel provider …
引用总数
2020202120222023202414307392
学术搜索中的文章
Q Zhu, Z Sun, Y Xiao, W Zhang, K Yuan, Y Xiong… - Proceedings of the 29th ACM joint meeting on …, 2021
Q Zhu, W Zhang - arXiv preprint arXiv:2106.08253, 2021