Idea · Sep 2, 2026
From Linter Flags to Learning Moments: LLM-Enhanced Code Quality Feedback in Toolchain-First CS1 Courses
This research mines historical CS1 submission logs to build a misconception taxonomy for code quality in toolchain-first C++ courses, then designs and expert-evaluates an LLM explanation layer that translates raw linter diagnostics into principle-grounded, misconception-targeted feedback messages.
What it would do
Automated code quality checkers (clang-tidy, clang-format) give CS1 students immediate style feedback, but raw flags like 'line too long' or 'missing space' convey rules without reasoning, leaving the underlying misconception intact. This research extends the approach from the SIGCSE 2026 automated code quality checker by adding an LLM intermediary that translates each static analysis flag into a two-sentence pedagogical explanation grounded in code quality principles plus a concrete fix-it suggestion. The core contribution is a misconception taxonomy for code quality in C++ CS1, mined from 2+ years of historical Jolly Feedback submission logs and clustered by LLM into categories such as naming convention confusion, over-commenting, DRY violations, magic number usage, and premature optimization. A secondary study evaluates whether LLM-generated explanations outperform raw linter output on expert-judged clarity, actionability, and pedagogical alignment. This work directly extends Pisan's toolchain-first pedagogy and Jolly Feedback infrastructure, and avoids new human subjects by relying on already-collected, anonymized submission data.