Removed duplicate DQNConfig from agent.rs (13 fields, pre-Rainbow with f64 gamma/epsilon) and adaptive-strategy stub (unit struct). Canonical definition in dqn/dqn.rs now has 51 fields covering full Rainbow DQN plus agent-level trading parameters (minimum_profit_factor, weight_decay). Key changes: - agent.rs imports DQNConfig from dqn.rs instead of defining its own - Fixed f32/f64 type mismatches (epsilon_start/end/decay cast to f64 where QNetworkConfig expects f64) - Renamed replay_buffer_size -> replay_buffer_capacity across all callers - Updated 13 files across ml, adaptive-strategy, and trading_service - All 2009 ml tests pass, 0 clippy warnings in modified files Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
14 KiB
14 KiB