Idea · Sep 2, 2026
Solution Mosaic
After a programming assignment deadline, instructors upload all student solution files and see them automatically clustered by algorithmic approach in a visual mosaic, making class-wide debrief sessions instant to prepare.
What it would do
Running a meaningful post-assignment debrief in a class of 50+ is hard: reading every submission before class takes hours. Solution Mosaic uses AST-level structural similarity plus LLM embedding to cluster solutions into 3-7 distinct approach groups (for example, 'recursive with helper,' 'iterative with stack,' 'built-in sort shortcut'), then renders each cluster as a card in a visual mosaic grid. Instructors click a cluster to see a representative example and a generated explanation of that approach's tradeoffs. An export button produces a one-page 'discussion guide' with side-by-side approach comparisons ready to paste into slides. Supports Python, Java, and C++ via Tree-sitter parsers.
Key features
- AST structural similarity plus LLM semantic embedding for approach clustering
- Visual mosaic grid with one representative example per cluster
- Auto-generated tradeoff explanation for each approach group
- One-click export of a slide-ready discussion guide
- Tree-sitter parsers for Python, Java, and C++