Concordia is a CPU-first, observational multi-omics workbench for analyzing permitted derived feature tables with explicit data-quality, missingness, provenance, credibility, and evidence controls.
Concordia is designed for researchers who need to understand how a multi-omics analysis was performed and whether its outputs are suitable for review. It guides a dataset from bounded intake through quality review, human-approved analysis planning, deterministic CPU execution, credibility checks, and independently verifiable evidence reporting.
The project’s research hypothesis is modality-adaptive gated fusion under missing modalities with calibrated uncertainty. Concordia makes that hypothesis inspectable by preserving modality masks, split information, method versions, units, denominators, uncertainty, input hashes, and limitations alongside computed results.
Concordia is an observational research workbench—not a clinical decision system, causal inference engine, biological execution platform, or claims-generation system.
Phase 4 is complete on the phases-1-5-workflow branch. The release includes:
- Phase 1 — authenticated project and dataset intake for bounded CSV/Parquet files, modality contracts, explicit missingness masks, quality reports, provenance hashes, and restart-safe artifacts.
- Phase 2 — immutable dataset eligibility, plan preview and approval, registered CPU methods, deterministic runs, resource limits, durable results, and reproducible manifests.
- Phase 3 — versioned credibility findings, fail-closed publication, hash/version/leakage/metadata/denominator checks, missingness disclosure, and frozen development/held-out evaluations.
- Phase 4 — immutable evidence bundles, deterministic Markdown and HTML reports, SQLite FTS5 retrieval, verified artifact export, and grounded deterministic explanation fallback.
Phase 5 and later work are intentionally not included.
cohort_summary_v1— descriptive cohort summaries.complete_modality_logistic_v1— complete-modality CPU baseline.modality_adaptive_gated_linear_v1— mask-aware multi-omics analysis with explicit modality availability masks.
Published runs produce canonical evidence bundles containing the approved plan, dataset metadata, quality review, provenance, method and version, missingness and calibration summaries, credibility findings, permitted result summaries, limitations, source identifiers, and artifact hashes.
Reports are generated offline and deterministically. Evidence retrieval uses SQLite FTS5 over permitted report and finding fragments. Optional language explanations are bounded, citation-checked, and unable to alter results or initiate computation. The deterministic report remains the required fallback.
Concordia reports descriptive and associational results. It does not establish causation, clinical utility, treatment recommendations, or scientific novelty.
The local MVP rejects raw genomes and sequences, pathogen data, direct identifiers, sensitive individual-level clinical records, interventions, reidentification requests, arbitrary user code, filesystem paths, SQL, unrestricted model access, and GPU-only workflows. Synthetic results are engineering fixtures, not biological validation.
Requirements: Python 3.12 or 3.13 and uv.
export UV_CACHE_DIR="$PWD/.uv-cache"
uv sync --locked
CONCORDIA_LOCAL_TOKEN=local-dev-token \
uv run uvicorn concordia_api.main:app --host 127.0.0.1 --port 8000Open http://127.0.0.1:8000/. Authenticated requests use X-Concordia-Token: local-dev-token. This is a single-user local development boundary, not hosted multi-user authorization.
export UV_CACHE_DIR="$PWD/.uv-cache"
uv run python scripts/run_synthetic_demo.py
uv run python -c 'from concordia_core import run_frozen_evaluation; import json; print(json.dumps({k: run_frozen_evaluation(k) for k in ("development", "held_out")}, indent=2, sort_keys=True))'To independently verify a saved bundle, substitute the artifact ID returned by the evidence API:
uv run python scripts/verify_evidence_bundle.py \
.concordia/artifacts/<bundle-artifact-id>.bin \
--artifact-root .concordia/artifactsPOST /api/v1/projectsPOST /api/v1/projects/{project_id}/datasetsGET /api/v1/datasets/{dataset_id}/qualityPOST /api/v1/analysis-plansPOST /api/v1/analysis-plans/{plan_id}/approvePOST /api/v1/runsGET /api/v1/runs/{run_id}/resultsGET /api/v1/runs/{run_id}/manifestGET /api/v1/runs/{run_id}/findingsGET /api/v1/runs/{run_id}/evidenceGET /api/v1/runs/{run_id}/report?format=markdown|htmlGET /api/v1/evidence/search?q=...GET /api/v1/artifacts/{artifact_id}POST /api/v1/runs/{run_id}/explanations
Blocked, failed, incomplete, or corrupted runs cannot expose evidence. Acknowledgements preserve review provenance and never convert a blocked finding into an approval.
export UV_CACHE_DIR="$PWD/.uv-cache"
uv sync --locked
uv run pytest -q
uv run ruff check packages services tests scripts
uv run mypy packages services
uv run alembic upgrade head
uv run alembic current
uv run pip-audit --strict
docker build --tag concordia:phase4-local .Phase 4 verification recorded 45 passing tests, clean Ruff and mypy checks, migration head 0003_evidence_fts, no known dependency vulnerabilities, and a successful Docker build. FastAPI/Starlette emit non-failing deprecation warnings in the current environment.
Concordia_Design/docs/STATUS.md— acceptance evidence, verification results, and limitations.Concordia_Design/phases/04-evidence-llm.md— approved Phase 4 scope.Concordia_Design/docs/adr/— architectural decisions and scope boundaries.Concordia_Design/IMPLEMENTATION_BACKLOG.md— roadmap and phase backlog.
multi-omics · bioinformatics · scientific-software · reproducible-research · data-provenance · quality-control · missing-data · FastAPI · SQLite · Python · CPU-first
The current fixtures are synthetic and small. They demonstrate engineering behavior, reproducibility, and safety controls; they do not establish biological validity, population performance, causality, or clinical utility. Hosted RBAC, distributed execution, model-based explanations, and later frontend phases remain outside this release.