Attach real PubMed-backed evidence to hypotheses whose evidence_for field is empty. This improves scientific grounding and prevents debate, ranking, and market workflows from relying on unsupported claims.
evidence_for entriesevidence_for, prioritizing active and high-impact rows.paper_cache.search_papers or paper_cache.get_paper to find relevant PubMed evidence.c488a683-47f - Agora questpaper_cache PubMed lookup helpers030034d6-752e-4ac9-9935-36489c7ec792.evidence_for, but all 43 are archived placeholder rows titled [Archived Hypothesis]; there are 0 active/non-placeholder hypotheses requiring PubMed evidence.scripts/add_pubmed_evidence.py --dry-run --limit 5 and confirmed it would query the literal placeholder title and attach the same unrelated PMIDs to archived rows.scripts/add_pubmed_evidence.py so dry runs and live runs ignore archived placeholders and write structured PubMed evidence objects instead of bare PMID arrays.scripts/backfill_evidence_pubmed.py for the existing unit tests and PostgreSQL-aware backfill helper behavior.python3 scripts/add_pubmed_evidence.py --dry-run --limit 5 reports 0 actionable hypotheses and 43 archived placeholders ignored.quest_engine.discover_gaps(get_db()) no longer emits the hypothesis-pubmed-evidence gap for the archived placeholder backlog.pytest -q tests/test_backfill_evidence_pubmed.py -> 18 passed; python3 -m py_compile scripts/add_pubmed_evidence.py scripts/backfill_evidence_pubmed.py quest_engine.py passed.python3 scripts/add_pubmed_evidence.py --limit 5 shows 0 actionable hypotheses needing evidence.[Archived Hypothesis] placeholders (archived status) — not valid enrichment targets.h-a2b3485737 (CAPN1/CAPN2, score=0.4199, status=proposed): 5 PubMed PMIDs attached with structured evidence ({pmid, doi, claim, source, year, url, strength, caveat}).SELECT COUNT(*)).5eb210854 merged to main; top 25 hypotheses by composite_score all have non-empty evidence_for (verified via DB query). Sample PMIDs verified via paper_cache.get_paper(): 41491101, 41530860, 41714746, 41804841 — all return real papers. All 43 empty-evidence rows are [Archived Hypothesis] placeholders.d02ec580-83c8-4bc0-8495-17a069138c6a