Accelerating Accurate Assignment Authoring Using Solution-Generated Autograders

Geoffrey Challen, Ben Nordick

Research output: Chapter in Book/Report/Conference proceedingConference contribution

Abstract

Students learning to program benefit from access to large numbers of practice problems. Autograders are commonly used to support programming questions by providing quick feedback on submissions. But authoring accurate autograders remains challenging. Autograders are frequently created by enumerating test cases-a tedious process that can produce inaccurate autograders that fail to correctly classify submissions. When authoring accurate autograders is slow, it is difficult to create large banks of practice problems to support beginning programmers. We present solution-generated autograding: a faster, more accurate, and more enjoyable way to create autograders. Our approach leverages a key difference between software testing and autograding: The question author can provide a solution. By starting with a solution, we can eliminate the need to manually enumerate test cases, validate the autograder’s accuracy, and evaluate other aspects of submission code quality beyond behavioral correctness. We describe Questioner, an implementation of solution-generated autograding for Java and Kotlin, and share experiences from four years using Questioner to support a large CS1 course: authoring nearly 800 programming questions used by thousands of students to evaluate millions of submissions.

Original languageEnglish (US)
Title of host publicationSIGCSE TS 2025 - Proceedings of the 56th ACM Technical Symposium on Computer Science Education
PublisherAssociation for Computing Machinery
Pages227-233
Number of pages7
ISBN (Electronic)9798400705311
DOIs
StatePublished - Feb 18 2025
Event56th Annual SIGCSE Technical Symposium on Computer Science Education, SIGCSE TS 2025 - Pittsburgh, United States
Duration: Feb 26 2025Mar 1 2025

Publication series

NameSIGCSE TS 2025 - Proceedings of the 56th ACM Technical Symposium on Computer Science Education
Volume1

Conference

Conference56th Annual SIGCSE Technical Symposium on Computer Science Education, SIGCSE TS 2025
Country/TerritoryUnited States
CityPittsburgh
Period2/26/253/1/25

Keywords

  • Autograding
  • Code Quality Evaluation
  • Problem Authoring

ASJC Scopus subject areas

  • Computer Science (miscellaneous)
  • Education

Fingerprint

Dive into the research topics of 'Accelerating Accurate Assignment Authoring Using Solution-Generated Autograders'. Together they form a unique fingerprint.

Cite this