paperbot · PL 论文追踪

全部论文 待读 收藏

P2 Targeted Example Generation for Compilation Errors

面向编译错误的定向示例生成
ASE 2019 34th IEEE/ACM International Conference on Automated Software Engineering (ASE)2019匹配度 2/10 · 论文用监督分类为新手编译错误推荐修复示例,属于ML4Code/编程教育工具,与用户关注的静态分析、Agentic程序、LLM与程序分析/形式化验证交叉、浮点或贝叶斯程序分析等核心方向均不匹配;仅在“机器学习与程序语言”标签层面有弱关联。引用 0 inbox
Umair Z. Ahmed, Renuka Sindhgatta, Nisheeth Srivastava, Amey Karkare
crossref: 2026-09-12

AI 速览

一句话:TEGCER 用监督分类将新手编译错误匹配到已有错误类别,并按需推荐相似修复示例。

论文针对新手编程时难以理解和修复编译错误的问题,提出自动化反馈工具 TEGCER。它利用监督分类,将新提交代码中的编译错误与以往学生提交的相关错误进行匹配;用于分类的稠密神经网络在 15000 多个错误-修复代码示例上训练,在 212 个错误类别标签上取得 97.7% 的 Pred@3 测试准确率。以该模型为基础,TEGCER 能在学生需要时展示与其具体错误最相关的解题示例。大规模可用性研究(N>230)表明,使用 TEGCER 的学生平均比接受人工辅导的学生快 25% 以上解决错误。

问题
新手编程时编译错误反馈不足,学生难以及时定位并修复错误。
方法
训练稠密神经网络对编译错误进行监督分类,匹配历史错误类别,并据此推荐最相关的修复示例。
评估
在 15000+ 错误-修复样本上训练,212 类标签上达到 97.7% Pred@3;N>230 的可用性研究比较 TEGCER 与人工辅导的解决速度。
原文摘要(Abstract)

We present TEGCER, an automated feedback tool for novice programmers. TEGCER uses supervised classification to match compilation errors in new code submissions with relevant pre-existing errors, submitted by other students before. The dense neural network used to perform this classification task is trained on 15000+ error-repair code examples. The proposed model yields a test set classification Pred@3 accuracy of 97.7% across 212 error category labels. Using this model as its base, TEGCER presents students with the closest relevant examples of solutions for their specific error on demand. A large scale (N>230) usability study shows that students who use TEGCER are able to resolve errors more than 25% faster on average than students being assisted by human tutors.

链接与引用

DOI 原文 · PDF(开放获取) ·

BibTeX
@inproceedings{paperbot5323,
  title = {Targeted Example Generation for Compilation Errors},
  author = {Umair Z. Ahmed and Renuka Sindhgatta and Nisheeth Srivastava and Amey Karkare},
  booktitle = {ASE},
  year = {2019},
  doi = {10.1109/ase.2019.00039}
}