Automated Generation of Challenge Questions for Student Code Evaluation Using Abstract Syntax Tree Embeddings and RAG: An Exploratory Study
At a glance
- Citations
- 0
- References
- 11
- Comments
- 0
Öz
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.
Publication details
- DOI
- 10.1145/3711403.3711450
- OpenAlex
- W4408256992
- Document type
- conference-paper
- Language
- EN
- Last metadata update
Comments
Oturum Açın to join the discussion.