DeepTutor icon indicating copy to clipboard operation
DeepTutor copied to clipboard

feat(assessment): unify persisted quiz and focus-check review

Open evan188199-tech opened this issue 3 months ago • 2 comments

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

  1. Define one persisted assessment-record shape for quiz, mastery-path, and Focus-Check attempts.
  2. Add source provenance (deep_question, mastery_path, immersive_reading) and material/section links.
  3. Add wrong-answer-only review with bookmark, category, and resolved/unresolved semantics.
  4. Ingest Focus-Check attempts into the same store without losing document/section context.
  5. 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.

evan188199-tech avatar Aug 12 '26 02:08 evan188199-tech

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.

evan188199-tech avatar Aug 25 '26 22:08 evan188199-tech

已核对当前 dev:7a0f1f6a 已统一持久化 quiz 与 focus-check review,并有相关测试覆盖。关闭。

pancacake avatar Aug 31 '26 18:08 pancacake