whaleprep/scripts
dev 1d8ee3b5ff Subtopic picker, JEE mode, per-subject timers
The builder previously exposed only chapters. Now each chapter expands to show
its subtopics as individual checkboxes: selecting a chapter checks all of its
subtopics, selecting the subject-level box checks everything, and selecting
individual subtopics sets the chapter to indeterminate. The exam query filters
by subtopic_id when any are given; the SQL path deduplicates so a question
matching two subtopics only appears once.

JEE mode sets duration to 60 × unique-subject-count (180 min for a full paper).
On the exam screen this renders per-subject countdown strips: Physics 60:00,
Maths 60:00, Chemistry 60:00. Each strip counts down independently; when one
hits zero the screen auto-jumps to the first unanswered question of the next
subject. The last strip exhausting time submits the form.

Single-subject papers keep the flat timer and show no strips.

Also: all audit targets now genuinely 44px (the .opt labels were 42px).
2026-10-12 05:13:09 +05:30
..
audit_mobile.py Subtopic picker, JEE mode, per-subject timers 2026-10-12 05:13:09 +05:30
bench.py Honour RUST_LOG, add load and scale benchmarks 2026-10-11 21:08:35 +05:30
bench_scale.py Honour RUST_LOG, add load and scale benchmarks 2026-10-11 21:08:35 +05:30
bench_write.py Honour RUST_LOG, add load and scale benchmarks 2026-10-11 21:08:35 +05:30
shots.py Make the exam screen work on a phone 2026-10-11 21:54:17 +05:30