Idea · Aug 21, 2026

Hypothesis Habit Trainer: LLM-Scaffolded Systematic Debugging in Game-Based CS Learning

Building on the Block-N-Key hypothesis testing game, this research designs an LLM hint engine that detects students' confirmation bias, hypothesis-tracking failures, and falsification gaps in real time and delivers targeted Socratic scaffolding without revealing the answer.

What it would do

Block-N-Key (Agrawal, Rallabhandi & Ragavan, ITiCSE 2025) showed that a two-player rule-guessing game successfully engages children in hypothesis generation and testing, but revealed three persistent failure modes: students defaulted to confirming rather than falsifying hypotheses, could not form Boolean-compound hypotheses, and did not systematically track what they had already ruled out. These gaps map precisely onto the qualitative-reasoning skills that expert debuggers use: constraint propagation, falsification-first search, and working-memory support for hypothesis chains. This research proposes augmenting Block-N-Key with an LLM hint engine that (a) classifies the current hypothesis-testing strategy from game-state logs, (b) detects the specific failure mode (confirmation bias, complexity ceiling, tracking failure), and (c) delivers a targeted, Socratic next-step hint without revealing the rule. The system generates hints without a reference answer, directly extending Pisan's SIGCSE 2021 solution-free hint work. A taxonomy of game-state-to-hint mappings is the primary artifact; a within-subjects evaluation with K-8 students comparing the hinted and un-hinted game measures hypothesis complexity, falsification rate, and rule-discovery time. The research avoids building a new game from scratch, reducing implementation risk while producing a transferable scaffold architecture applicable to any rule-discovery or debugging environment.

More in Developer Tooling

Institution-Specific Fine-Tuning of Open-Source LLMs for Compiler Error Explanation: Does Local Calibration Outperform General Fine-Tuning?

Fine-tune a small open-source LLM on institution-specific C++ compiler error logs from Pisan's Jolly Feedback system and compare its pedagogical quality against a generally fine-tuned baseline and a proprietary model, testing whether curriculum-aligned local calibration produces better student explanations.

Developer ToolingResearch directionResearchAug 6, 2026

All 131 ideas in Developer Tooling →