#!/bin/bash # Agent 43: PPO Checkpoint Validation Script # Direct compilation and execution to avoid workspace build issues set -e echo "=== PPO Checkpoint Validation (Agent 43) ===" echo "" echo "Testing PPO checkpoint save/load functionality..." echo "" # Compile only the PPO checkpoint test echo "Step 1: Compiling test..." cd /home/jgrusewski/Work/foxhunt cargo test -p ml --lib ppo_checkpoint_validation_test --no-run 2>&1 | tail -20 echo "" echo "Step 2: Running tests..." cargo test -p ml --lib ppo_checkpoint_validation_test -- --test-threads=1 --nocapture 2>&1 | grep -E "(test_ppo|running|Result|PASSED|✅|Step|bytes)" echo "" echo "=== Checkpoint Validation Complete ==="