jgrusewski
42634014b6
refactor: consolidate DQNConfig to single canonical definition
...
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 >
2026-02-22 20:49:22 +01:00
..
2025-11-11 23:48:02 +01:00
2026-02-20 18:14:42 +01:00
2026-02-21 01:00:54 +01:00
2025-11-23 00:57:17 +01:00
2025-11-23 00:57:17 +01:00
2025-11-23 00:57:17 +01:00
2025-11-24 10:03:15 +01:00
2025-11-23 00:57:17 +01:00
2025-10-28 14:11:18 +01:00
2025-11-11 23:48:02 +01:00
2025-11-11 23:48:02 +01:00
2025-11-11 23:48:02 +01:00
2025-11-11 23:48:02 +01:00
2025-11-11 23:48:02 +01:00
2025-11-11 23:48:02 +01:00
2025-11-11 23:48:02 +01:00
2025-11-11 23:48:02 +01:00
2026-02-22 20:49:22 +01:00
2025-11-23 00:57:17 +01:00
2025-11-23 00:57:17 +01:00
2026-02-21 01:00:54 +01:00
2026-02-20 18:14:42 +01:00
2026-02-20 18:14:42 +01:00
2025-11-11 23:48:02 +01:00
2025-11-23 00:57:17 +01:00
2025-11-18 13:53:59 +01:00
2025-11-24 10:03:15 +01:00
2025-11-11 23:48:02 +01:00
2025-11-11 23:48:02 +01:00
2025-11-11 23:48:02 +01:00
2025-11-23 00:57:17 +01:00
2025-11-12 23:05:51 +01:00
2025-11-11 23:48:02 +01:00
2025-11-23 00:57:17 +01:00
2025-11-23 00:57:17 +01:00
2025-10-28 14:11:18 +01:00
2025-11-23 00:41:22 +01:00
2025-11-11 23:48:02 +01:00
2025-11-11 23:48:02 +01:00
2025-11-11 23:48:02 +01:00
2025-11-11 23:48:02 +01:00
2026-02-21 01:00:54 +01:00
2025-11-23 00:57:17 +01:00
2025-11-11 23:48:02 +01:00
2025-11-11 23:48:02 +01:00
2025-11-23 00:57:17 +01:00
2026-02-21 01:00:54 +01:00
2026-02-21 19:28:57 +01:00
2026-02-20 18:14:42 +01:00
2025-11-13 19:14:20 +01:00
2025-11-11 23:48:02 +01:00
2025-11-23 00:57:17 +01:00
2025-11-23 00:57:17 +01:00
2025-11-11 23:48:02 +01:00
2025-11-23 00:57:17 +01:00
2025-11-23 00:57:17 +01:00
2026-02-21 01:00:54 +01:00
2025-11-11 23:48:02 +01:00
2025-11-11 23:48:02 +01:00
2025-11-11 23:48:02 +01:00
2025-11-11 23:48:02 +01:00
2025-11-23 00:57:17 +01:00
2026-02-20 23:52:12 +01:00
2025-11-02 21:49:07 +01:00
2026-02-20 21:32:58 +01:00
2026-02-20 23:52:12 +01:00
2025-11-23 00:57:17 +01:00
2025-11-23 00:57:17 +01:00
2025-11-11 23:48:02 +01:00
2025-11-02 21:49:07 +01:00
2025-11-23 00:57:17 +01:00
2026-02-20 23:52:12 +01:00
2025-11-23 00:57:17 +01:00
2025-11-23 00:57:17 +01:00
2025-11-23 00:57:17 +01:00
2025-11-23 00:57:17 +01:00
2025-11-23 00:57:17 +01:00
2025-11-23 00:57:17 +01:00
2025-11-04 23:54:18 +01:00
2025-11-23 14:24:50 +01:00
2025-11-23 00:57:17 +01:00
2025-11-23 00:57:17 +01:00
2025-11-11 23:48:02 +01:00
2025-11-23 00:57:17 +01:00
2025-11-23 00:57:17 +01:00
2025-11-11 23:48:02 +01:00
2025-11-11 23:48:02 +01:00
2025-11-11 23:48:02 +01:00
2025-11-11 23:48:02 +01:00
2026-02-21 01:00:54 +01:00
2025-11-23 00:57:17 +01:00
2025-11-23 00:57:17 +01:00
2025-11-23 00:57:17 +01:00
2025-11-23 00:57:17 +01:00
2025-11-23 00:57:17 +01:00
2025-11-11 23:48:02 +01:00
2025-11-23 00:57:17 +01:00
2025-11-23 00:57:17 +01:00
2025-11-23 00:57:17 +01:00
2025-11-23 00:57:17 +01:00
2025-11-23 00:57:17 +01:00
2025-11-23 00:57:17 +01:00