DeepTutor
DeepTutor copied to clipboard
feat(assessment): unify persisted quiz and focus-check review
Status update
Assessment persistence has improved upstream, but the review history is still fragmented:
- #1002 now prevents mastery-path plain-text quizzes from bypassing the persisted quiz-card flow.
- The Question Notebook remains the primary persisted question store.
- Immersive Reading Focus-Check results are still stored separately in per-document progress data rather than a unified assessment history.
- There is still no cross-surface wrong-answer review with source provenance, resolved state, and score trends.
This issue now tracks that unified review layer.
Remaining scope
- Define one persisted assessment-record shape for quiz, mastery-path, and Focus-Check attempts.
- Add source provenance (
deep_question,mastery_path,immersive_reading) and material/section links. - Add wrong-answer-only review with bookmark, category, and resolved/unresolved semantics.
- Ingest Focus-Check attempts into the same store without losing document/section context.
- Provide one review surface with filters by source, material, resolved status, and score trend.
Acceptance criteria
- A mastery quiz and an Immersive Reading Focus-Check mistake appear in the same review list with accurate provenance.
- Learners can filter to unresolved wrong answers and mark them resolved.
- Each record links back to its originating material and section when available.
- Existing Question Notebook entries remain readable and are migrated non-destructively or upgraded opportunistically.
- API and frontend tests cover source filtering, resolved-state transitions, missing provenance, and empty states.
Non-goals
- Do not change quiz generation, grading, or Focus-Check scoring.
- Do not fork a second question-bank store.
- Do not require a new learner identity or account type.
Rescoped after #1002: plain-text mastery quizzes are now redirected into the persisted card flow, so that specific bypass is fixed. This issue remains open for the actual unified assessment-history model, Focus-Check ingestion, wrong-answer review workflow, and cross-surface review UI.
已核对当前 dev:7a0f1f6a 已统一持久化 quiz 与 focus-check review,并有相关测试覆盖。关闭。