mlsanityData to 14 Oct 2026

SocraticRepair: Planning-Guided Socratic Tutoring for Program Debugging and Misconception Repair

arXiv 2610.15204 ↗First posted 10 Oct 2026cs.AI cs.LGcited by 0

Not on the map. Why?

Abstract (arXiv)

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.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Builds on 11 of its 30 references that are in the map. First posted on arXiv 10 Oct 2026.

Builds on

11 of 30 references.

References · 11

  1. 2022Automatic Generation of Programming Exercises and Code Explanations using Large Language Modelscited by 126
  2. 2024CodeAid: Evaluating a Classroom Deployment of an LLM-based Programming Assistant that Balances Student and Educator Needscited by 84
  3. 2023Generative AI for Programming Education: Benchmarking ChatGPT, GPT-4, and Human Tutorscited by 39
  4. 2025Training Turn-by-Turn Verifiers for Dialogue Tutoring Agents: The Curious Case of LLMs as Your Coding Tutorscited by 20
  5. 2023Can Language Models Employ the Socratic Method? Experiments with Code Debuggingcited by 15
  6. 2024Instruct, Not Assist: LLM-based Multi-Turn Planning and Hierarchical Questioning for Socratic Code Debuggingcited by 14
  7. 2024Large Language Models in Computer Science Education: A Systematic Literature Reviewcited by 13
  8. 2026Evaluating Answer Leakage Robustness of LLM Tutors against Adversarial Student Attackscited by 7
  9. 2025Supervised Fine-Tuning LLMs to Behave as Pedagogical Agents in Programming Educationcited by 4
  10. 2024Integrating AI Tutors in a Programming Coursecited by 3
  11. 2025Reasoning Trajectories for Socratic Debugging of Student Code: From Misconceptions to Contradictions and Updated Beliefscited by 1

Built on by

Not cited yet.