mlsanityData to 7 Oct 2026

Using Large Language Models for Student-Code Guided Test Case Generation in Computer Science Education

arXiv 2402.07081 ↗First posted 11 Feb 2024cs.CL cs.SEcited by 4

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

  1. 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Modelscited by 12,302
  2. 2023Self-Refine: Iterative Refinement with Self-Feedbackcited by 3,317
  3. 2022Automatic Generation of Programming Exercises and Code Explanations using Large Language Modelscited by 124
  4. 2023Studying the effect of AI Code Generators on Supporting Novice Learners in Introductory Programmingcited by 87
  5. 2023CodeHelp: Using Large Language Models with Guardrails for Scalable Support in Programming Classescited by 71
  6. 2023Comparing Code Explanations Created by Students and Large Language Modelscited by 63
  7. 2023Generative AI for Programming Education: Benchmarking ChatGPT, GPT-4, and Human Tutorscited by 38
  8. 2023Can Large Language Models Write Good Property-Based Tests?cited by 30
  9. 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
  10. 2023Improving Reading Comprehension Question Generation with Data Augmentation and Overgenerate-and-rankcited by 12

Built on by

Cited by year

Citing papers per year: 2024: 4.

4 papers.