Spaces:
Paused
Paused
Commit History
-
feat(trials): RAG-grounded mechanism summary per clinical trial (#34)
KevinIsInCoding +1: Claude Opus 4.8Unverified signature* feat(ui): headless UI-verification harness (run-ui skill) + fix combobox JS Adds a reusable, deterministic UI check for the Clinical Trials tab so UI changes stop shipping blind. Building it surfaced and fixed a real production bug. - .claude/skills/run-ui/: launches the app in UI-smoke mode and drives the tab in headless Chromium (Playwright), asserting placeholder, 3-char gate, clean picked value, one-line labels, and a search result — plus a screenshot. Exits non-zero on failure (CI-usable). SKILL.md documents usage + the gotchas learned. - app.py: CANDLE_UI_SMOKE mode skips the heavy startup loads (cross-encoder, ChromaDB, graph, Anthropic client) so UI tests boot in ~25s instead of ~60s. - FIX: the combobox in-box placeholder + 3-char gate never ran — Gradio ignored `js=`/`demo.load(js=)` in this version. Inject the script via gr.Blocks(head=...) with a MutationObserver (the tab renders lazily). This was broken on the live Space too; now verified working end-to-e…4750fb9 -
feat(ui): headless UI-verification harness (run-ui skill) + fix combobox JS (#33)
KevinIsInCoding +1: Claude Opus 4.8Unverified signatureAdds a reusable, deterministic UI check for the Clinical Trials tab so UI changes stop shipping blind. Building it surfaced and fixed a real production bug. - .claude/skills/run-ui/: launches the app in UI-smoke mode and drives the tab in headless Chromium (Playwright), asserting placeholder, 3-char gate, clean picked value, one-line labels, and a search result — plus a screenshot. Exits non-zero on failure (CI-usable). SKILL.md documents usage + the gotchas learned. - app.py: CANDLE_UI_SMOKE mode skips the heavy startup loads (cross-encoder, ChromaDB, graph, Anthropic client) so UI tests boot in ~25s instead of ~60s. - FIX: the combobox in-box placeholder + 3-char gate never ran — Gradio ignored `js=`/`demo.load(js=)` in this version. Inject the script via gr.Blocks(head=...) with a MutationObserver (the tab renders lazily). This was broken on the live Space too; now verified working end-to-end. - agents/research_agent.py: skip the cross-encoder load under CANDLE_UI_SMO…66d56de
-
feat(landscape): bring experimental ALS therapy landscape to main (#19)
KevinIsInCoding +1: Claude Fable 5Unverified signatureApplies the landscape feature (only content main was missing from the hf-clean deploy lineage) on top of main: the Therapy Landscape tab, offline multi-label classifier (Opus 4.8 + BioLORD cross-check + abstention, 0.90 precision on a 42-drug gold set), landscape.json, and plotly==6.9.0. Preserves main's batch extractor + SSR/Gradio fixes. Note: main and hf-clean have unrelated git histories, so this is applied as a feature patch rather than a branch merge. The deduped data blobs are intentionally NOT included (main does not track data/ — it lives in the dataset repo / deploy branch). Co-authored-by: Claude Fable 5 <noreply@anthropic.com>2e5367f