fix: resolve JOIN explosion from duplicate gene_ids across evidence tables

- scoring/integration.py: Use CTEs with GROUP BY gene_id to deduplicate
  all evidence tables before LEFT JOIN (gnomAD had 211K rows for 18K
  genes due to per-transcript data; annotation/localization also had dupes)
- literature/transform.py: Deduplicate gene_symbols before PubMed queries
  to avoid querying the same symbol multiple times
- evidence_cmd.py: Fix Polars .alias() error in literature summary display
- Updated report results with full 6-layer scoring (44 HIGH, 7268 MEDIUM)
- Validation PASSED: known Usher genes median percentile 86.9%

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-02-16 04:48:13 +08:00
parent 63e3cccd3c
commit b63251a996
11 changed files with 19434 additions and 18147 deletions

View File

@@ -1,7 +1,7 @@
# Pipeline Reproducibility Report
**Run ID:** `5f00f9da-e548-4a58-b1b3-028d05c94d32`
**Timestamp:** 2026-02-12T18:43:00.223842+00:00
**Run ID:** `0bcdae80-84c2-486b-809a-36040ce4821d`
**Timestamp:** 2026-02-15T20:47:54.482074+00:00
**Pipeline Version:** 0.1.0
## Parameters
@@ -39,7 +39,7 @@
## Tier Statistics
- **Total Candidates:** 18116
- **HIGH:** 0
- **MEDIUM:** 2151
- **LOW:** 15965
- **Total Candidates:** 19342
- **HIGH:** 44
- **MEDIUM:** 7268
- **LOW:** 12030