pub struct ExperimentPairRow {
pub tenant: String,
pub route_ix: usize,
pub fingerprint: String,
pub trace_id: Uuid,
pub x_inc: f64,
pub x_ch: f64,
pub challenger_cost_usd: f64,
pub ch_error: bool,
pub ch_truncated: u64,
pub ts: Timestamp,
pub in_log: InLogStatus,
}Expand description
One row from the experiment_pairs table.
Used to rebuild paired-mode experiments at startup and in the CLI, so the e-process trajectory
is identical whether derived live or replayed. Arrival order = row id (insertion order).
Fields§
§tenant: StringTenant that owns this pair.
route_ix: usizeRoute index the challenger belongs to.
fingerprint: StringFingerprint of the experiment config (incumbent + challenger ladders, margin, alpha).
trace_id: UuidTrace id of the challenger request that produced this pair (used for cross-source dedup).
x_inc: f64Incumbent gate verdict: 1.0 = gate passed, 0.0 = gate failed / best-attempt.
x_ch: f64Challenger gate verdict: 1.0 = gate passed, 0.0 = gate failed.
challenger_cost_usd: f64USD spent by the challenger on this pair.
ch_error: boolWhether the challenger call ended in an error with no output.
ch_truncated: u64Number of challenger attempts whose answer was cut off at the output-token limit.
ts: TimestampWhen the pair was recorded.
in_log: InLogStatusWhether this row’s evidence reached the shared log. See InLogStatus.
Trait Implementations§
Source§impl Clone for ExperimentPairRow
impl Clone for ExperimentPairRow
Source§impl Debug for ExperimentPairRow
impl Debug for ExperimentPairRow
Source§impl PartialEq for ExperimentPairRow
impl PartialEq for ExperimentPairRow
impl StructuralPartialEq for ExperimentPairRow
Auto Trait Implementations§
impl Freeze for ExperimentPairRow
impl RefUnwindSafe for ExperimentPairRow
impl Send for ExperimentPairRow
impl Sync for ExperimentPairRow
impl Unpin for ExperimentPairRow
impl UnsafeUnpin for ExperimentPairRow
impl UnwindSafe for ExperimentPairRow
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more