DeepTutor icon indicating copy to clipboard operation
DeepTutor copied to clipboard

[Feature Request]: Preserve question-linked help evidence for Reading quizzes

Open evan188199-tech opened this issue 3 weeks ago • 1 comments

Feature Request Description

Please support question-linked help in Immersive Reading extension quizzes. On v1.7.2 (60fb3bdf), extension help records a reading activity but does not identify the quiz question; quiz assessment records consequently default to zero hints. Zero recorded hints cannot establish independent completion.

Related Module

Book / API/Backend / Frontend/Web. Related to #2339 and the guardian reporting discussion in #1988; this is a narrower evidence-writing change, not a replacement for those workflows.

Use Case

  1. Generate a Reading extension quiz.
  2. Request guided-learning or vocabulary help for a selected passage relevant to one question.
  3. Answer that question, or regenerate the quiz before answering.

The proposed behavior is to keep the quiz visible, associate successful help with that question, include the server-owned count in subsequent attempts, and preserve a minimal help event even if the question is never answered. Historical attempts should remain immutable. Provider failure, timeout and duplicate network retries must not inflate the count or change rewards.

Proposed approach / maintainer input

A local patch reuses the existing permitted guided_learning/guide and vocabulary/explain extensions. It adds question/request IDs, verified passage selection, transactional receipts, a compact durable help-event table, and per-question controls with separate results. No new model, grading rule or permission is introduced. Generic passage help remains unchanged and is not retroactively attributed to a question.

Would maintainers prefer this small Reading-specific event table, or a shared learning-evidence abstraction? For future reports, should help after an answer remain a separate event (the patch does this), rather than modifying that historical answer's hint count?

The guardian report in #2568 will need a separate optional read of these events to show help without a later answer. The patch does not claim to complete that report integration, the full Practice view, reading-duration tracking or #2339's lesson handoff.

Verification context

Synthetic data and stubbed model responses only; no child data or deployment. Existing issues were searched; the related broad requests above do not provide this per-question receipt path. A draft implementation PR follows for concrete review.

evan188199-tech avatar Nov 09 '26 16:11 evan188199-tech

Verified fixed on the current local dev branch (c60e0e0331cd), with regression checks.

will be fixed in the next releases!

pancacake avatar Nov 14 '26 16:11 pancacake