Repository navigation
Major release. Two new views, a SNP-table data upgrade, and a top-to-bottom scientific-honesty pass.
Highlights
- Migrant Life-Map (#27) — a new view that anchors life expectancy to the countries you've lived in (Eurostat + WHO period tables), shows a years-lived migration blend, and layers evidence-gated qualitative life modifiers. Explicitly framed as population statistics, not a personal prediction.
- Browser genome import (#15, #40) — import raw DTC data directly in the web app: drag-and-drop, format/assembly auto-detection with confidence, and live progress — no CLI required.
- Scientific-honesty audit (ChatGPT Pro, 20 findings) — removed UI that implied more certainty than the method supports. The fabricated quantitative risk bar is now a categorical genetic-flag marker; GWAS tallies are labelled uncalibrated (no "average"/percentile framing); the mortality demographic is a clearly-labelled reference profile; PGx phenotypes default to "unknown" instead of "normal" and only claim guideline backing when one actually exists. Correctness fixes too: strand/palindrome-aware GWAS allele counting, profile-scoped
get_snp, reference-anchored imputation VCF (REF/ALT from a GRCh37 FASTA via bcftools), unit-validated biomarker thresholds, and fail-closed migrations. - Harm-reduction, preserved and honest — drug/substance cards gained an
evidence_scopetag (guideline/label/pk_only/harm_reduction/exploratory); harm-reduction content stays and is shown by default, relabelled "not genotype-backed dosing". - SNP table enrichment (#21) — gnomAD allele frequency, ClinVar review-status stars, and GWAS effect size/trait, backed by real enrichment data.
- Also: cross-section gene cross-reference links (#35), a universal multi-dimension filter and shared Action Roadmap across sections (#28), and PGx My Medications (#25).
Bug Fixes
- use gene symbol as React key to avoid rsID collisions (mental-health)
- back FREQ/EFFECT columns with real data, honest GWAS scale (#21) (snp-table)
- source .env under launchd and timestamp log lines (heartbeat)
- track scripts/init.py so
scripts.libimports resolve on fresh checkouts (scripts) - derive REF/ALT from reference FASTA, not sample genotype (imputation)
- tag drug/substance evidence_scope; keep harm-reduction, drop dose implication (pgx)
- never infer phenotype from generic status; honest guideline footer (pgx)
- stop presenting configured annotations as calibrated personal risk (risk)
- sanitize residence history from localStorage and inputs (lifemap)
- interpolate life-table ages, don't misuse far brackets; honest copy (lifemap)
- label tally as uncalibrated, fetch clumped data by default (gwas-ui)
- replace fake numeric evidence-tier confidence with qualitative labels (config)
- require unit match before applying thresholds; soften actions (biomarker)
- orient effect-allele counts to strand and count per trait (gwas)
- scope get_snp() by profile_id to prevent cross-profile leakage (db)
- fail loudly when migrations are missing instead of empty schema (db)
- use matched bracket age for target age (honest WHO sparse data) (#27) (life-map)
- show pinned cards when My Medications filter active (pgx)
- drug cards invisible + wrong metabolizer status for vault values (pgx)
- derive gene categories from vault system tags (#23)
Documentation
- migrant life-map TDD implementation plan (#27 A2+F)
- migrant life-map MVP design (#27 A2+F)
- risk demographic selector design (#27)
- cross-section gene links design (#35)
- add unreleased changelog — image generation CLI, PGx bug fixes
- add style templates preview image to README
- design spec for PGx My Medications feature (#25 proposal 1)
Features
- surface gnomAD frequency, ClinVar review status, GWAS effect (snp-table)
- make LIFE CONTEXT user-selectable, not a hardcoded catalogue (#27) (life-map)
- life-expectancy axis + bespoke LifeMapGlyph icon + export bar (#27) (life-map)
- markdown export (lifeMapToMarkdown) — anchors, heuristic blend, qualitative modifiers only (#27) (life-map)
- evidence-gated qualitative life modifiers (#27) (life-map)
- Life-Map view with country anchors + migration marker, wired into nav (#27) (life-map)
- residence-history + life-map data hooks (#27) (life-map)
- backend life-tables endpoint + view registration + modifiers config (#27) (life-map)
- reproducible Eurostat+WHO life-table fetch script + data (#27) (life-map)
- pure country-blend life-expectancy module (#27) (life-map)
- universal multi-dimension filter, adopt in Addiction (#28) (ui)
- share ActionRoadmap across sections, add to Addiction (#28) (ui)
- cross-section gene cross-reference badges (#35) (ui)
- cross-section gene index endpoint (#35) (api)
- browser-based genome import workflow UI (#15) (#40) (import)
- multi-enzyme drug grouping in pinned medications (#25 phase 2) (pgx)
- My Medications input with pinning and localStorage (#25 phase 1) (pgx)
- add image generation CLI with 10 curated style templates
Housekeeping
- ignore test-images/ scratch dir and .claude lock files (gitignore)
Other
- Merge branch 'feat/risk-demographic-selector'
- interaction states for factor chips (#27) (life-map)
- touch targets, mobile wrap, network-error recovery, a11y semantics (#27) (life-map)
- Merge pull request #34 from glebis/feat/pgx-my-medications
- Merge pull request #33 from glebis/fix/pgx-category-and-status-mapping
Refactoring
- normalize to design tokens (#27) (life-map)
Testing
- update useLifeMap anchor expectation for audit #13 sparse-data fix (lifemap)