Towards SocratiCode: Designing a Generative AI-Based Programming Tutor for K-12 Students through a 4-Week Participatory Design Study
Cassandra Lucas, Anshul Bihani, Rohini Kukka, Chun-Hua Tsai, Jaydeb Sarker, and Mia Mohammad Imran

TL;DR
This study develops and refines a Socratic AI-based programming tutor for K-12 students through participatory design, emphasizing dialogic support over directive explanations to enhance beginner learning experiences.
Contribution
The paper introduces SocratiCode, an adaptive AI tutor that evolves into a Socratic, dialogic system for K-12 programming education based on iterative user feedback.
Findings
Socratic shift improved explanation clarity and engagement.
Adaptive system better aligned with novice learners' needs.
Combining AI with human guidance enhances learning outcomes.
Abstract
Generative AI creates new opportunities for programming education, but many existing systems remain overly directive, producing lengthy explanations and premature solutions that can overwhelm K-12 novices. In this paper, we present a participatory design study of how an adaptive tutorial system, SocratiCode, evolved toward a Socratic tutoring model for beginner programming instruction. Drawing on weekly learner feedback, we iteratively refined the system over a four-week study with two K-12 students learning Python. Across iterations, the system shifted from flexible tutorial generation toward a more dialogic form of support characterized by guided questioning, reflection prompts, misconception checks, incremental hints, and mandatory pauses for learner input. Our preliminary observations suggest that this Socratic shift improved explanation clarity, supported problem-solving…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
