Idea · Oct 15, 2026

Hint Ladders for Refactoring: Measuring Correctness and Solution Leakage of Graduated LLM Hints on Code-Quality Exercises

Builds a benchmark of code-quality refactoring exercises and evaluates graduated, solution-free LLM hints for whether each rung is correct, behavior-safe, and how much of the answer it gives away, using simulated solvers instead of students.

What it would do

Oliveira and Keuning's ITiCSE 2025 study shows students using ChatGPT on refactoring exercises often ask for the whole program to be refactored at once, which skips the learning the exercise was meant to produce. Rule-based refactoring tutors (Keuning et al.) give layered hints but need hand-authored rules per smell, while LLM hint generators scale but can mislead or leak the solution. This project builds a benchmark of working-but-smelly Java and Python exercises with behavior-preserving tests and reference refactorings, then has LLMs generate four-rung hint ladders (smell name, location, strategy, partial code). Each rung is scored automatically for correctness (does the named smell exist according to a static detector), safety (does following it preserve tests), and leakage (how much a weak simulated solver's success jumps after seeing it). The result is a reusable, IRB-free method for calibrating solution-free hint granularity, a direct successor to Pisan's SIGCSE 2021 solution-free hint work and the Submit!/Jolly Feedback critique line.

More in Assessment & Grading

Cold-Start README Audits: Seeded-Defect Evaluation of LLM Agents as Novice Followers for Feedback on Student Project Documentation

Builds a benchmark of student-style project READMEs with seeded, ACCEU-labelled defects (missing prerequisite, stale command, unstated assumption) and measures whether a deliberately context-limited LLM agent, following the README in a fresh container, can detect and explain them without fixing them for the student.

Assessment & GradingResearch directionResearchOct 12, 2026

All 132 ideas in Assessment & Grading →