Restraint versus Depth: Evaluating Open and Proprietary Large Language Models as Socratic Programming Tutors, with a Privacy-Preserving Local Deployment

Large language models (LLMs) are increasingly used as programming tutors, yet there is little agreement on how to judge whether a tutor's question is pedagogically good, and the most capable tutors run on proprietary cloud services that receive students' code. This study evaluates six systems on Socratic questioning for novice code debugging: three local variants of the open Mistral-7B-Instruct model (untrained, supervised fine-tuned, and further aligned with Direct Preference Optimization) and three proprietary models (GPT-4o, Claude and Gemini). Questions generated for 68 held-out dialogue turns of the Socratic Debugging Benchmark were assessed with eleven reference-based, diversity and rubric-based measures, including two independent LLM judges scoring seven pedagogical dimensions. The measures disagreed sharply. BERTScore F1 varied only from 0.881 to 0.892 across all six systems, and the system rankings produced by ROUGE-L, BLEU and BERTScore were unrelated to the judges' ranking (Kendall's τ between −0.28 and 0.20), whereas the judges agreed with each other (Spearman ρ = 0.72). The judges revealed two distinct profiles: proprietary models asked deeper questions (overall quality 3.75–4.03 on a 1–5 scale), while the preference-aligned local model was the least leading of all systems (non-leading score 4.35 against 3.67–3.92) but also the least varied. To make the local model usable by teachers, we built Socratic Studio, a browser-based application that serves the 4-bit model on a 16 GB laptop without any network connection; reusing the transformer's key–value cache and stopping generation at the end of each question reduced the time for three candidate questions from 20–30 s to 4–7 s. The findings argue for multi-dimensional evaluation of AI tutors and show that a private, zero-cost local tutor is practical, with depth of questioning as its main remaining gap.

Authors

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2026-11-23
DOI
https://doi.org/10.5281/zenodo.24468353
Primary Topic
Intelligent Tutoring Systems and Adaptive Learning
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
article

Restraint versus Depth: Evaluating Open and Proprietary Large Language Models as Socratic Programming Tutors, with a Privacy-Preserving Local Deployment

Muralidhar Parulekar, Mamta Kalas
Zenodo (CERN European Organization for Nuclear Research)
Intelligent Tutoring Systems and Adaptive Learning
article

Restraint versus Depth: Evaluating Open and Proprietary Large Language Models as Socratic Programming Tutors, with a Privacy-Preserving Local Deployment

Muralidhar Parulekar, Mamta Kalas
article en

Abstract

Large language models (LLMs) are increasingly used as programming tutors, yet there is little agreement on how to judge whether a tutor's question is pedagogically good, and the most capable tutors run on proprietary cloud services that receive students' code. This study evaluates six systems on Socratic questioning for novice code debugging: three local variants of the open Mistral-7B-Instruct model (untrained, supervised fine-tuned, and further aligned with Direct Preference Optimization) and three proprietary models (GPT-4o, Claude and Gemini). Questions generated for 68 held-out dialogue turns of the Socratic Debugging Benchmark were assessed with eleven reference-based, diversity and rubric-based measures, including two independent LLM judges scoring seven pedagogical dimensions. The measures disagreed sharply. BERTScore F1 varied only from 0.881 to 0.892 across all six systems, and the system rankings produced by ROUGE-L, BLEU and BERTScore were unrelated to the judges' ranking (Kendall's τ between −0.28 and 0.20), whereas the judges agreed with each other (Spearman ρ = 0.72). The judges revealed two distinct profiles: proprietary models asked deeper questions (overall quality 3.75–4.03 on a 1–5 scale), while the preference-aligned local model was the least leading of all systems (non-leading score 4.35 against 3.67–3.92) but also the least varied. To make the local model usable by teachers, we built Socratic Studio, a browser-based application that serves the 4-bit model on a 16 GB laptop without any network connection; reusing the transformer's key–value cache and stopping generation at the end of each question reduced the time for three candidate questions from 20–30 s to 4–7 s. The findings argue for multi-dimensional evaluation of AI tutors and show that a private, zero-cost local tutor is practical, with depth of questioning as its main remaining gap.

Zenodo (CERN European Organization for Nuclear Research)
Intelligent Tutoring Systems and Adaptive Learning
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon
Restraint versus Depth: Evaluating Open and Proprietary Large Language Models as Socratic Programming Tutors, with a Privacy-Preserving Local Deployment — Muralidhar Parulekar, Mamta Kalas · Zenodo (CERN European Organization for Nuclear Research) (2026) | TGRS Research Map | TGRS