Idea · Oct 8, 2026
Pattern-Breaking Variants: Measuring Whether Generated Exercise Diversity Defeats Surface-Level Solvers in CS1
Builds a panel of deliberately shallow automated solvers to measure which exercise transformations actually break surface pattern-matching, giving instructors a student-free way to tell cosmetic variants from conceptually deep ones.
What it would do
Maeda's SIGCSE TS 2026 paper encodes LLM-derived generation strategies as a DSL of probabilistic transformations in code comments, and reports that the resulting diversity helped lower-performing students by stopping them from memorizing surface patterns. What remains unmeasured is which transformations do the work: renaming identifiers or changing the cover story is cheap but may be defeated by the same template-matching it is meant to prevent, while shifting a boundary, inverting a condition, or changing a variable's role (accumulator to most-wanted holder) may force real understanding. This project builds a panel of surface-level solvers (a nearest-neighbor retrieval solver that edits a previously seen solution, small code models given only seed exercises and solutions, and a frontier model as an upper bound) and defines each variant's surface-solvability as the fraction of shallow solvers that pass its hidden tests. Transformations are then ranked by depth, and a lightweight predictor lets the DSL warn instructors when a generated variant is merely cosmetic. The framing extends Pisan's functional-roles view of equations to code: a variant is deep when it changes the role a construct plays in the solution, not just its surface form.