Spaces:
Sleeping
Sleeping
Download scripts/run_validation.sh from TheJackBright/polypharmacy-env: direct link, hf CLI and curl.
- Browser
- Download file 417 Bytes
-
https://huggingface.co/spaces/TheJackBright/polypharmacy-env/resolve/main/scripts/run_validation.sh
- Command line
-
hf download hf://spaces/TheJackBright/polypharmacy-env/scripts/run_validation.sh
-
curl -L -o run_validation.sh https://huggingface.co/spaces/TheJackBright/polypharmacy-env/resolve/main/scripts/run_validation.sh
417 Bytes
| # Run validation: tests, server smoke test, and heuristic baseline | |
| set -euo pipefail | |
| cd "$(dirname "$0")/.." | |
| echo "=== Running unit tests ===" | |
| PYTHONPATH=backend/src python3 -m pytest backend/src/polypharmacy_env/tests/ -v | |
| echo "" | |
| echo "=== Running heuristic baseline ===" | |
| PYTHONPATH=backend/src python3 -m polypharmacy_env.baselines.heuristic_agent | |
| echo "" | |
| echo "=== Validation complete ===" | |