Download run_all.py from DHDRL/AgentSquares: direct link, hf CLI and curl.
- Browser
- Download file 487 Bytes
-
https://huggingface.co/DHDRL/AgentSquares/resolve/main/run_all.py
- Command line
-
hf download hf://DHDRL/AgentSquares/run_all.py
-
curl -L -o run_all.py https://huggingface.co/DHDRL/AgentSquares/resolve/main/run_all.py
487 Bytes
| #!/usr/bin/env python3 | |
| """One-command offline test run (synthetic only). No network, no API keys. | |
| Real-page evals require fixtures/private_unredacted/ and are skipped when that folder is absent. | |
| """ | |
| import subprocess, sys | |
| steps = [ | |
| [sys.executable, "test_packing.py"], | |
| [sys.executable, "eval_harness.py", "--set", "synthetic"], | |
| ] | |
| for cmd in steps: | |
| print("==>", " ".join(cmd), flush=True) | |
| r = subprocess.run(cmd) | |
| if r.returncode != 0: | |
| sys.exit(r.returncode) | |
| print("ALL OK") | |