Skip to content

Latest commit

 

History

History
53 lines (37 loc) · 1.67 KB

pcs_qc_release-quickstart.md

File metadata and controls

53 lines (37 loc) · 1.67 KB

PCS QC-release quickstart

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.

Setup

Windows (PowerShell) from the repository root.

.\scripts\setup_pcs_dev.ps1
.\.venv-pcs\Scripts\Activate.ps1

Linux/macOS.

bash scripts/setup_pcs_dev.sh
source .venv-pcs/bin/activate

When pcs-core lives outside ../pcs-core/python, set PCS_CORE_PATH before running the setup script.

Smoke test

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-release

In-repo CI gate

bash examples/pcs_qc_release/scripts/run_pcs_ci_local.sh

This script matches .github/workflows/pcs.yml. See the PCS overview.

Next steps

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.