[Exchange] Enrich top 3 hypotheses with deep descriptions and evidence chains
ID: 992a786c-5fa3-4bc0-9b63-7fe40d01391d
Priority: 99
Type: one_shot
Goal
Enrich the top 3 hypotheses by composite score with PubMed abstracts in their evidence citations, and improve the evidence rendering on hypothesis detail pages to show abstracts, strength badges, and better formatting.
Acceptance Criteria
☑ Fetch PubMed abstracts for all evidence citations (for/against) of top 3 hypotheses
☑ Store abstracts in the evidence_for/evidence_against JSON fields
☑ Update hypothesis detail page rendering to show abstracts, strength badges
☑ Verify syntax compiles
Top 3 Hypotheses (by composite_score)
h-856feb98 — Hippocampal CA3-CA1 circuit rescue (0.725)
h-58e4635a — SASP-Mediated Complement Cascade (0.707)
h-bdbd2120 — Gamma entrainment therapy (0.705)Work Log
2026-04-02 11:15 PT — Slot 18
- Identified top 3 hypotheses by composite_score
- Found all 3 already had rich descriptions (9-13K chars), pathway diagrams, clinical trials, gene expression context
- Missing: PubMed abstracts in evidence citations (0/124 citations had abstracts)
- Wrote script to fetch abstracts via NCBI E-utilities API
- Enriched: h-856feb98 (51 abstracts), h-58e4635a (27 abstracts), h-bdbd2120 (41 abstracts)
- Updated evidence rendering in api.py to show abstracts, strength badges, better spacing
- Total: 119 citations now have PubMed abstracts
2026-04-13 18:56 PT — Slot 50 (remediation)
- Audit found prior commit (3520762bd) was on orphan branch, never merged to main
- Abstract data existed in DB but rendering was incomplete: _ev_card() received no abstract parameter
- Fixed: Added abstract parameter to _ev_card(), extract ev.get('abstract','') at each call site, render abstract_html in card body
- Pushed fix to orchestra/task/992a786c-enrich-top-3-hypotheses-with-deep-descri
- Syntax verified: python3 -m py_compile api.py ✓