TY - GEN
T1 - Automated Generation of Challenge Questions for Student Code Evaluation Using Abstract Syntax Tree Embeddings and RAG
T2 - 7th International Conference on Educational Technology Management, ICETM 2024
AU - Boubaker, Anis
AU - Fang, Ying
N1 - Publisher Copyright:
© 2024 Copyright held by the owner/author(s).
PY - 2025/3/8
Y1 - 2025/3/8
N2 - This paper presents an exploratory study on detecting learning gaps in student-submitted code by generating automated challenge questions. The proposed method compares the abstract syntax trees (ASTs) of student code with those of class-taught examples using embeddings and retrieval-augmented generation (RAG). The approach identifies the most structurally deviant sections of student code and generates challenge questions targeting advanced, untaught coding techniques, such as function pointers and variadic functions. The evaluation, conducted on real-world C programming assignments, demonstrates the effectiveness of the selection process and the quality of generated questions. This work highlights the potential for using structural analysis and automated challenge questions generation to improve student assessment in coding education.
AB - This paper presents an exploratory study on detecting learning gaps in student-submitted code by generating automated challenge questions. The proposed method compares the abstract syntax trees (ASTs) of student code with those of class-taught examples using embeddings and retrieval-augmented generation (RAG). The approach identifies the most structurally deviant sections of student code and generates challenge questions targeting advanced, untaught coding techniques, such as function pointers and variadic functions. The evaluation, conducted on real-world C programming assignments, demonstrates the effectiveness of the selection process and the quality of generated questions. This work highlights the potential for using structural analysis and automated challenge questions generation to improve student assessment in coding education.
KW - Code review
KW - abstract syntax trees
KW - educational challenge questions
KW - retrieval augmented generation
UR - https://www.scopus.com/pages/publications/105001673433
U2 - 10.1145/3711403.3711450
DO - 10.1145/3711403.3711450
M3 - Contribution to conference proceedings
AN - SCOPUS:105001673433
T3 - ICETM 2024 - Proceedings of the 2024 7th International Conference on Educational Technology Management
SP - 277
EP - 282
BT - ICETM 2024 - Proceedings of the 2024 7th International Conference on Educational Technology Management
PB - Association for Computing Machinery, Inc
Y2 - 8 November 2024 through 10 November 2024
ER -