Using Large Language Models for Student-Code Guided Test Case Generation in Computer Science Education
Not on the map. Why?
Abstract (arXiv)
In computer science education, test cases are an integral part of programming assignments since they can be used as assessment items to test students' programming knowledge and provide personalized feedback on student-written code. The goal of our work is to propose a fully automated approach for test case generation that can accurately measure student knowledge, which is important for two reasons. First, manually constructing test cases requires expert knowledge and is a labor-intensive process. Second, developing test cases for students, especially those who are novice programmers, is significantly different from those oriented toward professional-level software developers. Therefore, we need an automated process for test case generation to assess student knowledge and provide feedback. In this work, we propose a large language model-based approach to automatically generate test cases and show that they are good measures of student knowledge, using a publicly available dataset that contains student-written Java code. We also discuss future research directions centered on using test cases to help students.
Key facts. Cited by 4 papers in the map (data through 7 Oct 2026). Builds on 10 of its 13 references that are in the map. First posted on arXiv 11 Feb 2024.
Builds on
10 of 13 references.
References · 10
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,302
- 2023Self-Refine: Iterative Refinement with Self-Feedbackcited by 3,317
- 2022Automatic Generation of Programming Exercises and Code Explanations using Large Language Modelscited by 124
- 2023Studying the effect of AI Code Generators on Supporting Novice Learners in Introductory Programmingcited by 87
- 2023CodeHelp: Using Large Language Models with Guardrails for Scalable Support in Programming Classescited by 71
- 2023Comparing Code Explanations Created by Students and Large Language Modelscited by 63
- 2023Generative AI for Programming Education: Benchmarking ChatGPT, GPT-4, and Human Tutorscited by 38
- 2023Can Large Language Models Write Good Property-Based Tests?cited by 30
- 2023Automating Human Tutor-Style Programming Feedback: Leveraging GPT-4 Tutor Model for Hint Generation and GPT-3.5 Student Model for Hint Validationcited by 29
- 2023Improving Reading Comprehension Question Generation with Data Augmentation and Overgenerate-and-rankcited by 12
Built on by
Citing papers per year: 2024: 4.
4 papers.
- 2024Improving Socratic Question Generation using Data Augmentation and Preference Optimizationcited by 15
- 2024Test Case-Informed Knowledge Tracing for Open-ended Coding Taskscited by 7
- 2024Generating Feedback-Ladders for Logical Errors in Programming using Large Language Modelscited by 3
- 2024Interpreting Latent Student Knowledge Representations in Programming Assignmentscited by 2
- 2024Test Case-Informed Knowledge Tracing for Open-ended Coding Tasks28 Sep 2024
- 2024Interpreting Latent Student Knowledge Representations in Programming Assignments13 May 2024
- 2024Generating Feedback-Ladders for Logical Errors in Programming using Large Language Models1 May 2024
- 2024Improving Socratic Question Generation using Data Augmentation and Preference Optimization1 Mar 2024