pub struct StatisticalRegressionReport {Show 18 fields
pub format_version: u64,
pub baseline: String,
pub candidate: String,
pub dataset_name: String,
pub dataset_version: String,
pub config: StatisticalRegressionConfig,
pub pairs: usize,
pub both_passed: usize,
pub both_failed: usize,
pub regressions: usize,
pub improvements: usize,
pub baseline_pass_rate: f64,
pub candidate_pass_rate: f64,
pub pass_rate_drop: f64,
pub p_value: Option<f64>,
pub effect_threshold_met: bool,
pub significance_threshold_met: bool,
pub decision: StatisticalDecision,
}Expand description
Auditable evidence from one paired pass-rate comparison.
Fields§
§format_version: u64Report schema version.
baseline: StringBaseline experiment identity.
candidate: StringCandidate experiment identity.
dataset_name: StringShared dataset name.
dataset_version: StringShared dataset version.
config: StatisticalRegressionConfigPolicy applied.
pairs: usizeNumber of exactly matched (case_id, repetition) outcomes.
both_passed: usizePairs where both experiments passed.
both_failed: usizePairs where both experiments failed.
regressions: usizeBaseline passed and candidate failed.
improvements: usizeBaseline failed and candidate passed.
baseline_pass_rate: f64Baseline passes divided by pairs.
candidate_pass_rate: f64Candidate passes divided by pairs.
pass_rate_drop: f64baseline_pass_rate - candidate_pass_rate.
p_value: Option<f64>One-sided exact p-value, absent when the sample-size policy is unmet.
effect_threshold_met: boolWhether the configured practical-effect threshold was met.
significance_threshold_met: boolWhether the configured significance threshold was met.
decision: StatisticalDecisionFinal interpretation.
Implementations§
Trait Implementations§
Source§impl Clone for StatisticalRegressionReport
impl Clone for StatisticalRegressionReport
Source§fn clone(&self) -> StatisticalRegressionReport
fn clone(&self) -> StatisticalRegressionReport
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 StatisticalRegressionReport
impl Debug for StatisticalRegressionReport
Source§impl<'de> Deserialize<'de> for StatisticalRegressionReport
impl<'de> Deserialize<'de> for StatisticalRegressionReport
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
impl StructuralPartialEq for StatisticalRegressionReport
Auto Trait Implementations§
impl Freeze for StatisticalRegressionReport
impl RefUnwindSafe for StatisticalRegressionReport
impl Send for StatisticalRegressionReport
impl Sync for StatisticalRegressionReport
impl Unpin for StatisticalRegressionReport
impl UnsafeUnpin for StatisticalRegressionReport
impl UnwindSafe for StatisticalRegressionReport
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