Spaces:
Running
Running
File size: 1,098 Bytes
df97e68 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 | # scripts/
Utility scripts for run, validation, and benchmarking.
- `run_local.py`: launch local API server
- `validate_env.py`: local environment validation checks
- `validate-submission.sh`: deployment validation flow
- `pre_deploy_e2e.ps1`: Windows pre-deploy gate for end-to-end readiness before Docker build and release
- `benchmark_ladder.py`: compare heuristic and RL agents
- `smoke_test.py`: quick endpoint sanity checks
## Pre-deploy E2E gate (Windows)
Run a full readiness pass before release deployment:
```powershell
powershell -ExecutionPolicy Bypass -File .\scripts\pre_deploy_e2e.ps1
```
Useful options:
```powershell
# Faster pass (skips extended regression test bundle)
powershell -ExecutionPolicy Bypass -File .\scripts\pre_deploy_e2e.ps1 -Quick
# Skip Docker checks when only validating local test readiness
powershell -ExecutionPolicy Bypass -File .\scripts\pre_deploy_e2e.ps1 -SkipDockerBuild -SkipDockerRuntime
# Use a specific Python interpreter
powershell -ExecutionPolicy Bypass -File .\scripts\pre_deploy_e2e.ps1 -PythonPath .\.venv313\Scripts\python.exe
```
|