paperbot · PL 论文追踪

全部论文 待读 收藏

P2 Context-aware and data-driven feedback generation for programming assignments

面向编程作业的上下文感知与数据驱动反馈生成
FSE Proceedings of the 29th ACM Joint Meeting on European Software Engineering Conference and Symposium on the Foundations of Software Engineering2021匹配度 2/10 · 该论文关注编程作业自动反馈与数据驱动的程序修复,属于教育场景下的程序修复/开发者工具,与用户画像中的静态分析、LLM/Agent、浮点程序分析、贝叶斯程序分析等核心方向均无明显交集。虽然涉及程序分析与修复技术,但既非面向 ML/Agentic 程序的静态分析,也非用 LLM/Agent 改进静态分析或形式化验证。引用 22 inbox
Dowon Song, Woosuk Lee, Hakjoo Oh
crossref: 2026-09-12

AI 速览

一句话:提出上下文感知的数据驱动修复算法 Cafe,为编程作业生成反馈,在 OCaml 学生程序中修复 83% 错误提交。

针对编程练习的个人化反馈,现有数据驱动方法通常依赖一个包含正确程序的语料库,通过相似参考程序修复错误提交,但该做法假设语料库中存在与错误提交足够接近的解答,限制了适用范围。本文提出 Cafe,一种新的数据驱动反馈生成方法,其核心是上下文感知的修复算法,即使错误程序与参考解答差异显著,也能利用修复上下文生成反馈。作者为 OCaml 实现 Cafe,并在 4,211 个真实学生程序上评估。结果显示,Cafe 能修复 83% 的错误提交,显著优于现有方法。

问题
现有数据驱动反馈生成方法依赖语料库中存在与错误提交足够接近的参考解答,当学生程序与参考解差异较大时难以生成有效反馈。
方法
提出 Cafe,采用上下文感知的修复算法,在语料库外更灵活地修复错误程序并生成反馈。
评估
在 OCaml 上实现,使用 4,211 个真实学生程序评测,修复 83% 的错误提交,显著超过已有方法。
原文摘要(Abstract)

Recently, various techniques have been proposed to automatically provide personalized feedback on programming exercises. The cutting edge of which is the data-driven approaches that leverage a corpus of existing correct programs and repair incorrect submissions by using similar reference programs in the corpus. However, current data-driven techniques work under the strong assumption that the corpus contains a solution program that is close enough to the incorrect submission. In this paper, we present Cafe, a new data-driven approach for feedback generation that overcomes this limitation. Unlike existing approaches, Cafe uses a novel context-aware repair algorithm that can generate feedback even if the incorrect program differs significantly from the reference solutions. We implemented Cafe for OCaml and evaluated it with 4,211 real student programs. The results show that Cafe is able to repair 83 % of incorrect submissions, far outperforming existing approaches.

链接与引用

DOI 原文 ·

BibTeX
@inproceedings{paperbot6320,
  title = {Context-aware and data-driven feedback generation for programming assignments},
  author = {Dowon Song and Woosuk Lee and Hakjoo Oh},
  booktitle = {FSE},
  year = {2021},
  doi = {10.1145/3468264.3468598}
}