pub struct Measurement {
pub measured_at: String,
pub model: String,
pub disposition: String,
pub reason: String,
pub selection: TallyRecord,
pub holdout: TallyRecord,
pub work_baseline: u64,
pub work_candidate: u64,
pub episodes: Vec<String>,
pub diverged: Vec<String>,
pub skipped: usize,
}Expand description
What the counterfactual replay measured, kept whole on the candidate.
Fields§
§measured_at: String§model: String§disposition: Stringaccept | propose | reject — the gate’s own verdict, which is not
the candidate’s status: a propose verdict stages for a human.
reason: StringThe gate’s reason, empty for accept.
selection: TallyRecord§holdout: TallyRecord§work_baseline: u64§work_candidate: u64§episodes: Vec<String>Session ids paired and judged.
diverged: Vec<String>Sessions dropped because an arm left the recording — a divergent replay’s stats describe a truncated run, and scoring one would let a behaviour-visible change be graded on the fraction it tracked.
skipped: usizeSessions that could not be replayed at all (unreadable, no recorded calls, tool surface moved). Never evidence for either arm.
Implementations§
Trait Implementations§
Source§impl Clone for Measurement
impl Clone for Measurement
Source§fn clone(&self) -> Measurement
fn clone(&self) -> Measurement
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 Measurement
impl Debug for Measurement
Source§impl<'de> Deserialize<'de> for Measurement
impl<'de> Deserialize<'de> for Measurement
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 Measurement
impl RefUnwindSafe for Measurement
impl Send for Measurement
impl Sync for Measurement
impl Unpin for Measurement
impl UnsafeUnpin for Measurement
impl UnwindSafe for Measurement
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