Tests referenced old DQNParams fields (learning_rate, batch_size,
ensemble_size, etc.) that were absorbed into family intensity scalars.
Rewrote all affected tests to validate the 14D search space layout,
intensity bounds [0.0, 2.0], and round-trip serialization.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Add q_gap_threshold to action selection kernel: when greedy Q(best) - Q(flat)
< threshold, default to flat. Teaches model to trade only with conviction.
39D search space (was 38D). Default 0.0 (disabled), hyperopt range [0.0, 0.5].
Remove use_branching parameter from experience_action_select — GPU pipeline
always uses branching DQN. Flat mode was dead code.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Expand the DQN hyperopt parameter space from 31D to 38D by adding 7 GPU
composite reward weights (w_dsr, w_pnl, w_dd, w_idle, dd_threshold,
loss_aversion, time_decay_rate) at indices 31-37.
- Remove hold_penalty_weight from DQNParams (replaced by w_idle)
- Add #[serde(default)] for backward compat with old JSON results
- Phase Fast fixes reward weights to defaults (not searched)
- Wire reward weights from DQNParams → DQNHyperparameters in train_with_params
- Fix all tests: 134 hyperopt + 7 ensemble + 5 JSON export tests pass
- Fix stale 40D ensemble tests → 38D layout (were already broken pre-change)
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Move 17 library crates into crates/, CLI binary into bin/fxt,
consolidate 10 test crates into testing/, split config crate
from deployment config files.
Root directory reduced from 38+ to ~17 directories.
All Cargo.toml paths and build.rs proto refs updated.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>