polypharmacy / scripts /run_validation.sh
adithya9903's picture
Flatten project to root for OpenEnv submission readiness.
fa51dd9
raw
history blame contribute delete
417 Bytes
#!/usr/bin/env bash
# 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 ==="