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

被引:0
作者
Kumar, Nischal Ashok [1 ]
Lan, Andrew S. [1 ]
机构
[1] Univ Massachusetts Amherst, Amherst, MA 01003 USA
来源
AI FOR EDUCATION WORKSHOP | 2024年 / 257卷
关键词
Computer Science Education; Large Language Models; Test Case Generation;
D O I
暂无
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
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.
引用
收藏
页码:170 / 178
页数:9
相关论文
共 50 条
  • [41] Enabling controllable table-to-text generation via prompting large language models with guided planning
    Zhao, Shuo
    Sun, Xin
    KNOWLEDGE-BASED SYSTEMS, 2024, 304
  • [42] A Survey of Natural Language-Based Editing of Low-Code Applications Using Large Language Models
    Gorissen, Simon Cornelius
    Sauer, Stefan
    Beckmann, Wolf G.
    HUMAN-CENTERED SOFTWARE ENGINEERING, HCSE 2024, 2024, 14793 : 243 - 254
  • [43] Using Peer Assessment Leveraging Large Language Models in Software Engineering Education
    Fiore, Marco
    Mongiello, Marina
    INTERNATIONAL JOURNAL OF SOFTWARE ENGINEERING AND KNOWLEDGE ENGINEERING, 2025, 35 (01) : 1 - 18
  • [44] Experiences from Using Code Explanations Generated by Large Language Models in a Web Software Development E-Book
    MacNeil, Stephen
    Tran, Andrew
    Hellas, Arto
    Kim, Joanne
    Sarsa, Sami
    Denny, Paul
    Bernstein, Seth
    Leinonen, Juho
    PROCEEDINGS OF THE 54TH ACM TECHNICAL SYMPOSIUM ON COMPUTER SCIENCE EDUCATION, VOL 1, SIGCSE 2023, 2023, : 931 - 937
  • [45] Formative Feedback on Student-Authored Summaries in Intelligent Textbooks Using Large Language Models
    Morris, Wesley
    Crossley, Scott
    Holmes, Langdon
    Ou, Chaohua
    Dascalu, Mihai
    Mcnamara, Danielle
    INTERNATIONAL JOURNAL OF ARTIFICIAL INTELLIGENCE IN EDUCATION, 2024,
  • [46] A Survey Study on the State of the Art of Programming Exercise Generation using Large Language Models
    Frankford, Eduard
    Hoehn, Ingo
    Sauerwein, Clemens
    Breu, Ruth
    2024 36TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING EDUCATION AND TRAINING, CSEE & T 2024, 2024,
  • [47] Next-Step Hint Generation for Introductory Programming Using Large Language Models
    Roest, Lianne
    Keuning, Hieke
    Jeuring, Johan
    PROCEEDINGS OF THE 26TH AUSTRALASIAN COMPUTING EDUCATION CONFERENCE, ACE 2024, 2024, : 144 - 153
  • [48] Transforming Informed Consent Generation Using Large Language Models: Mixed Methods Study
    Shi, Qiming
    Luzuriaga, Katherine
    Allison, Jeroan J.
    Oztekin, Asil
    Faro, Jamie M.
    Lee, Joy L.
    Hafer, Nathaniel
    Mcmanus, Margaret
    Zai, Adrian H.
    JMIR MEDICAL INFORMATICS, 2025, 13
  • [49] A Study Case of Automatic Archival Research and Compilation using Large Language Models
    Guo, Dongsheng
    Yue, Aizhen
    Ning, Fanggang
    Huang, Dengrong
    Chang, Bingxin
    Duan, Qiang
    Zhang, Lianchao
    Chen, Zhaoliang
    Zhang, Zheng
    Zhan, Enhao
    Zhang, Qilai
    Jiang, Kai
    Li, Rui
    Zhao, Shaoxiang
    Wei, Zizhong
    2023 IEEE INTERNATIONAL CONFERENCE ON KNOWLEDGE GRAPH, ICKG, 2023, : 52 - 59
  • [50] Flexible and Secure Code Deployment in Federated Learning using Large Language Models: Prompt Engineering to Enhance Malicious Code Detection
    Seo, Jungwon
    Zhang, Nan
    Rong, Chunming
    2023 IEEE INTERNATIONAL CONFERENCE ON CLOUD COMPUTING TECHNOLOGY AND SCIENCE, CLOUDCOM 2023, 2023, : 341 - 349