Saved in:
Bibliographic Details
Main Authors: Si, Yuan, Qi, Kyle, Li, Daming, Shi, Hanyuan, Zhang, Jialu
Format: Preprint
Published: 2025
Subjects:
Online Access:https://arxiv.org/abs/2510.26634
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866911240748531712
author Si, Yuan
Qi, Kyle
Li, Daming
Shi, Hanyuan
Zhang, Jialu
author_facet Si, Yuan
Qi, Kyle
Li, Daming
Shi, Hanyuan
Zhang, Jialu
contents Block-based environments such as Scratch are increasingly popular in programming education. While block syntax reduces surface errors, semantic bugs remain common and challenging for novices to resolve. Existing debugging workflows typically show the correct program directly to learners, a strategy that may fix errors but undermines the development of problem-solving skills. We present Stitch, an interactive tutoring system that replaces "showing the answer" with step-by-step scaffolding. The system's Diff-Analyze module contrasts a student's project with a reference implementation, identifies the most critical differences, and uses a large language model to explain why these changes matter. Learners inspect highlighted blocks through a custom rendering engine, understand the explanations, and selectively apply partial fixes. This iterative process continues until the intended functionality is achieved. We evaluate Stitch in an empirical study, comparing it against a state-of-the-art automated feedback generation tool for Scratch. Our key insight is that simply presenting the correct program is pedagogically ineffective. In contrast, our interactive, step-by-step guided system promotes a more effective learning experience. More broadly, what constitutes effective feedback in block-based programming remains an open question. Our evaluation provides new evidence that step-by-step tutoring significantly enhances learning outcomes, outperforming both direct-answer approaches and current automated feedback generation tools.
format Preprint
id arxiv_https___arxiv_org_abs_2510_26634
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle Stitch: Step-by-step LLM Guided Tutoring for Scratch
Si, Yuan
Qi, Kyle
Li, Daming
Shi, Hanyuan
Zhang, Jialu
Software Engineering
Block-based environments such as Scratch are increasingly popular in programming education. While block syntax reduces surface errors, semantic bugs remain common and challenging for novices to resolve. Existing debugging workflows typically show the correct program directly to learners, a strategy that may fix errors but undermines the development of problem-solving skills. We present Stitch, an interactive tutoring system that replaces "showing the answer" with step-by-step scaffolding. The system's Diff-Analyze module contrasts a student's project with a reference implementation, identifies the most critical differences, and uses a large language model to explain why these changes matter. Learners inspect highlighted blocks through a custom rendering engine, understand the explanations, and selectively apply partial fixes. This iterative process continues until the intended functionality is achieved. We evaluate Stitch in an empirical study, comparing it against a state-of-the-art automated feedback generation tool for Scratch. Our key insight is that simply presenting the correct program is pedagogically ineffective. In contrast, our interactive, step-by-step guided system promotes a more effective learning experience. More broadly, what constitutes effective feedback in block-based programming remains an open question. Our evaluation provides new evidence that step-by-step tutoring significantly enhances learning outcomes, outperforming both direct-answer approaches and current automated feedback generation tools.
title Stitch: Step-by-step LLM Guided Tutoring for Scratch
topic Software Engineering
url https://arxiv.org/abs/2510.26634