Guiding Next-Step Hint Generation Using Automated Tests

Florian Obermüller, Ute Heuer, Gordon Fraser
5/12/2021
cs.SE

Official code: se2p/catnip (2 stars, Scala, last commit 2022-04-27).

Abstract

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations(1)

se2p/catnipOfficial100%
20Scala, JavaScriptApr 7, 20214 years agoNOASSERTION

Similar Papers

Cite this paper

@article{obermller2021guiding,
  title  = {Guiding Next-Step Hint Generation Using Automated Tests},
  author = {Florian Obermüller and Ute Heuer and Gordon Fraser},
  year   = {2021},
  eprint = {2105.05519},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2105.05519}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2105.05519.svg)](https://codeofpaper.com/paper/2105.05519)

Discussion