#!/bin/bash # WAVE 26 P1.12: Polyak Soft Updates Test Runner # Run this script to execute the comprehensive TDD test suite set -e echo "=============================================" echo "WAVE 26 P1.12: Polyak Soft Updates Tests" echo "=============================================" echo "" echo "Running target_update module unit tests..." cargo test --package ml --lib dqn::target_update::tests --no-fail-fast echo "" echo "Running comprehensive TDD tests..." cargo test --package ml --lib dqn::tests::target_update_comprehensive_tests --no-fail-fast -- --nocapture echo "" echo "=============================================" echo "✅ All tests passed!" echo "=============================================" echo "" echo "Test Coverage:" echo " - 13 comprehensive TDD tests" echo " - Formula verification" echo " - Boundary conditions" echo " - Convergence rates" echo " - Network divergence" echo "" echo "Next steps:" echo " 1. Run hyperopt with 30D search space (includes tau)" echo " 2. Monitor divergence during training" echo " 3. Compare tau values: 0.0001, 0.001, 0.005, 0.01" echo ""