paperbot · PL 论文追踪

全部论文 待读 收藏

P2 Finding Anomalies in Scratch Assignments

发现 Scratch 作业中的异常
ICSE 2021 IEEE/ACM 43rd International Conference on Software Engineering: Software Engineering Education and Training (ICSE-SEET)2021匹配度 2/10 · 论文面向 Scratch 教学作业的异常检测,虽涉及程序分析与无需人工规约的偏差检测,但与用户关注的 LLM/Agent 结合、浮点程序分析、贝叶斯程序分析以及静态分析在 ML/Agent 系统中的应用均无直接关系。引用 1 inbox
Nina Körber, Katharina Geldreich, Andreas Stahlbauer, Gordon Fraser
crossref: 2026-09-12

AI 速览

一句话:将异常检测用于 Scratch 课堂作业,无需人工规约即可发现代码偏差。

在编程教育中,教师需要检查学生代码以评估学习进度。传统语言的代码质量可用测试、验证工具或 linter 自动评估,但这些方法通常依赖教师难以编写的形式规约,且面向 Scratch 等块状入门语言的类似支持不足。本文把异常检测引入课堂场景,自动识别 Scratch 代码中偏离常见行为的模式,异常可能对应错误代码、替代解法或突出作品。作者在不同编程任务的 Scratch 解法上评估,结果表明该方法既能用于规约严格的作业,也能用于开放式任务。

问题
教师难以手写形式规约来自动评估学生代码,且 Scratch 等块状语言缺少类似支持。
方法
采用异常检测,从 Scratch 作业数据中自动学习常见行为并找出偏离常见模式的代码。
评估
在不同编程任务的 Scratch 解法上评估,覆盖规约严格与开放式任务,验证异常检测的有效性。
原文摘要(Abstract)

In programming education, teachers need to monitor and assess the progress of their students by investigating the code they write. Code quality of programs written in traditional programming languages can be automatically assessed with automated tests, verification tools, or linters. In many cases these approaches rely on some form of manually written formal specification to analyze the given programs. Writing such specifications, however, is hard for teachers, who are often not adequately trained for this task. Furthermore, similar support for popular block-based introductory programming languages like Scratch is lacking. Anomaly detection is an approach to automatically identify deviations of common behavior in datasets without any need for writing a specification. In this paper, we use anomaly detection to automatically find deviations of Scratch code in a classroom setting, where anomalies can represent erroneous code, alternative solutions, or distinguished work. Evaluation on solutions of different programming tasks demonstrates that anomaly detection can successfully be applied to tightly specified as well as open-ended programming tasks.

链接与引用

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

BibTeX
@inproceedings{paperbot6284,
  title = {Finding Anomalies in Scratch Assignments},
  author = {Nina Körber and Katharina Geldreich and Andreas Stahlbauer and Gordon Fraser},
  booktitle = {ICSE},
  year = {2021},
  doi = {10.1109/icse-seet52601.2021.00027}
}