SEMay 12, 2021

Guiding Next-Step Hint Generation Using Automated Tests

arXiv:2105.05519v118 citations
Originality Incremental advance
AI Analysis

This addresses the problem of providing automated, individualized feedback for students stuck in Scratch programming, which is incremental as it extends existing data-driven hint generation methods with automated testing.

The paper tackles the challenge of generating next-step hints for novices learning programming in Scratch by introducing Catnip, which uses automated testing to select candidate solutions for hint generation, resulting in hints that point towards functional improvements and are better individualized for different solution paths.

Learning basic programming with Scratch can be hard for novices and tutors alike: Students may not know how to advance when solving a task, teachers may face classrooms with many raised hands at a time, and the problem is exacerbated when novices are on their own in online or virtual lessons. It is therefore desirable to generate next-step hints automatically to provide individual feedback for students who are stuck, but current approaches rely on the availability of multiple hand-crafted or hand-selected sample solutions from which to draw valid hints, and have not been adapted for Scratch. Automated testing provides an opportunity to automatically select suitable candidate solutions for hint generation, even from a pool of student solutions using different solution approaches and varying in quality. In this paper we present Catnip, the first next-step hint generation approach for Scratch, which extends existing data-driven hint generation approaches with automated testing. Evaluation of Catnip on a dataset of student Scratch programs demonstrates that the generated hints point towards functional improvements, and the use of automated tests allows the hints to be better individualized for the chosen solution path.

Code Implementations1 repo
Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes