Automating Autograding: Large Language Models as Test Suite Generators for Introductory Programming

计算机科学 测试套件 分级(工程) 考试(生物学) 工作流程 一套 测试用例 软件工程 程序设计语言 数学教育 多媒体 机器学习 数据库 数学 考古 回归分析 古生物学 土木工程 工程类 历史 生物
作者
Umar Alkafaween,Ibrahim Al-Bluwi,Paul C. Denny
出处
期刊:Journal of Computer Assisted Learning [Wiley]
卷期号:41 (1): e13100- 被引量:36
标识
DOI:10.1111/jcal.13100
摘要

Background Automatically graded programming assignments provide instant feedback to students and significantly reduce manual grading time for instructors. However, creating comprehensive suites of test cases for programming problems within automatic graders can be time‐consuming and complex. The effort needed to define test suites may deter some instructors from creating additional problems or lead to inadequate test coverage, potentially resulting in misleading feedback on student solutions. Such limitations may reduce student access to the well‐documented benefits of timely feedback when learning programming. Objectives We evaluate the effectiveness of using Large Language Models (LLMs), as part of a larger workflow, to automatically generate test suites for CS1‐level programming problems. Methods Each problem's statement and reference solution are provided to GPT‐4 to produce a test suite that can be used by an autograder. We evaluate our proposed approach using a sample of 26 problems, and more than 25,000 attempted solutions to those problems, submitted by students in an introductory programming course. We compare the performance of the LLM‐generated test suites against the instructor‐created test suites for each problem. Results and Conclusions Our findings reveal that LLM‐generated test suites can correctly identify most valid solutions, and for most problems are at least as comprehensive as the instructor test suites. Additionally, the LLM‐generated test suites exposed ambiguities in some problem statements, underscoring their potential to improve both autograding and instructional design.
最长约 10秒,即可获得该文献文件

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
Nole的应助被tomatoGG采纳,获得10
刚刚
失眠的友卉完成签到,获得积分10
刚刚
刚刚
刚刚
852的应助被进进采纳,获得20
刚刚
molihuakai的应助被wxjixej采纳,获得10
刚刚
刚刚
1秒前
鹤鸣完成签到,获得积分10
1秒前
2秒前
2秒前
2秒前
顺利的源智完成签到,获得积分10
2秒前
高高代萱发布了新的文献求助10
3秒前
星辰大海的应助被无私藏鸟采纳,获得10
4秒前
4秒前
4秒前
疾风发布了新的文献求助10
4秒前
5秒前
林慧宁发布了新的文献求助10
6秒前
6秒前
qqweisiweiqq完成签到,获得积分10
7秒前
Poimi完成签到,获得积分10
7秒前
8秒前
Dz发布了新的文献求助10
8秒前
9秒前
FYSYYC发布了新的文献求助10
9秒前
9秒前
10秒前
10秒前
疾风完成签到,获得积分10
10秒前
YF发布了新的文献求助10
11秒前
ZXB的应助被毅诚菌采纳,获得10
13秒前
东方浩漫完成签到,获得积分10
13秒前
13秒前
研友_VZG7GZ的应助被li采纳,获得10
14秒前
向风完成签到,获得积分10
14秒前
杨洋发布了新的文献求助10
14秒前
YYYYYY发布了新的文献求助10
14秒前
14秒前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
Current status of early diagnosis of pancreatic cancer 600
Bonding in Metal(IV) Hexafluorides Examined Using Fluorine K-edge X-ray Absorption Spectroscopy 500
Trend and Out-of-Trend Analysis for Pharmaceutical Quality and Manufacturing Using Minitab 500
Advanced Modeling and Control of DC‐DC Converters 400
Calculus: Early Transcendentals, Volume I 400
Tutorials in Operations Research: Operations Research and Artificial Intelligence: Better Together 400
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 计算机科学 工程类 有机化学 化学工程 生物化学 物理 复合材料 内科学 催化作用 光电子学 人工智能 细胞生物学 无机化学 物理化学 数学
热门帖子
关注 科研通微信公众号,转发送积分 8246790
求助须知:如何正确求助?哪些是违规求助? 9622075
关于积分的说明 22118988
捐赠科研通 7864204
什么是DOI,文献DOI怎么找? 3455676
关于科研通互助平台的介绍 2574803
邀请新用户注册赠送积分活动 2506737