Idea · Jul 17, 2026

Erroneous Code Example Forge

A teacher-facing tool that uses Claude API to generate banks of subtly buggy code examples targeting specific CS1 misconceptions, ready to deploy as interactive 'spot the bug' exercises.

What it would do

Creating high-quality erroneous examples is one of the most time-consuming parts of CS course prep: each one must be subtly wrong in a pedagogically meaningful way, accompanied by plausible distractor explanations. Erroneous Code Example Forge lets instructors describe a target misconception in plain language (for example, 'students think Python lists are copied on assignment'), then generates 6-8 buggy code variants, each paired with three wrong explanations and one correct diagnosis. The resulting exercise bank is stored in Supabase and can be exported to Canvas quiz XML, a printable PDF, or an embeddable interactive widget. Instructors rate each generated example for quality and can see at a glance which misconceptions have enough exercise coverage. Supports Python, Java, and C++ out of the box.

Key features

  • Natural language misconception description drives structured buggy code generation
  • Configurable programming language, difficulty level, and error subtlety
  • Canvas LMS quiz XML export and embeddable interactive widget
  • Instructor quality-rating loop with per-misconception coverage dashboard

More in Developer Tooling

Codebase Concept Radar

A web app that maps a GitHub repo against a course concept checklist and visualizes which concepts appear where in the code, with AI-annotated drill-down to relevant snippets.

Developer ToolingTeaching toolMediumJul 21, 2026

Test Design Mentor

Students paste their code and test suite; Claude identifies untested scenarios, explains the concrete failure each gap would cause, and delivers Socratic hints that guide students to write the missing tests themselves rather than handing them the answer.

Developer ToolingTeaching toolMediumJul 20, 2026

Bus Factor Visualizer

A React + GitHub API tool that analyzes any public repository and generates a treemap of file ownership, bus factor calculations per directory, orphaned code heatmap, and a team health radar chart for use in software engineering courses.

Developer ToolingClass assignmentLargeJul 19, 2026

Debugging Theater

Students debug a broken program not by reading the code but by interviewing an AI character who can only describe what they observe as a user - no root cause, no stack traces - forcing systematic hypothesis-driven diagnosis as a transferable professional skill.

Developer ToolingClass assignmentLargeJul 13, 2026

All 131 ideas in Developer Tooling →