Proof-Carrying Science (PCS) demonstrates how a simulated hospital lab workflow produces versioned artifacts that validate with pcs-core.
Full step-by-step commands live in the repository under examples/pcs_qc_release/. This page is the documentation-site entry point.
Windows (PowerShell) from the repository root.
.\scripts\setup_pcs_dev.ps1
.\.venv-pcs\Scripts\Activate.ps1Linux/macOS.
bash scripts/setup_pcs_dev.sh
source .venv-pcs/bin/activateWhen pcs-core lives outside ../pcs-core/python, set PCS_CORE_PATH before running the setup script.
pytest tests/pcs -q
labtrust run-demo qc-release
labtrust export-trace --run runs/qc-release --out trace.json
labtrust export-runtime-receipt --run runs/qc-release --out runtime_receipt.json
labtrust export-pcs --run runs/qc-release --out science_claim_bundle.pending.json
labtrust validate-pcs --run runs/qc-releasebash examples/pcs_qc_release/scripts/run_pcs_ci_local.shThis script matches .github/workflows/pcs.yml. See the PCS overview.
| Topic | Document |
|---|---|
| Operator runbook | PCS operator runbook |
| Cross-repo release chain | PCS release gate |
| Extend a second workflow | Extending PCS workflows |
| PCS overview | PCS index |
Repository copies are available under examples/pcs_qc_release on GitHub.