Idea · Sep 1, 2026

Refactor Rungs

A web tool that takes a working-but-messy student code submission and generates a step-by-step guided refactoring ladder. Students climb one rung at a time with AI hints when stuck and a structural autograder that confirms each improvement without revealing the final answer.

What it would do

Instructors paste a canonical 'smelly but correct' solution (or pull one from student submissions) and configure which refactoring skills to target: naming, function extraction, duplication removal, early returns, or type annotations. Refactor Rungs generates a personalized ladder of three to six rungs tailored to that specific code's issues, presenting each rung as a focused challenge ('This function does three things. Extract the part that validates the input into its own function.'). Students submit each rung's code and a lightweight structural analyzer checks whether the targeted improvement was actually applied (function count changed, variable names improved, duplication reduced) without caring about stylistic choices. If a student is stuck, they can request a Socratic hint that asks a guiding question rather than giving the answer. An instructor dashboard shows class-wide rung completion heatmaps to identify which refactoring concepts students find hardest.

Key features

  • Instructor-configurable refactoring skill targets (naming, extraction, duplication, early returns, type annotations) applied to any pasted code submission
  • LLM-generated three to six rung ladder with per-rung challenge descriptions specific to the actual code flaws present
  • Structural autograder that checks whether the targeted improvement was applied using AST-level analysis rather than style matching
  • Socratic hint system that asks guiding questions rather than revealing the solution, with instructor dashboard showing class-wide rung completion heatmaps

More in Developer Tooling

Live Refactor Wall

Classroom projection tool that connects to the teacher's VS Code, shows student code alongside an AI-generated refactor, and lets the class vote in real time whether to accept each suggestion.

Developer ToolingTeaching toolMediumSep 8, 2026

Stack Trace Theater

A browser tool that animates Python and Java stack traces as frame-by-frame call stack walkthroughs, with LLM-generated plain-English explanations at each level so novices understand not just what failed but why.

Developer ToolingTeaching toolMediumAug 30, 2026

Bug Witness Investigation

An interrogation-style debugging game where CS students question AI witness characters to deduce a bug's root cause, building systematic diagnostic thinking through narrative gameplay.

Developer ToolingTeaching toolMediumAug 29, 2026

Whiteboard-to-Code Studio

Students photograph or upload hand-drawn flowcharts, pseudocode, or UML sketches; a Gemini vision model converts them into runnable Python or Java function stubs with docstrings; a second pass flags potential logic gaps and emits structured design feedback before any implementation begins.

Developer ToolingClass assignmentLargeAug 27, 2026

All 131 ideas in Developer Tooling →