pub struct TimeoutLearningConfig {
pub min_samples: usize,
pub abort_tolerance: f64,
pub ladder: Vec<u64>,
}Expand description
How the timeout distiller fits per-callee bounds (R0.10 wave 3).
Fields§
§min_samples: usizeMinimum completions a callee must have journaled before a bound is fit to it. Below it the callee keeps no bound — sparse evidence must not produce confident policy.
abort_tolerance: f64The largest premature-abort fraction a bound may carry: the share of journaled completions that ran longer than the bound. The Wave 1 scar — a p99-plus-margin bound prematurely aborting heavy-tailed work — is a percentile estimate multiplied by a constant missing the tail mass the estimate cannot see; reading the abort fraction off the empirical distribution directly is the fix, and when no rung satisfies the tolerance the learner abstains (the floor keeps the callee) rather than shipping a bound that fails non-inferiority.
ladder: Vec<u64>The ladder the fitted bounds are chosen from, ascending. The top rung models “no bound in force” and is never emitted — a bound equal to it reclaims nothing the floor does not.