pub struct ApplyRecord {
pub verdict: ApplyVerdict,
pub applied_config: Option<InferenceConfig>,
pub prior_defaults: Option<Option<InferenceConfig>>,
pub prior_origin: Option<Option<DefaultsOrigin>>,
}Expand description
The durable record of an apply, stored on the run row so
gglib model explain’s “measured by a tune sweep” can be traced to the
numbers that licensed it.
Fields§
§verdict: ApplyVerdictThe verdict that licensed the write, with its numbers.
applied_config: Option<InferenceConfig>The applied sampling overlay, exactly as stored on the model.
None on a refusal record — the verdict says why nothing was
written. (Optional since refusals began leaving records; an apply
written before that always carries Some.)
prior_defaults: Option<Option<InferenceConfig>>The defaults the apply displaced, exactly as they were stored.
What makes an apply reversible without archaeology: a signal-driven
sweep that made things worse can be undone from the run row alone.
None on records written before the field existed, and a real
Some(None)-shaped absence is representable — a model that had no
stored defaults restores to having none.
prior_origin: Option<Option<DefaultsOrigin>>The origin the displaced defaults carried.
Trait Implementations§
Source§impl Clone for ApplyRecord
impl Clone for ApplyRecord
Source§fn clone(&self) -> ApplyRecord
fn clone(&self) -> ApplyRecord
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for ApplyRecord
impl Debug for ApplyRecord
Source§impl<'de> Deserialize<'de> for ApplyRecord
impl<'de> Deserialize<'de> for ApplyRecord
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>,
Source§impl PartialEq for ApplyRecord
impl PartialEq for ApplyRecord
Source§fn eq(&self, other: &ApplyRecord) -> bool
fn eq(&self, other: &ApplyRecord) -> bool
self and other values to be equal, and is used by ==.