Spaces:
Sleeping
Sleeping
Download scripts/generate_evidence_bundle.py from REBELLION2002/traffix-live: direct link, hf CLI and curl.
- Browser
- Download file 514 Bytes
-
https://huggingface.co/spaces/REBELLION2002/traffix-live/resolve/main/scripts/generate_evidence_bundle.py
- Command line
-
hf download hf://spaces/REBELLION2002/traffix-live/scripts/generate_evidence_bundle.py
-
curl -L -o generate_evidence_bundle.py https://huggingface.co/spaces/REBELLION2002/traffix-live/resolve/main/scripts/generate_evidence_bundle.py
514 Bytes
| from __future__ import annotations | |
| import sys | |
| from pathlib import Path | |
| ROOT = Path(__file__).resolve().parents[1] | |
| sys.path.insert(0, str(ROOT / "src")) | |
| from coflow5.evidence import generate_bundle | |
| if __name__ == "__main__": | |
| manifest = generate_bundle(ROOT) | |
| print(f"run_id={manifest['run_id']}") | |
| print(f"scenario_hash={manifest['scenario_hash']}") | |
| print(f"status={manifest['status']}") | |
| print(f"artifacts={ROOT / 'results' / 'evidence' / '02-evidence-bundle' / 'artifacts'}") | |