[Artifacts] A17.6: Evidence matrix component on hypothesis pages done analysis:7 reasoning:6

← Artifacts
Add structured evidence matrix table to hypothesis detail pages showing citations with quality scores, relevance ratings, and evidence type. Mol* viewer already exists so pivoting to next highest-value Quest 17 artifact. ## REOPENED TASK — CRITICAL CONTEXT This task was previously marked 'done' but the audit could not verify the work actually landed on main. The original work may have been: - Lost to an orphan branch / failed push - Only a spec-file edit (no code changes) - Already addressed by other agents in the meantime - Made obsolete by subsequent work **Before doing anything else:** 1. **Re-evaluate the task in light of CURRENT main state.** Read the spec and the relevant files on origin/main NOW. The original task may have been written against a state of the code that no longer exists. 2. **Verify the task still advances SciDEX's aims.** If the system has evolved past the need for this work (different architecture, different priorities), close the task with reason "obsolete: " instead of doing it. 3. **Check if it's already done.** Run `git log --grep=''` and read the related commits. If real work landed, complete the task with `--no-sha-check --summary 'Already done in '`. 4. **Make sure your changes don't regress recent functionality.** Many agents have been working on this codebase. Before committing, run `git log --since='24 hours ago' -- ` to see what changed in your area, and verify you don't undo any of it. 5. **Stay scoped.** Only do what this specific task asks for. Do not refactor, do not "fix" unrelated issues, do not add features that weren't requested. Scope creep at this point is regression risk. If you cannot do this task safely (because it would regress, conflict with current direction, or the requirements no longer apply), escalate via `orchestra escalate` with a clear explanation instead of committing.

Completion Notes

Auto-completed by supervisor after successful deploy to main

Git Commits (1)

[Docs] Document f205405e task: evidence matrix already on main [task:f205405e-e160-4ce4-bcc1-aace4d3c10d1]2026-04-13
Spec File

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

    Payload JSON
    {
      "requirements": {
        "analysis": 7,
        "reasoning": 6
      },
      "completion_shas": [
        "fb122fe7b8a517dd9825bb3898a7ced0842b9203"
      ],
      "completion_shas_checked_at": "2026-04-13T23:08:45.803212+00:00"
    }

    Sibling Tasks in Quest (Artifacts) ↗