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>
20 lines
650 B
Rust
20 lines
650 B
Rust
//! Meta-labeling module
|
|
//!
|
|
//! This module provides meta-labeling functionality for separating
|
|
//! direction prediction from confidence/bet sizing decisions.
|
|
//!
|
|
//! ## Two-Stage Architecture
|
|
//!
|
|
//! 1. **Primary Model**: Predicts direction (BUY/SELL/HOLD)
|
|
//! 2. **Secondary Model**: Decides whether to trade and determines position size
|
|
|
|
pub mod primary_model;
|
|
pub mod secondary_model;
|
|
|
|
// Re-export key types for convenience
|
|
pub use primary_model::{Label, PrimaryDirectionalModel, PrimaryModelConfig};
|
|
pub use secondary_model::{
|
|
PrimaryPrediction, SecondaryBettingModel, SecondaryModelConfig, SecondaryModelStatistics,
|
|
TradeDecision,
|
|
};
|