Spaces:
Running
Running
Commit History
-
fix: keep match-the-following tables; ppt chapter-wise ZIP + title slides
Sahil Kumar +1: Claude Opus 5CMS question fetch — <figure> no longer swallows tables -------------------------------------------------------- CKEditor wraps tables in <figure class="table">, not just images, but cms_text collapsed every <figure> to a "[figure]" marker and returned without recursing. A "match the following" question, whose List I / List II grid IS the question, therefore reached the AI as nothing but the marker, and every tool downstream reported it as image-based (verify_assist.has_image saw the marker and flagged it). A <figure> is now recursed into: a nested <img> still emits the marker itself, a nested <table> renders as rows, and a figure holding neither (a media embed) keeps the marker rather than vanishing. One shared function, so this fixes the fetch in all five prompt builders at once — AI Tagging, LO Classifier, Q-A Verification, Solutions & Keys and the LO bank. Verified live against ILQ-107874 and ILQ-228703; guarded by tests/test_cms_text_figure.py, whose fixture is ILQ-107874's actu…68c4638
-
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