Idea · Jul 20, 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.
What it would do
Code coverage metrics tell students what lines were executed but not what scenarios are unverified, and they offer no explanation of why a gap matters. This teaching tool fills both holes. A student pastes their implementation and existing tests into the app, and Claude performs a semantic analysis of the test suite against the implementation, identifying untested scenarios grouped by category: boundary values (empty input, single element, maximum size), error paths (invalid types, null inputs, exception conditions), state transitions (calling methods out of order, double-close, etc.), and logic edge cases (off-by-one, overflow, equal keys). For each gap, Claude generates a one-sentence failure scenario in plain English ('if the list has exactly one element, your current tests pass, but the pop() call on an already-empty list after remove() would throw an uncaught exception in a scenario your tests never reach'). Students are then offered Socratic hints: first a guiding question ('what happens if start equals end in your range loop?'), then on request a pseudocode sketch, then on further request a completed test stub. All hint levels are available but students must request each escalation, encouraging them to try before seeing the answer. Sessions are saved to Supabase so students can return to the same assignment after office hours or between study sessions. Instructors can view aggregated gap-type frequency across the class to spot systemic misconceptions about what needs testing.
Key features
- Semantic gap analysis: Claude identifies untested scenarios by category (boundary, error path, state, logic edge case)
- Failure scenario explanation: each gap described as a concrete one-sentence failure story in plain English
- Three-level Socratic hint ladder: guiding question, pseudocode sketch, completed test stub, each requiring explicit request
- Session persistence via Supabase so students can return across multiple study sessions
- Instructor dashboard: aggregate view of which gap categories appear most across the class