Spaces:
Running
Running
Commit History
8 days ago
-
Uploader: keep paper question numbers out of CMS text; preprod tagging login Running
Sahil Kumar +1: Claude Opus 5.5Word uploader (parse_word): - Store the paper's own question number (shuffled papers run 67, 59, 77 ...) in question_num and strip it from the stem, so "67." no longer lands in the CMS question text. - Drop a leading "Sol:" / "Solution:" label from the solution. - Review panel and upload results show the paper's number, not the position. Tagger on preprod: - Match the configured CMS origin when reading the login token (preprod is cmspreprod.devinfinitylearn.in, which has no "community" in it). - Use the SME's own CMS token for TOC lookups first; the shared service account only exists on production. Shared credentials can be overridden with IL_COMMUNITY_PHONE / IL_COMMUNITY_PASSWORD. Also ships pending work: Question Reveal PPT page, foundation TOC builders/export, README/nav/home updates and their tests. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>301bae7
-
AI Tagging: JEE Main and NEET from the active CMS exam TOC (node IDs)
Sahil Kumar +1: Claude Opus 5.5build_active_exam_toc.py reads the CMS active exam-TOC exports for JEE Main (exam 2) and NEET (exam 1), keeps the exam's own Active rows in its tagging subjects (JEE Main: Physics/Chemistry/Mathematics; NEET: Physics/Chemistry/ Botany/Zoology), drops video / IPE / bridge-course chapters and the export's other exam (Pre-NEET&JEE), checks every subtopic against live CMS navigation and writes active_exam_toc.json with the node IDs per path (6,882 paths, all confirmed by CMS). tag_assist loads it next to kcet_toc.json, so JEE Main / NEET prompts list the CMS's own active TOC and push_tags tags those rows from stored IDs instead of the Master-TOC name walk. exam_toc.json stays as the fallback. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>ea605ce
-
Add tags feature
Sahil Kumarfd498c8
-
Foundation Tagging (CBSE Grades 3-10), KCET TOC, project map and cleanup
Sahil Kumar +1: Claude Opus 5.5Foundation Tagging (/foundation): AI Tagging for school grades. Each grade is its own CMS exam with its own chapter/topic nodes, so foundation_toc.json keeps the exact node IDs per TOC path and push_tags tags straight from them. - CBSE Grade 6-10 (Maths/Science): build_foundation_toc.py, from the master-TOC export via live CMS navigation - CBSE Grade 3-5 (Maths, EVS, English): build_foundation_exam_toc.py, from each grade's exam-TOC export, checked row by row against live CMS - /tag and /foundation share one set of routes and tag.html; the grade is set from the chosen exam KCET on AI Tagging: kcet_toc.json from the CMS KCET export (build_kcet_toc.py), resolved from stored IDs like the foundation exams. Fixes and cleanup: - AI Tagging used make_template without importing it, so the live CMS option lists were never used (always the snapshot) - unused imports and other lint across backend/ and tests/ - docs/PROJECT_MAP.md: what every file is for; README updated - handover docume…1936d6d