[Artifacts] A17.6: Evidence matrix component on hypothesis pages

← All Specs

Goal

Add structured evidence matrix table to hypothesis detail pages showing citations with quality scores, relevance ratings, and evidence type.

Acceptance Criteria

☐ Evidence matrix table appears on hypothesis detail pages
☐ Shows citations with quality scores (strength), relevance ratings, and evidence type
☐ Matrix displays supporting and opposing evidence in tabular format
☐ PMIDs link to PubMed
☐ Pages render correctly without errors

Approach

  • Verify the feature is already implemented on main (commit 9ba783a12)
  • Confirm the hypothesis pages display the evidence matrix correctly
  • Close task as already complete
  • Dependencies

    • None

    Dependents

    • None

    Work Log

    2026-04-13 — Verification

    • Task reopened: audit could not verify original work under task ID f205405e
    • Investigated current main state
    • Found evidence matrix already implemented at api.py:26317 via commit 9ba783a12 ([Exchange] Add structured evidence matrix table to hypothesis detail page [task:634d0abd-b3e6-450e-86be-7899edfe6f20])
    • Confirmed _build_evidence_matrix_html() function exists and is called at line 26405
    • Confirmed {evidence_matrix_html} is rendered in hypothesis_detail page at line 28075
    • Confirmed hypotheses have evidence_for and evidence_against data (e.g., h-e12109e3: 17335+5845 chars)
    • Feature already complete on main under different task ID
    • Closing task as already done via --no-sha-check

    Tasks using this spec (1)
    [Artifacts] A17.6: Evidence matrix component on hypothesis p
    Artifacts done P95
    File: f205405e_e16_spec.md
    Modified: 2026-05-01 20:13
    Size: 1.6 KB