arXiv · 2610.15204
SocraticRepair: Planning-Guided Socratic Tutoring for Program Debugging and Misconception Repair
Abstract
Large language models are increasingly used in computer science education. However, the teaching abilities of even the most powerful LLMs are limited: they tend to reveal the solution prematurely and may lose focus on the learner's current debugging objective. To address this, we introduce SocraticRepair, a planning-guided Socratic tutoring framework for program debugging and miscon- ception repair that adapts prior planning-guided tutoring work (Li et al., 2026b). The framework is instantiated in the Python programming domain by fine-tuning Qwen2.5-Coder-7B-Instruct on synthetic multi-turn tutoring dialogues constructed from four preprocessed programming datasets. The system is evaluated using a predefined set of independent metrics and benchmarked against a general-purpose LLM. The experiments show that SocraticRepair achieves higher scores on stepwise scaffolding and question quality while also substantially reducing premature solution disclosure. The results also identify reliable pedagogical plan generation as an important remaining challenge.
Explore related subjects
Keep this discovery
Explore connections, maps & timelines
Mykhailo Kopytskyi, Jianhua Yang, Mir Seyedebrahimi. 2026-10-10. SocraticRepair: Planning-Guided Socratic Tutoring for Program Debugging and Misconception Repair. https://arxiv.org/abs/2610.15204
Cite the original work for its findings. Save a collection to share your selection of sources.