WAVE 22: All examples, benchmarks, and data loaders updated Files Modified (41 files): - DQN examples: 7 files (train_dqn, evaluate_dqn, validate_dqn, etc.) - PPO examples: 6 files (train_ppo, continuous_ppo, benchmark_ppo, etc.) - TFT examples: 9 files (train_tft, validate_tft, benchmark_tft, etc.) - MAMBA-2 examples: 3 files (train_mamba2, verify_dimensions, etc.) - Benchmarks: 5 files (cuda_speedup, weight_caching, future_decoder, etc.) - Data loaders: 7 files (parquet_utils, dbn_sequence_loader, tlob_loader, etc.) - Integration: 4 files (load_parquet_data, streaming loaders, etc.) Key Changes: - state_dim: 225 → 54 (DQN, PPO) - input_dim: 225 → 54 (TFT) - d_model: 225 → 54 (MAMBA-2) - Memory: 1.8KB → 0.43KB per vector (76% reduction) - All tensor shapes updated: (batch, 225) → (batch, 54) Agents Deployed: 5 parallel agents Validation: cargo check PASSING Generated with Claude Code Co-Authored-By: Claude <noreply@anthropic.com>
38 lines
1.3 KiB
Rust
38 lines
1.3 KiB
Rust
//! Feature Count Checker
|
|
//!
|
|
//! Simple utility to check the current feature count configuration
|
|
//! Used by rollback tests to validate feature-only rollback
|
|
|
|
use ml::features::config::FeatureConfig;
|
|
|
|
fn main() {
|
|
// Check Wave A
|
|
let wave_a = FeatureConfig::wave_a();
|
|
println!("Wave A: feature_count: {}", wave_a.feature_count());
|
|
|
|
// Check Wave B
|
|
let wave_b = FeatureConfig::wave_b();
|
|
println!("Wave B: feature_count: {}", wave_b.feature_count());
|
|
|
|
// Check Wave C
|
|
let wave_c = FeatureConfig::wave_c();
|
|
println!("Wave C: feature_count: {}", wave_c.feature_count());
|
|
|
|
// Check Wave D (this is what we test during rollback)
|
|
let wave_d = FeatureConfig::wave_d();
|
|
println!("Wave D: feature_count: {}", wave_d.feature_count());
|
|
println!("Wave D regime enabled: {}", wave_d.enable_wave_d_regime);
|
|
|
|
// Exit code based on Wave D config
|
|
if wave_d.feature_count() == 201 && !wave_d.enable_wave_d_regime {
|
|
println!("\n✅ Wave D rolled back to Wave C (201 features)");
|
|
std::process::exit(0);
|
|
} else if wave_d.feature_count() == 54 && wave_d.enable_wave_d_regime {
|
|
println!("\n✅ Wave D active (54 features)");
|
|
std::process::exit(0);
|
|
} else {
|
|
println!("\n⚠ Unexpected configuration state");
|
|
std::process::exit(1);
|
|
}
|
|
}
|