RFC · v0.2 · DraftPrepared

Document Quiz Import

Instructors supply a question PDF and provide an answer file or enter answers manually. Students read the original paper and complete a graded answer sheet.

RFC means Request for Comments: a proposal for review and a design decision before implementation. This is a draft; no approval is recorded.

Document type
RFC · Request for Comments
Status
Draft, awaiting review
Requested by
Khai Hoan
Reviewers
Product, backend, frontend and QA; individuals unassigned
Decision
Not approved
Version
0.2 · 15 September 2026

SP-732 · Document Quiz Import V1

1. Problem and motivation

Instructors already have question papers and separate answer keys. Rebuilding each question in the LMS takes time and can lose the original layout, diagrams and tables. Document Quiz lets students read the original paper while the LMS records and grades their answers.

For example, an instructor can upload a paper whose numbering restarts in Part II, label its answer rows as I.1 and II.1, and review the key before publishing.

Decision requested

Approve a document mode within the existing Quiz experience, with a PDF question paper, an answer file in any format, optional AI extraction and instructor review before publication.

2. Requirements

3. Proposed design and scope

Add Document Quiz as a presentation mode within the existing quiz experience. The original PDF supplies the questions; an editable answer sheet supplies the information needed for grading. Existing course placement, availability, pass scores, attempts, completion and results continue to apply.

In scope

Out of scope

4. Instructor workflow

  1. Create a draft Document Quiz.
  2. Upload the question PDF and check that it is the paper students should see.
  3. Upload an answer file for extraction, or enter the answer sheet manually.
  4. Review the paper beside the answer sheet. Correct answers, add omitted items and check labels, option counts and the total number of questions.
  5. Save the reviewed answer sheet after resolving missing or invalid answers.
  6. Publish explicitly when the quiz is ready for students.

Show processing progress and actionable errors using the existing polling experience. If extraction fails, preserve the files and allow manual entry or another upload.

Changes to either file or the answer sheet require review again before publication. A failed replacement must leave the previous working document available. Edits from an older open page must not silently overwrite newer corrections.

5. Access and document handling

6. AI extraction contract

Instructors can submit answer files in any format. PDF, DOCX, TXT and JSON are examples, not an exclusive list. The question paper remains a PDF for students to read.

7. Student experience

Question paper

Page navigation · Zoom · Fullscreen

Answer sheet

1. A B C D
2. A B C D
II.1. True / False

On desktop, students can read the paper and answer sheet side by side. On mobile, they can switch between them or use stacked panels without losing answers. The page must work at 360px without horizontal page scrolling.

Show download progress and let students retry a failed download before starting a new timed attempt. Once an attempt starts, the paper must remain accessible throughout it. Refresh may require downloading the paper again, but must not reset the deadline or discard saved answers.

Text and diagrams should remain clear when zoomed. Page navigation must remain usable on mobile devices throughout a full-length quiz. Answer controls must support keyboards and screen readers; scanned papers may require an instructor-provided accessible alternative.

Use the paper's labels and fixed option order. Apply existing grading rules, treat blank answers as incorrect, and show results according to existing access settings.

8. Limits and rollout

Use configurable upload limits, starting at 25 MiB for the question PDF and 10 MiB for the answer file. Validate these proposed values against representative papers and mobile use before enabling the feature.

Enable Document Quiz separately for each tenant, default off. AI extraction uses the tenant's configured AI access. If that access is unavailable, explain the configuration issue and keep manual entry available.

  1. Deliver the document viewer, manual answer entry, review and publication flow.
  2. Add AI extraction with the same preview and correction experience.
  3. Verify the complete workflow with representative papers and answer files, then enable it for the intended customer tenant.

9. Acceptance criteria

The following outcomes must be verified before customer enablement.

  1. A question PDF and an answer file produce a reviewable answer sheet. Manual entry also supports creating a usable quiz without AI.
  2. Answer-file intake is not restricted to a fixed extension list. Unreadable files produce a clear error and allow manual entry or another upload.
  3. AI extracts stated answers without solving questions or inventing missing answers. Uncertain answers remain visible for correction.
  4. Missing or invalid answers prevent saving the reviewed answer sheet. Unreviewed changes prevent publication.
  5. Existing file and size checks reject invalid question papers with an actionable explanation.
  6. Students cannot access answer files, unpublished quizzes or documents belonging to another tenant.
  7. All four question types follow existing grading rules, including questions with more than four options, short-answer variants and repeated question numbering.
  8. Failed extraction or replacement preserves working documents and instructor edits.
  9. A new timed attempt starts only after the paper is available. Refresh and download retries during an active attempt preserve the original deadline and saved answers.
  10. Students can read, zoom, answer and submit on desktop, Android and iOS Safari, including a 360px layout, without losing answers or page access.
  11. Existing native quiz import, grading and review continue to work. Tenant enablement and access rules apply consistently.

Review with representative text and scanned PDFs, answer files in different formats, all four question types and repeated numbering. Include a full-length timed attempt, failed uploads, failed downloads, refresh and submission. Verify the default tenant and the intended customer tenant.

These are acceptance requirements, not completed test results.