Download code/scripts/day3.sh from JagritGumber/shortlist: direct link, hf CLI and curl.
- Browser
- Download file 2.22 kB
-
https://huggingface.co/datasets/JagritGumber/shortlist/resolve/main/code/scripts/day3.sh
- Command line
-
hf download hf://datasets/JagritGumber/shortlist/code/scripts/day3.sh
-
curl -L -o day3.sh https://huggingface.co/datasets/JagritGumber/shortlist/resolve/main/code/scripts/day3.sh
2.22 kB
| # Day 3: re-run the episodes our own harness failed on, then the effort ladder. Started by a systemd timer after | |
| # the daily reset, inside shortlist.slice (3 GB cap). Stops cleanly at the daily limit; safe to run again. | |
| set -u | |
| ROOT="$HOME/work/Projects/shortlist" | |
| cd "$ROOT" || exit 1 | |
| PATH="/usr/bin:/bin:$HOME/.local/bin" | |
| DX="$HOME/work/Projects/autterly/server/node_modules/.bin/dotenvx" | |
| PY="$ROOT/.venv/bin/python" | |
| LOG="$ROOT/runs/day3.log" | |
| echo "== start $(date -u)" >> "$LOG" | |
| echo "== 0. Beam audits the training result $(date -u)" >> "$LOG" | |
| "$DX" run -q -- "$PY" training/audit_with_beam.py >> "$LOG" 2>&1 | |
| (cd vendor/llama/llama-b11968 && LD_LIBRARY_PATH=. exec ./llama-server -m ../../models/Qwen3-0.6B-Q8_0.gguf --jinja \ | |
| -c 8192 -np 1 -t 8 --host 127.0.0.1 --port 8091 > "$ROOT/runs/small-server.log" 2>&1) & | |
| SMALL=$! | |
| for i in $(seq 1 60); do curl -s -m 2 http://127.0.0.1:8091/health | grep -q ok && break; sleep 2; done | |
| echo "== 1. re-run episodes our harness failed on $(date -u)" >> "$LOG" | |
| "$DX" run -q -- "$PY" scripts/ladder.py --suites rg:basic_arithmetic,rg:leg_counting,rg:game_of_life,rg:sudoku \ | |
| --tiers null,random,small,beam-low --run day2 --suite-parallel 1 --parallel 2 >> "$LOG" 2>&1 | |
| kill $SMALL 2>/dev/null | |
| echo "== 2. high effort on the suites where effort matters (Reasoning Gym, maze, tic-tac-toe) $(date -u)" >> "$LOG" | |
| "$DX" run -q -- "$PY" scripts/ladder.py --suites rg:basic_arithmetic,rg:leg_counting,rg:word_sorting,rg:propositional_logic,rg:letter_counting,rg:chain_sum,rg:countdown,rg:maze,rg:game_of_life,rg:sudoku,maze_env,os:tic_tac_toe \ | |
| --tiers beam-high --attempts beam-high=1 --run day2 --suite-parallel 2 >> "$LOG" 2>&1 | |
| echo "== 3. medium effort on six Reasoning Gym families $(date -u)" >> "$LOG" | |
| "$DX" run -q -- "$PY" scripts/ladder.py --suites rg:leg_counting,rg:propositional_logic,rg:countdown,rg:game_of_life,rg:maze,rg:sudoku \ | |
| --tiers beam-medium --attempts beam-medium=1 --run day2 --suite-parallel 2 >> "$LOG" 2>&1 | |
| echo "== 4. max effort on game of life $(date -u)" >> "$LOG" | |
| "$DX" run -q -- "$PY" scripts/ladder.py --suites rg:game_of_life --tiers beam-max --attempts beam-max=1 --run day2 >> "$LOG" 2>&1 | |
| echo "== done $(date -u)" >> "$LOG" | |