Inspiration
As a student, my wrong answers were scattered everywhere — notebooks, chat logs, photos of test papers. Before an exam, I never knew which ones to review first. I built the tool I wished existed: one place where every mistake becomes a plan.
What it does
Paste a question you got wrong, and the app sorts it by knowledge point, explains the mistake step by step, and schedules reviews at 1 / 3 / 7 / 15-day intervals. Mark "got it" to advance; "still wrong" sends it back to day 1. A list view with filters and simple stats shows which topics keep tripping you up.
How I built it
Spring Boot 3 + Java 21 backend with an embedded H2 database, a plain HTML/JS frontend calling real APIs, and Kiro's spec-driven workflow holding it together. I wrote the requirements, design, and task breakdown first — they live in .kiro/specs/ai-cuotiben/ in the repo — and built the implementation to match the specs, using the 4,000 Kiroween credits for the AI-assisted build sessions. The classifier runs on offline keyword rules (no API key needed) with an optional OpenAI-compatible LLM hook.
Challenges I ran into
The review state machine had to be exactly right: four "got it" marks in a row means mastered, one "still wrong" resets everything. The harder problem was honesty — a wrong-answer tool that invents explanations is worse than useless, so the classifier marks low-confidence tags "to confirm" and flags questions it cannot explain instead of making up an answer. The whole MVP was built in a one-day sprint before the deadline.
Accomplishments that I'm proud of
Five working features end to end — record, classify, explain, spaced review, stats — all demoed live in under three minutes, with a public repo, specs, and a full curl test log.
What I learned
Writing the spec first made the build dramatically faster: every API and rule was decided before any code existed. And for an AI study tool, saying "I don't know" is a feature, not a bug.
What's next for AI Wrong-Answer Notebook
Photo OCR so you can snap a test paper instead of pasting text, and a hosted deployment so the review queue is always one click away.
Built With
- h2
- html
- java
- javascript
- kiro
- spring