Spaces:
Running
Running
Commit History
-
deploy: split the tree into backend/frontend/database and centralise hosts
Sahil Kumar +1: Claude Opus 5Every CMS host name now comes from backend/il_endpoints.py instead of being hardcoded across eight modules, so switching stacks is config rather than an edit. The four defaults point at PRODUCTION: .env is gitignored and dockerignored, so the Space has no IL_* variables and inherits these defaults — it will read and write live CMS content. To put the Space back on preprod, set IL_QB_API, IL_GATEWAY_API, IL_COMMUNITY_API and IL_COMMUNITY_WEB as Space secrets. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>2e740d5
-
samples: make the Word sample a template SMEs type over
Sahil Kumar +1: Claude Opus 5The old sample carried no solutions at all and used lettered options, the one style whose solutions the parser dropped. It also documented "the Word parser does not read multiple-correct or type hints", which was untrue. sample_questions.docx now holds only the four line kinds a paper needs -- question, options, answer, solution -- with no heading, title, type or difficulty line, so an SME replaces the questions in place. Both a) b) c) d) and 1) 2) 3) 4) are shown since either parses. Five questions cover single-correct, numerical, a numerical band, Word equations and an inline figure. make_sample_docx.py generates it (--check parses it back) so it is regenerable rather than an opaque binary, and WORD_FORMAT.md records the rules -- including that a band must be written "0.28-0.32", because the answer-line pattern rejects "±", "+/-" and "to" and silently loses the answer AND the solution. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>6059028
-
fix: answer key merge supports numerical answers + original Q numbers + no-convert for numerical
Sahil Kumar52c5194
-
Containerize for Hugging Face Spaces (Docker) deployment
Sahil Kumar48d9178