Instructor-Written Hints as Automated Test Suite Quality Feedback

被引:0
作者
Perretta, James [1 ]
DeOrio, Andrew [2 ]
Guha, Arjun [1 ]
Bell, Jonathan [1 ]
机构
[1] Northeastern Univ, Boston, MA 02115 USA
[2] Univ Michigan, Ann Arbor, MI USA
来源
PROCEEDINGS OF THE 56TH ACM TECHNICAL SYMPOSIUM ON COMPUTER SCIENCE EDUCATION, SIGCSE TS 2025, VOL 2 | 2025年
关键词
mutation testing; software testing education; automated feedback;
D O I
暂无
中图分类号
TP39 [计算机的应用];
学科分类号
081203 ; 0835 ;
摘要
Mutation testing measures a test suite's ability to detect bugs by inserting bugs into the code and seeing if the tests behave differently. Mutation testing has recently seen increased adoption in industrial and open-source software but sees limited use in education. Some instructors use manually-constructed mutants to evaluate student tests and provide general automated feedback. Additional tutoring requires more intensive instructor interaction such as in office hours, which requires substantial resources at scale. Prior work suggests that students benefit from frequent, actionable feedback, and our work focuses on the challenge of leveraging automation to give students high-quality feedback when they need it. We deployed an automated hint system that provides instructor-written hints related to mutants that student-written tests do not detect. We evaluated our hint system in a controlled experiment across four assignments in two introductory programming courses, comprising 4,122 students. We also analyzed student test suite revisions and conducted a mixed-methods analysis of student hint ratings and comments collected by the automated hint system. We observed a small, statistically significant increase in the mean number of mutants detected by students who received hints (experiment group) compared to those who did not (control group). In 25% of instances where students received a hint, they detected the mutant in a single revision to their test suite. We conclude with recommendations based on our analysis as a starting point for instructors who wish to deploy this type of automated feedback.
引用
收藏
页数:7
相关论文
共 26 条
[1]   Is mutation an appropriate tool for testing experiments? [J].
Andrews, JH ;
Briand, LC ;
Labiche, Y .
ICSE 05: 27TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING, PROCEEDINGS, 2005, :402-411
[2]   An Experience Report on Introducing Explicit Strategies into Testing Checklists for Advanced Beginners [J].
Bai, Gina R. ;
Sthapit, Sandeep ;
Heckman, Sarah ;
Price, Thomas W. ;
Stolee, Kathryn T. .
PROCEEDINGS OF THE 2023 CONFERENCE ON INNOVATION AND TECHNOLOGY IN COMPUTER SCIENCE EDUCATION, ITICSE 2023, VOL 1, 2023, :194-200
[3]   Check It Off: Exploring the Impact of a Checklist Intervention on the Quality of Student-authored Unit Tests [J].
Bai, Gina R. ;
Presler-Marshall, Kai ;
Price, Thomas W. ;
Stolee, Kathryn T. .
PROCEEDINGS OF THE 27TH ACM CONFERENCE ON INNOVATION AND TECHNOLOGY IN COMPUTER SCIENCE EDUCATION, ITICSE 2022, VOL 1, 2022, :276-282
[4]  
Bai Gina R., 2021, ITICSE, V1, P248, DOI [10.1145/3430665.3456368, DOI 10.1145/3430665.3456368]
[5]   Iris: An AI-Driven Virtual Tutor For Computer Science Education [J].
Bassner, Patrick ;
Frankford, Eduard ;
Krusche, Stephan .
PROCEEDINGS OF THE 2024 CONFERENCE INNOVATION AND TECHNOLOGY IN COMPUTER SCIENCE EDUCATION, VOL 1, ITICSE 2024, 2024, :394-400
[6]   Measuring Unit Test Accuracy [J].
Buffardi, Kevin ;
Valdivia, Pedro ;
Rogers, Destiny .
SIGCSE '19: PROCEEDINGS OF THE 50TH ACM TECHNICAL SYMPOSIUM ON COMPUTER SCIENCE EDUCATION, 2019, :578-584
[7]  
Carrington D., 1997, Proceedings of the 2nd Australasian conference on Computer science education, P59, DOI 10.1145/299359.299369
[8]   On automated grading of programming assignments in an academic institution [J].
Cheang, B ;
Kurnia, A ;
Lim, A ;
Oon, WC .
COMPUTERS & EDUCATION, 2003, 41 (02) :121-131
[9]  
Deorio Andrew, 2022, When is Automated Feedback a Barrier to Timely Feedback?, DOI [10.18260/1-2--40405, DOI 10.18260/1-2--40405]
[10]  
Edwards Stephen H., 2003, J. Educ. Resour. Comput., V3, P1, DOI [10.1145/1029994.1029995, DOI 10.1145/1029994.1029995]