You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
What's New
Features
Custom Test Builder — Students can now build a personalised test by selecting chapters across multiple subjects in a 3-step wizard:
Step 1 — Select Board & Grade
Step 2 — Browse subjects, add chapters to a basket (removable chips); freely switch subjects to pick across subjects
Step 3 — Review AI-generated chapter summaries before starting the test
Multi-Chapter Question Merging — Questions from all selected chapters are merged by mark-band: Section A (1-mark) → Section B (3-mark) → Section C (5-mark), shuffled within each section
Chapter Summaries — AI-generated 3–5 sentence summaries for each chapter, cached after first generation (GET /api/chapter-summary/<id>)
New API Endpoint — POST /api/start-custom-test accepts multiple chapter IDs and builds a combined test session
Bug Fixes
Fixed 500 error on Admin → Students tab when a student record had a NULL created_at timestamp