pub struct Calibration {
pub params: EstimateParams,
pub missions_used: usize,
pub doc_heavy_missions_used: usize,
pub expected_mult: f64,
pub low_mult: f64,
pub high_mult: f64,
pub excluded_non_frontier: usize,
pub gate_correlation: Option<f64>,
}Expand description
EstimateParams derived from the repo’s completed missions, plus how
many missions informed them. missions_used == 0 means the params are the
built-in defaults (nothing to calibrate against yet).
Fields§
§params: EstimateParams§missions_used: usize§doc_heavy_missions_used: usizeHow many of the completed missions folded into params classified as
MissionShape::DocHeavy (from their recorded plan). Zero means the
doc-heavy shape is uncovered by this corpus — see apply_shape.
expected_mult: f64Multiplier on the raw estimate expected_usd that recenters it onto
the corpus (aggregate actual ÷ predicted). The calibrated per-run
params already carry most of the correction, so this removes only the
residual aggregate bias left by the count formula (≈1.08 on this repo’s
corpus). 1.0 below MIN_CALIBRATION_MISSIONS.
low_mult: f64Multipliers on the raw expected_usd for the low/high bounds: the
empirical p10 / p90 of actual ÷ predicted, but clamped so the band only
ever WIDENS the built-in 0.5 / 2.5 guess (in-sample quantiles from a
small corpus understate a fresh mission’s uncertainty). 0.5 / 2.5
below MIN_CALIBRATION_MISSIONS.
high_mult: f64§excluded_non_frontier: usizeCompleted missions EXCLUDED from the corpus for not being frontier
spend (MissionCostClass::Local or MissionCostClass::Mixed) —
their $0-marginal or blended actuals would distort the frontier
calibration. Visibility for the corpus-size readouts (ready.rs shows
missions_used).
gate_correlation: Option<f64>Pearson r between per-mission gate activity and the actual÷predicted
ratio (gate activity = blocked + grant requests + fix features +
resumes). This is the calibrate-block-resume-cycles measurement;
None below MIN_CALIBRATION_MISSIONS or when either series is
constant.
Trait Implementations§
Source§impl Clone for Calibration
impl Clone for Calibration
Source§fn clone(&self) -> Calibration
fn clone(&self) -> Calibration
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more