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
-
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