1# Local smoke (Laguna via Prime Inference)2prime eval run configs/eval/py-bug-trace-eval.toml
34# Hosted Level 15prime eval run configs/eval/py-bug-trace-level-1-hosted-eval.toml --hosted --follow
67# Hosted Level 28prime eval run configs/eval/py-bug-trace-level-2-hosted-eval.toml --hosted --follow
910# Hosted Level 311prime eval run configs/eval/py-bug-trace-level-3-hosted-eval.toml --hosted --follow
1213# Multi-model × level matrix (preflight: environments/py_bug_trace/docs/workflow.md)14cd environments/py_bug_trace && uv pip install -e ".[tools]"15python environments/py_bug_trace/tools/sweep.py --status
16python environments/py_bug_trace/tools/sweep.py
1718# Compare sweep results vs Laguna baseline (auto-writes stats + explorer reports)19python environments/py_bug_trace/tools/sweep.py --compare
2021# Regenerate reports only (stats digest, fragments, explorer, LLM narrative)22python environments/py_bug_trace/tools/sweep.py --narrative-only
23python environments/py_bug_trace/tools/sweep.py --narrative-only --narrative # force analyst re-run24python environments/py_bug_trace/tools/sweep.py --narrative-only --narrative-model ID # analyst endpoint override
Reporting outputs (canonical copies and timestamped run history committed to git — reader's guide:
reports/README.md):
reports/matrix/stats.md (inverted-pyramid digest), reports/fragments/ (paste-ready
leaderboard/findings/one-pager for READMEs, HF cards, blogs), reports/explorer/latest.html
(self-contained interactive playground), and reports/narrative/report.md + writeup.md
(LLM analyst narrative in two styles, with liftable *.body.md prose).
The hosted sweep uploads to Prime automatically but does not publish to Hugging Face. Prime leaderboard publish (--publish-only, sweep PATCH) and HF publish (--hf-publish-rollouts, --hf-upload-experiments-bundle) are independent.
Hugging Face — auth
huggingface_hub reads HF_TOKEN. If your secret is named HF_API_TOKEN, map it first:
bash
1exportHF_TOKEN="${HF_API_TOKEN:-$HF_TOKEN}"2hf auth whoami# should show neomatrix369
Or: huggingface-cli login / hf auth login.
Hugging Face — publish saved artifacts (no eval re-run)
Command
What it does
--hf-publish-rollouts
Push rollout datasets from sweep_state.json / outputs/evals/ (idempotent)
--hf-upload-experiments-bundle
Sync the lab folder to hf_publish.lab_bundle.repo via resumable hf upload-large-folder (idempotent)
Run evals separately first (python environments/py_bug_trace/tools/sweep.py for hosted matrix, or prime eval run … -s locally).
Use --force-all to re-publish after source changes.
Logs land in environments/py_bug_trace/sweep_logs/ as hf_publish_rollouts_*.log and
hf_publish_lab_bundle_*.log (legacy hf_export_* names are renamed automatically).
Hugging Face — published datasets (May 2026 sweep)