Due to the vast number of students enrolled in programming courses, there has been an increasing number of automated program repair techniques focused on introductory programming assignments (IPAs). Typically, such techniques use program clustering to take advantage of previous correct student implementations to repair a new incorrect submission. These repair techniques use clustering methods since analyzing all available correct submissions to repair a program is not feasible. However, conventional clustering methods rely on program representations based on features such as abstract syntax trees (ASTs), syntax, control flow, and data flow.
This paper proposes InvAASTCluster, a novel approach for program clustering that uses dynamically generated program invariants to cluster semantically equivalent IPAs. InvAASTCluster's program representation uses a combination of the program's semantics, through its invariants, and its structure through its anonymized abstract syntax tree (AASTs). Invariants denote conditions that must remain true during program execution, while AASTs are ASTs devoid of variable and function names, retaining only their types. Our experiments show that the proposed program representation outperforms syntax-based representations when clustering a set of correct IPAs. Furthermore, we integrate InvAASTCluster into a state-of-the-art clustering-based program repair tool. Our results show that InvAASTCluster advances the current state-of-the-art when used by clustering-based repair tools by repairing around 13% more students' programs, in a shorter amount of time.
Correctness, Convergence, and AI-Generated Code Detection: A Longitudinal Study of Student and Large Language Model Code in Introductory Programming
University of Toronto(多伦多大学);Aalto University(阿尔托大学);McMaster University(麦克马斯特大学);Maranatha Christian University(马拉纳撒基督教大学);University of Auckland(奥克兰大学);University of Toronto Mississauga(多伦多大学密西沙加分校)
Design and Deployment of a Course-Aware AI Tutor in an Introductory Programming Course
Johannes Kepler University Linz, Institute of Business Informatics – Software Engineering(林茨约翰内斯·开普勒大学商业信息学研究所-软件工程);University of Innsbruck, Department of Computer Science(因斯布鲁克大学生物科学系)
Graph Neural Networks For Mapping Variables Between Programs -- Extended Version
INESC-ID(INESC-ID(里斯本高等工程学院信息与决策系统研究所));IST(里斯本高等技术学院);Universidade de Lisboa(里斯本大学);Radboud University Nijmegen(拉德堡德大学奈梅亨分校);Czech Technical University in Prague(布拉格捷克技术大学)
Beyond the Hype: A Comprehensive Review of Current Trends in Generative AI Research, Teaching Practices, and Tools
Abilene Christian University(阿比林基督教大学);Aalto University(阿尔托大学);Nuremberg Tech(纽伦堡工业大学);Google(谷歌公司);UC San Diego(加州大学圣迭戈分校);Temple University(天普大学);University of California Berkeley(加州大学伯克利分校);FernUniversität in Hagen(哈根函授大学);Virginia Tech(弗吉尼亚理工大学)