summarize_results.sh 458 B

123456789101112131415
  1. #!/usr/bin/env bash
  2. set -euo pipefail
  3. ROOT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)"
  4. cd "$ROOT_DIR"
  5. PYTHON_BIN="${PYTHON_BIN:-python}"
  6. OUTPUTS_DIR="${OUTPUTS_DIR:-outputs}"
  7. RESULTS_DIR="${RESULTS_DIR:-results}"
  8. "$PYTHON_BIN" tools/summarize_results.py --outputs-dir "$OUTPUTS_DIR" --results-dir "$RESULTS_DIR"
  9. echo "[done] results written to:"
  10. echo " - ${RESULTS_DIR}/experiment_summary.csv"
  11. echo " - ${RESULTS_DIR}/experiment_summary.md"