pub struct Fit {
pub key: String,
pub model: Option<Model>,
pub half_life: Option<u32>,
pub rates: Rates,
pub pool: PoolFit,
pub budget: Option<f64>,
pub lambda: f64,
pub sensitive: bool,
pub labels: u32,
pub dropped: u32,
}Expand description
What a decision draws from, fitted at borg learn (select/summary.rs refit), never in a hook. The
default is the prior: no data, every decision the fixed rule’s.
Fields§
§key: StringThe outcomes it was fitted on (select/summary.rs Summary::key: byte offset and hash), logged
with each check (Log::fit) so a replay finds the same fit. Empty for the prior.
model: Option<Model>The value model; None without a label.
half_life: Option<u32>The forgetting’s half-life in sessions (None: none).
rates: Rates§pool: PoolFit§budget: Option<f64>The engineer’s budget (pool tokens per session) in force at the fit, and its price per token
(price); 0 without a budget.
lambda: f64§sensitive: boolWhether ask’s or not-now’s effect changes sign when an unclear verdict counts as “no change” instead of missing: the label pipeline’s unclear share decides the sign, so read with care.
labels: u32Labels the model read, and labels FIT_SESSIONS left out.
dropped: u32