pub struct EvalsSummary {
pub enforce_traces: usize,
pub escalations: u64,
pub gates: BTreeMap<String, (u64, u64, u64)>,
pub served_by_rung: BTreeMap<u32, u64>,
}Expand description
Per-gate and per-rung evaluation summary computed from receipts — the operator’s live eval suite: how each gate is verdict-ing, how often routing escalates, where serves land.
Fields§
§enforce_traces: usizeTraces aggregated (enforce mode only — observe records no gate decisions on-path).
escalations: u64Total escalations across those traces.
gates: BTreeMap<String, (u64, u64, u64)>gate_id → (pass, fail, abstain) counts across every attempt.
served_by_rung: BTreeMap<u32, u64>rung index → times an attempt at that rung was the served one.
Trait Implementations§
Source§impl Debug for EvalsSummary
impl Debug for EvalsSummary
Auto Trait Implementations§
impl Freeze for EvalsSummary
impl RefUnwindSafe for EvalsSummary
impl Send for EvalsSummary
impl Sync for EvalsSummary
impl Unpin for EvalsSummary
impl UnsafeUnpin for EvalsSummary
impl UnwindSafe for EvalsSummary
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.