跳到正文
EasyXiv 检索
投稿 关于 登录

按回车检索 · 直接输入编号(如 1706.03762)可跳转到论文

计算机科学 > 软件工程

arXiv:2005.14015 (cs)
[提交于 2020年5月28日]

标题:MACER: A Modular Framework for Accelerated Compilation Error Repair

作者:Darshak Chhatbar, Umair Z. Ahmed, Purushottam Kar
查看论文《MACER: A Modular Framework for Accelerated Compilation Error Repair》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:Automated compilation error repair, the problem of suggesting fixes to buggy programs that fail to compile, has generated significant interest in recent years. Apart from being a tool of general convenience, automated code repair has significant pedagogical applications for novice programmers who find compiler error messages cryptic and unhelpful. Existing approaches largely solve this problem using a blackbox-application of a heavy-duty generative learning technique, such as sequence-to-sequence prediction (TRACER) or reinforcement learning (RLAssist). Although convenient, such black-box application of learning techniques makes existing approaches bulky in terms of training time, as well as inefficient at targeting specific error types. We present MACER, a novel technique for accelerated error repair based on a modular segregation of the repair process into repair identification and repair application. MACER uses powerful yet inexpensive discriminative learning techniques such as multi-label classifiers and rankers to first identify the type of repair required and then apply the suggested repair. Experiments indicate that the fine-grained approach adopted by MACER offers not only superior error correction, but also much faster training and prediction. On a benchmark dataset of 4K buggy programs collected from actual student submissions, MACER outperforms existing methods by 20% at suggesting fixes for popular errors that exactly match the fix desired by the student. MACER is also competitive or better than existing methods at all error types -- whether popular or rare. MACER offers a training time speedup of 2x over TRACER and 800x over RLAssist, and a test time speedup of 2-4x over both.
评论: 19 pages, 9 figures. A short version of this paper will appear at the 21st International Conference on Artificial Intelligence in Education (AIED). Code for the MACER tool-chain is available at https://github.com/purushottamkar/macer/
主题: 软件工程 (cs.SE); 机器学习 (cs.LG); 程序设计语言 (cs.PL); 机器学习 (stat.ML)
引用方式: arXiv:2005.14015 [cs.SE]
  (或者 arXiv:2005.14015v1 [cs.SE] 对于此版本)
  https://doi.org/10.48550/arXiv.2005.14015

提交历史

来自:Purushottam Kar
[v1] 2020年5月28日 星期四 14:00:03 UTC
全文链接:

访问论文:

  • 查看原文 PDF
  • 中文 PDF (下批处理)
  • EasyResearch 阅读
  • TeX 源文件
  • arXiv 原文页面
查看许可

当前浏览上下文:

cs.SE
< 上一篇   |   下一篇 >
最新 | 近期 | 2020-05
切换浏览方式为:
cs
cs.LG
cs.PL
stat.ML

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

EasyXiv 是独立运营的中文预印本站点,与 arXiv 及康奈尔大学无隶属关系。 论文元数据与原文来自 arXiv.org,感谢 arXiv 提供开放获取服务。
关于 · 帮助 · 投稿指南 · 版权 · arXiv 原站