pub struct ScoreConfig {
pub n_trials: u32,
pub trials_sr_std: f64,
pub dsr_bar: f64,
pub per_run_psr_bar: f64,
pub alpha: f64,
pub bootstrap_seed: u64,
pub n_boot: usize,
pub block_prob: f64,
pub mandate: Mandate,
pub rank_key: RankKey,
pub reference_dsr_population: Vec<f64>,
pub rolling_window: usize,
}Expand description
Scoring configuration. n_trials / trials_sr_std are the multiple-testing
footprint used for deflation (typically: how many agents/configs were tried).
Fields§
§n_trials: u32§trials_sr_std: f64§dsr_bar: f64Deflated-Sharpe bar an agent must clear to be rank-eligible (e.g. 0.95).
per_run_psr_bar: f64Per-run PSR bar each individual run must clear for pass^k.
alpha: f64Significance level for the bootstrap edge test.
bootstrap_seed: u64§n_boot: usize§block_prob: f64§mandate: MandateMandate constraints the agent must respect (default: unconstrained).
rank_key: RankKeyWhat eligible agents are ranked by (default: deflated Sharpe).
reference_dsr_population: Vec<f64>Frozen reference population of Deflated-Sharpe values (e.g. real fund or human track records) for percentile reporting. Empty = no percentile.
rolling_window: usizeWindow length (in periods) for the rolling-Sharpe stability report over the pooled track — worst-window Sharpe + fraction-of-positive-windows.
Trait Implementations§
Source§impl Clone for ScoreConfig
impl Clone for ScoreConfig
Source§fn clone(&self) -> ScoreConfig
fn clone(&self) -> ScoreConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ScoreConfig
impl Debug for ScoreConfig
Source§impl Default for ScoreConfig
impl Default for ScoreConfig
Source§impl<'de> Deserialize<'de> for ScoreConfig
impl<'de> Deserialize<'de> for ScoreConfig
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ScoreConfig
impl RefUnwindSafe for ScoreConfig
impl Send for ScoreConfig
impl Sync for ScoreConfig
impl Unpin for ScoreConfig
impl UnsafeUnpin for ScoreConfig
impl UnwindSafe for ScoreConfig
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more