In programming education, providing manual feedback is essential but labour-intensive, posing challenges in consistency and timeliness. We introduce ECHO, a machine learning method to automate the reuse of feedback in educational code reviews by analysing patterns in abstract syntax trees. This study investigates two primary questions: whether ECHO can predict feedback annotations to specific lines of student code based on previously added annotations by human reviewers (RQ1), and whether its training and prediction speeds are suitable for using ECHO for real-time feedback during live code reviews by human reviewers (RQ2). Our results, based on annotations from both automated linting tools and human reviewers, show that ECHO can accurately and quickly predict appropriate feedback annotations. Its efficiency in processing and its flexibility in adapting to feedback patterns can significantly reduce the time and effort required for manual feedback provisioning in educational settings.
SYNFIX: Automatically Fixing Syntax Errors using Compiler Diagnostics
University of California, Davis(加州大学戴维斯分校)
初级程序员要与现代程序设计语言(如Java)的复杂语法作斗争,并犯下许多语法错误。来自编译器和IDE的诊断语法错误消息有时很有用,但通常这些消息都是晦涩难懂的。在处理语法错误时,自动修复建议可以帮助学生,节省教师的时间。学生错误和修复的大样本现在可用,提供了数据驱动的机器学习方法来帮助学生修复语法错误的可能性。目前的机器学习方法在修复较短程序中的语法错误方面做得很好,但即使对于较长的程序也不起作用。我们介绍了SYNFIX,一种基于机器学习的工具,通过学习使用编译器诊断,采用一个非常大的神经模型,利用无监督的预训练,并依赖于多标签分类而不是自回归合成来生成(修复)输出,从而大大提高了最新技术水平。我们详细描述了SYNFIX的体系结构,并提供了详细的评估。我们已经将SYNFIX构建为Visual Studio Code的免费开源版本;我们免费提供所有源代码和模型。
ShortCoder: Knowledge-Augmented Syntax Optimization for Token-Efficient Code Generation
Sun Yat-sen University, China(中山大学);Huawei Cloud Computing Technologies Co., Ltd., China(华为云计算技术有限公司);Chongqing University, China(重庆大学);University of Electronic Science and Technology of China, China(电子科技大学)
Exploring Code Analysis: Zero-Shot Insights on Syntax and Semantics with LLMs
Singapore Management University(新加坡国立大学);Blekinge Institute of Technology(布莱金厄学院);Beihang University(北航);State Key Laboratory of Novel Software Technology, Nanjing University(南京大学软件新技术国家重点实验室);The University of Tokyo(东京大学);University of Alberta(阿尔伯塔大学);Nanyang Technological University(南洋理工大学);Shenzhen Technology University(深圳技术大学)
Can Automated Feedback Turn Students into Happy Prologians?
Universidade de Lisboa(里斯本大学);Artificial Intelligence Research Institute, Consejo Superior de Investigaciones Científicas(西班牙高等科学研究理事会人工智能研究所);Carnegie Mellon University(卡内基梅隆大学)