| set -euo pipefail | |
| # Complete 50-example protocol: retrieval-quality matrix first, then isolated | |
| # and loaded latency measurements for every system in isolation. | |
| : "${SERVER_RUN_DIR:?Set to artifacts/servers/<server-run>}" | |
| ROOT="${ROOT:-$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)}" | |
| RUN_GROUP="${RUN_GROUP:-fair50_$(date -u +%Y%m%d_%H%M%S)}" | |
| EXPERIMENT="${EXPERIMENT:-configs/experiments/fair_50.yaml}" | |
| cd "$ROOT" | |
| BASE_RUN_GROUP="$RUN_GROUP" | |
| export RUN_GROUP="${BASE_RUN_GROUP}_accuracy" | |
| bash scripts/run_eval_2000.sh | |
| export RUN_GROUP="${BASE_RUN_GROUP}_latency" | |
| bash scripts/run_latency_protocol_50.sh | |