| # After iter2 pipeline completes, run K=16 eval (with iter-2 planner) + selector apply. | |
| set -e | |
| cd /home/datht/mats-sql-tist | |
| LOG=/tmp/chain_after_iter2.log | |
| : > "$LOG" | |
| echo "=== Waiting for iter2 to complete ===" | tee -a "$LOG" | |
| while ! grep -q "DONE_ITER2_PIPELINE" /tmp/iter2_pipeline.log 2>/dev/null; do | |
| sleep 30 | |
| done | |
| echo "Iter2 done at $(date)" | tee -a "$LOG" | |
| echo "=== Step 3: K=16 2-stage + 3-stage eval (with iter-2 planner + diverse validator) ===" | tee -a "$LOG" | |
| bash scripts/scaleup_phase_i_eval_K16.sh 2>&1 | tee -a "$LOG" | |
| echo "=== Step 4: Apply 3B selector to all K=16 + K=8 rollouts ===" | tee -a "$LOG" | |
| bash scripts/eval_selector_3b_apply.sh 2>&1 | tee -a "$LOG" | |
| echo "=== CHAIN_COMPLETE_AFTER_ITER2 ===" | tee -a "$LOG" | |