Test Case-Informed Knowledge Tracing for Open-ended Coding Tasks
Not on the map. Why?
Abstract (arXiv)
Open-ended coding tasks, which ask students to construct programs according to certain specifications, are common in computer science education. Student modeling can be challenging since their open-ended nature means that student code can be diverse. Traditional knowledge tracing (KT) models that only analyze response correctness may not fully capture nuances in student knowledge from student code. In this paper, we introduce Test case-Informed Knowledge Tracing for Open-ended Coding (TIKTOC), a framework to simultaneously analyze and predict both open-ended student code and whether the code passes each test case. We augment the existing CodeWorkout dataset with the test cases used for a subset of the open-ended coding questions, and propose a multi-task learning KT method to simultaneously analyze and predict 1) whether a student's code submission passes each test case and 2) the student's open-ended code, using a large language model as the backbone. We quantitatively show that these methods outperform existing KT methods for coding that only use the overall score a code submission receives. We also qualitatively demonstrate how test case information, combined with open-ended code, helps us gain fine-grained insights into student knowledge.
Key facts. Cited by 7 papers in the map (data through 14 Oct 2026). Builds on 24 of its 56 references that are in the map. First posted on arXiv 28 Sep 2024.
Builds on
24 of 56 references.
References · 24
- 2023QLoRA: Efficient Finetuning of Quantized LLMscited by 3,418
- 2017Multi-Task Learning Using Uncertainty to Weigh Losses for Scene Geometry and Semanticscited by 1,358
- 2015A Diversity-Promoting Objective Function for Neural Conversation Modelscited by 1,077
- 2020CodeBLEU: a Method for Automatic Evaluation of Code Synthesiscited by 479
- 2016Fairness Beyond Disparate Treatment & Disparate Impact: Learning Classification without Disparate Mistreatmentcited by 369
- 2015Deep Knowledge Tracingcited by 332
- 2018code2vec: Learning Distributed Representations of Codecited by 250
- 2020Context-Aware Attentive Knowledge Tracingcited by 174
- 2019A Self-Attentive model for Knowledge Tracingcited by 172
- 2016Dynamic Key-Value Memory Networks for Knowledge Tracingcited by 171
- 2022Automatic Generation of Programming Exercises and Code Explanations using Large Language Modelscited by 126
- 2019EKT: Exercise-aware Knowledge Tracing for Student Performance Predictioncited by 109
12 more
- 2022Knowledge Tracing: A Surveycited by 77
- 2020SAINT+: Integrating Temporal Features for EdNet Correctness Predictioncited by 57
- 2020GIKT: A Graph-based Interaction Model for Knowledge Tracingcited by 51
- 2015Program Synthesis using Natural Languagecited by 41
- 2020Synthesizing Tasks for Block-based Programmingcited by 19
- 2022Code-DKT: A Code-based Knowledge Tracing Model for Programming Taskscited by 16
- 2024Improving Socratic Question Generation using Data Augmentation and Preference Optimizationcited by 16
- 2021Programming Knowledge Tracing: A Comprehensive Dataset and A New Modelcited by 9
- 2021Toward Semi-Automatic Misconception Discovery Using Code Embeddingscited by 8
- 2022From {Solution Synthesis} to {Student Attempt Synthesis} for Block-Based Visual Programming Taskscited by 8
- 2024Using Large Language Models for Student-Code Guided Test Case Generation in Computer Science Educationcited by 4
- 2024Interpreting Latent Student Knowledge Representations in Programming Assignmentscited by 2
Built on by
Citing papers per year: 2025: 2; 2026: 5.
7 papers.
- 2026KASER: Knowledge-Aligned Student Error Simulator for Open-Ended Coding Taskscited by 7
- 2025Automated Knowledge Component Generation for Interpretable Knowledge Tracing in Coding Problemscited by 5
- 2025Learning Code-Edit Embedding to Model Student Debugging Behaviorcited by 1
- 2026Teaching Language Models How to Code Like Learners: Conversational Serialization for Student Simulationcited by 1
- 2026Using LLMs for Knowledge Component-level Correctness Labeling in Open-ended Coding Problemscited by 0
- 2026CodeGENCAT: Generative Computerized Adaptive Testing for Open-ended Coding Problemscited by 0
- 2026A Dataset for Modeling Iterative Problem-Solvingcited by 0
- 2026A Dataset for Modeling Iterative Problem-Solving1 Sep 2026
- 2026Teaching Language Models How to Code Like Learners: Conversational Serialization for Student Simulation12 Apr 2026
- 2026CodeGENCAT: Generative Computerized Adaptive Testing for Open-ended Coding Problems23 Feb 2026
- 2026Using LLMs for Knowledge Component-level Correctness Labeling in Open-ended Coding Problems19 Feb 2026
- 2026KASER: Knowledge-Aligned Student Error Simulator for Open-Ended Coding Tasks10 Jan 2026
- 2025Learning Code-Edit Embedding to Model Student Debugging Behavior26 Feb 2025
- 2025Automated Knowledge Component Generation for Interpretable Knowledge Tracing in Coding Problems25 Feb 2025