DeepFix: Fixing Common C Language Errors by Deep Learning 论文

2017Proceedings of the AAAI Conference on Artificial Intelligence引用 424
Software Engineering ResearchSoftware Testing and Debugging TechniquesSoftware System Performance and Reliability

详细信息

发表期刊/会议
Proceedings of the AAAI Conference on Artificial Intelligence
发表日期
2017-02-12
发表年份
2017

关键词

Software Engineering ResearchSoftware Testing and Debugging TechniquesSoftware System Performance and Reliability

摘要

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.

相关技术

暂无数据

相关事件

暂无数据

相关文章

暂无数据