[UI] Add hypothesis comparison view to Exchange
Task ID: ff19a7c8-805d-4261-8939-4b7c18294a35
Layer: UI / Exchange
Priority: 85
Goal
Improve the hypothesis comparison feature on the Exchange. The /compare route already exists with radar charts, score tables, evidence, debate excerpts, KG comparison, and shared evidence analysis. This task focuses on polish: fixing stale links, improving discoverability from the Exchange page, adding a "Copy Link" share button, and ensuring the compare flow works end-to-end.
Acceptance Criteria
☐ Empty /compare page shows valid example hypothesis IDs (not stale 404s)
☐ Exchange page has a visible "Compare" feature callout near the top
☐ Compare page has a "Copy Link" / share button for easy URL sharing
☐ Compare checkboxes on Exchange work and route to /compare correctly
☐ All sections render without JS errors for 2 and 3 hypothesis comparisons
Approach
Fix stale example IDs in the empty /compare page to use top hypotheses from DB
Add a comparison feature callout/instructions near top of Exchange page
Add a "Copy Link" button on the compare results page
Test end-to-end flowWork Log
2026-04-02 — Slot 7
- Started task: explored existing /compare route (api.py:7081-7577)
- Found feature already exists with: radar chart, score bars, score table, evidence, debate excerpts, price history, shared evidence, KG comparison, verdict summary, hypothesis picker
- Identified issues: stale example IDs, no discoverability callout, no share button