Command sequence to cut an inspectable, independently reproducible engineering benchmark release candidate. Aligns with the scientific credibility Definition of Done. This runbook does not authorize clinical or “scientifically reviewed” language.
Non-claims: Non-claims freeze.
Candidate metadata: benchmarks/releases/labtrust-benchmark-v0.2-candidate/.
| Claim | Allowed for v0.2-candidate? |
|---|---|
| Engineering / research benchmark packaging | Yes, after technical gates below |
| Independently reproducible from artifacts (API/CLI verify path) | Yes, when verify steps pass |
| Scientifically reviewed | No while review slots are UNSIGNED and scientifically_reviewed_claim_allowed is false |
| Clinically validated / deployment safe | Never (non-claims freeze) |
Check claim flag without inventing approvals:
python -c "from pathlib import Path; from labtrust_gym.policy.independent_review import scientifically_reviewed_claim_allowed as ok; print('claim_allowed=', ok(Path('.')))"Expected today: claim_allowed= False.
From repo root, clean venv recommended:
pip install -e ".[dev,env,plots]"
# Optional MARL / external-integration smoke:
pip install -e ".[dev,env,plots,marl]"labtrust validate-policy
# Prefer API if CLI wiring is broken in a given env:
python -c "from pathlib import Path; from labtrust_gym.policy.validate import validate_policy; e=validate_policy(Path('.')); assert not e, e"API conformance subset (PettingZoo / Gymnasium):
pytest -q tests/test_pz_api_conformance.py tests/test_gymnasium_check_env.py tests/test_core_env_transitions.pypytest -q
# Or documented subset (CI-friendly):
pytest -q tests/test_ltg_benchmark_release_dod.py tests/test_independent_review_gate.py tests/test_golden_governance.py tests/test_pcs_release_reconstruction.py tests/test_attack_evidence_contract.pyHeavy suites (golden, baselines, MARL) remain opt-in via their existing env flags.
labtrust quick-eval --seed 42 --out-dir ./labtrust_runs
labtrust reproduce --profile minimal --out ./repro_minimalFull reproduce is not part of the default DoD smoke (too heavy for CI).
Run it before tagging a public candidate.
labtrust determinism-report --task throughput_sla --episodes 3 --seed 42 --out ./det_report
# Assert det_report/determinism_report.json has "passed": trueCI / smoke:
labtrust run-official-pack --out ./pack_smoke --smoke
# Coordination optional:
labtrust run-official-pack --out ./pack_smoke --smoke --include-coordination-packFull (pre-tag):
labtrust run-official-pack --out ./pack_full --include-coordination-packConfirm pack_manifest.json includes a reconstruction block (LTG-PR6).
From an episode log produced by quick-eval or pack:
labtrust export-receipts --run <episode.jsonl> --out ./receipts_out
labtrust verify-bundle --bundle ./receipts_out/EvidenceBundle.v0.1Minimal package-release chain (see Trust verification):
labtrust package-release --profile minimal --seed-base 100 --out ./release_out
labtrust export-risk-register --out ./release_out --runs ./release_out
labtrust build-release-manifest --release-dir ./release_out
labtrust verify-release --release-dir ./release_out --strict-fingerprintsIf pcs_core CLI import is broken, prefer API-level checks already covered by
tests/test_pcs_release_reconstruction.py and validate_policy.
pytest -q tests/test_ltg_external_integrations.py
# Pin path must exist:
# benchmarks/external_integrations/pinned_release.v1.jsonlabtrust validate-policy # includes validate_independent_review_gate
pytest -q tests/test_independent_review_gate.pyRelease may ship as an engineering benchmark while slots are
*.UNSIGNED.json. Do not set scientifically_reviewed_claim_allowed: true
or describe the release as scientifically reviewed until three signed approvals
exist (signed approval gate).
pytest -q tests/test_ltg_benchmark_release_dod.py
# Or:
python scripts/run_ltg_release_dod_smoke.pySkips heavy reproduce / full pack by default. Set
LABTRUST_LTG_RELEASE_FULL=1 only when running the full human pre-tag path
documented in this runbook (full steps are still manual CLI above).
- Refresh digests in
benchmarks/releases/labtrust-benchmark-v0.2-candidate/release_manifest.jsonif baselines / pin / VA pack identity changed. - Keep
scientifically_reviewed: falseuntil the review gate allows otherwise. - Cite non-claims freeze and known gaps (
catalog_drift, UNSIGNED reviews).
- Scientific credibility
- Evaluation checklist (broader maintainer battery)
- Official benchmark pack
- External integrations
- PyPI releasing (package tag; orthogonal to this benchmark candidate)