Download harness/scripts/run_selected_final_evals.sh from agentic-ptb/sol-max-record: direct link, hf CLI and curl.
- Browser
- Download file 833 Bytes
-
https://huggingface.co/agentic-ptb/sol-max-record/resolve/main/harness/scripts/run_selected_final_evals.sh
- Command line
-
hf download hf://agentic-ptb/sol-max-record/harness/scripts/run_selected_final_evals.sh
-
curl -L -o run_selected_final_evals.sh https://huggingface.co/agentic-ptb/sol-max-record/resolve/main/harness/scripts/run_selected_final_evals.sh
833 Bytes
| set -euo pipefail | |
| workspace="/mnt/pvc/users/simon/agentptb/runs/sol-max-s1/workspace" | |
| choice_file="$workspace/state/harness-choice.txt" | |
| temperature_file="$workspace/state/sampling-temperature.txt" | |
| [[ -f "$choice_file" ]] || { | |
| echo "missing precommitted harness decision: $choice_file" >&2 | |
| exit 1 | |
| } | |
| [[ -f "$temperature_file" ]] || { | |
| echo "missing precommitted sampling decision: $temperature_file" >&2 | |
| exit 1 | |
| } | |
| choice="$(<"$choice_file")" | |
| temperature="$(<"$temperature_file")" | |
| [[ "$choice" == review || "$choice" == noreview || "$choice" == stock ]] || { | |
| echo "invalid harness decision: $choice" >&2 | |
| exit 1 | |
| } | |
| [[ "$temperature" == 0.2 || "$temperature" == 0.6 ]] || { | |
| echo "invalid sampling decision: $temperature" >&2 | |
| exit 1 | |
| } | |
| exec "$workspace/scripts/run_final_evals.sh" "$choice" "$temperature" | |