pub struct ComparisonReport {
pub baseline: String,
pub candidate: String,
pub thresholds: CompareThresholds,
pub assertion_deltas: Vec<AssertionDelta>,
pub case_deltas: Vec<CaseDelta>,
pub latency: LatencyDelta,
pub baseline_cost_usd: f64,
pub candidate_cost_usd: f64,
pub regressions: Vec<Regression>,
pub regressed: bool,
}Expand description
The full comparison of a candidate against a baseline.
Fields§
§baseline: StringBaseline experiment identity.
candidate: StringCandidate experiment identity.
thresholds: CompareThresholdsThe thresholds applied.
assertion_deltas: Vec<AssertionDelta>Per-assertion pass-rate deltas (keys present in both reports).
case_deltas: Vec<CaseDelta>Per-case movement (union of case ids, sorted).
latency: LatencyDeltaLatency movement.
baseline_cost_usd: f64Baseline total cost (USD).
candidate_cost_usd: f64Candidate total cost (USD).
regressions: Vec<Regression>Every threshold breach.
regressed: booltrue when any regression flagged — the release-gate bit.
Trait Implementations§
Source§impl Clone for ComparisonReport
impl Clone for ComparisonReport
Source§impl Debug for ComparisonReport
impl Debug for ComparisonReport
Source§impl<'de> Deserialize<'de> for ComparisonReport
impl<'de> Deserialize<'de> for ComparisonReport
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
Source§impl PartialEq for ComparisonReport
impl PartialEq for ComparisonReport
Source§impl Serialize for ComparisonReport
impl Serialize for ComparisonReport
impl StructuralPartialEq for ComparisonReport
Auto Trait Implementations§
impl Freeze for ComparisonReport
impl RefUnwindSafe for ComparisonReport
impl Send for ComparisonReport
impl Sync for ComparisonReport
impl Unpin for ComparisonReport
impl UnsafeUnpin for ComparisonReport
impl UnwindSafe for ComparisonReport
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