Idea · Aug 6, 2026

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.

What it would do

Recent SIGCSE TS 2026 work shows that supervised fine-tuning (SFT) of small open-source models on ~40,000 generic CS1 C compiler error examples produces explanations competitive with GPT-4, overcoming the privacy and cost barriers of proprietary LLMs. The critical open question is whether institution-specific fine-tuning adds further value over general fine-tuning. Pisan's Submit! / Jolly Feedback system at UW Bothell has accumulated years of C++ compiler error logs from CSS 142/143 (introductory programming) and CSS 342/343 (data structures and algorithms), each paired with student resubmission behavior that implicitly signals which explanations led to correction. This research uses that archive to create a UW Bothell-specific fine-tuning dataset, trains a local model (Llama-3.1-8B or Qwen3-4B via QLoRA) on it, and evaluates three conditions: (A) GPT-4 as a proprietary baseline, (B) a model fine-tuned on the general SIGCSE 2026 dataset, and (C) a model fine-tuned on the institution-specific UW Bothell C++ logs. Evaluation combines expert human ratings, LLM-judge scoring (replicating the SIGCSE 2026 framework), and a live deployment study measuring resubmission reduction in CSS 142/143. The hypothesis is that locally calibrated models will produce explanations better aligned with course-specific idioms, grading expectations, and common UW Bothell misconceptions, reducing the number of resubmissions needed to pass.

More in Developer Tooling

All 131 ideas in Developer Tooling →