Skip to main content

CompareReport

Struct CompareReport 

Source
pub struct CompareReport {
Show 14 fields pub old_file: String, pub new_file: String, pub dev_delta_overall: f64, pub validation_delta_overall: f64, pub generalization_efficiency: f64, pub dev_deltas: BTreeMap<String, f64>, pub validation_deltas: BTreeMap<String, f64>, pub max_section_regression: f64, pub max_regression_section: String, pub gate_ge: f64, pub guard_section_delta: f64, pub ge_passed: bool, pub guard_passed: bool, pub failures: Vec<String>,
}
Expand description

Wave-11 gate report over two saved holdout result files (JSON HoldoutComparisons): the GE gate (--gate-ge MIN, default 0.0 — fails when GE <= MIN; semantic waves must generalize) and the per-section validation regression guard (--guard-section-delta MAX, default 0.05 — fails when ANY startup-required section regresses by more than MAX between the two runs, in development or validation).

Fields§

§old_file: String§new_file: String§dev_delta_overall: f64

new.dev.mean_overall - old.dev.mean_overall.

§validation_delta_overall: f64

new.holdout.mean_overall - old.holdout.mean_overall.

§generalization_efficiency: f64

validation_delta_overall / dev_delta_overall (guarded).

§dev_deltas: BTreeMap<String, f64>

Per-section delta = new - old, development corpus.

§validation_deltas: BTreeMap<String, f64>

Per-section delta = new - old, validation corpus.

§max_section_regression: f64

Largest startup-required section drop (new - old) across both corpora; 0.0 when nothing regressed.

§max_regression_section: String

The section with the largest drop (section@corpus), e.g. contracts@validation; deterministic (first at the max in STARTUP_SECTIONS order, development before validation).

§gate_ge: f64§guard_section_delta: f64§ge_passed: bool§guard_passed: bool§failures: Vec<String>

Human-readable failure reasons; empty when the report passes.

Implementations§

Trait Implementations§

Source§

impl Clone for CompareReport

Source§

fn clone(&self) -> Self

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for CompareReport

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<'de> Deserialize<'de> for CompareReport

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl Serialize for CompareReport

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
where ST: ?Sized, DT: ?Sized,

Source§

impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
where ST: ?Sized, DT: ?Sized,

Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,

Source§

impl<T> DynClone for T
where T: Clone,

Source§

fn __clone_box(&self, _: Private) -> *mut ()

Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> Pointable for T

Source§

const ALIGN: usize

The alignment of pointer.
Source§

type Init = T

The type for initializers.
Source§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
Source§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
Source§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
Source§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
Source§

impl<T> Read<Exclusive, BecauseExclusive> for T
where T: ?Sized,

Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.