Class share links: visitors choose the exam for a generated set
All checks were successful
Verify and publish V2 container / build-and-push (push) Successful in 24s

On a class link with exams, the visitor's Generate dialog asks which exam the
set is for (opening on the latest exam with materials, with "Not in an exam"
when there is loose material). Only that exam's class materials are offered,
and the set is saved into it. The server requires the choice and refuses
materials from another exam.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Elijah 2026-11-15 22:13:11 -07:00
parent 76112cb4ae
commit d8df5edf30
4 changed files with 98 additions and 9 deletions

View file

@ -224,7 +224,9 @@ link also has a cap of 500 requests per hour across all visitors.
Class and exam links have a third visitor switch, **Generate quizzes and flashcards** (off by
default). Visitors choose only the kind, how many (quizzes default to 50, at most 50: one exam;
flashcards default to 30, at most 75), the difficulty, which of the link's class materials to use and,
flashcards default to 30, at most 75), on a class link which exam the set is for (required
when the class has exams; it opens on the latest exam with materials, and the set uses only
that exam's materials and is saved into it), the difficulty, which of the link's class materials to use and,
for quizzes, "Include med math" (5 calculation questions). Quizzes are NCLEX style with 25%
select-all and the Python check. A link may make 4 quizzes and 2 flashcard sets a day (local
midnight, failed attempts not counted), on top of the per-device request limit; **Reset