pub struct ShadowComparison {
pub run_id: Uuid,
pub champion_agent_id: Uuid,
pub candidate_agent_id: Uuid,
pub traffic_fraction: f64,
pub total_requests: u32,
pub champion_aggregate_score: f64,
pub candidate_aggregate_score: f64,
pub aggregate_delta: f64,
pub per_dimension: Vec<DimensionComparison>,
pub candidate_wins: bool,
pub compared_at: DateTime<Utc>,
}Expand description
Aggregated shadow run comparison report.
Fields§
§run_id: Uuid§champion_agent_id: Uuid§candidate_agent_id: Uuid§traffic_fraction: f64Fraction of traffic routed to the candidate (0.0–1.0).
total_requests: u32§champion_aggregate_score: f64§candidate_aggregate_score: f64§aggregate_delta: f64§per_dimension: Vec<DimensionComparison>§candidate_wins: boolWhether the candidate won overall (positive delta + all regression gates pass).
compared_at: DateTime<Utc>Trait Implementations§
Source§impl Clone for ShadowComparison
impl Clone for ShadowComparison
Source§fn clone(&self) -> ShadowComparison
fn clone(&self) -> ShadowComparison
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 ShadowComparison
impl Debug for ShadowComparison
Source§impl<'de> Deserialize<'de> for ShadowComparison
impl<'de> Deserialize<'de> for ShadowComparison
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
Auto Trait Implementations§
impl Freeze for ShadowComparison
impl RefUnwindSafe for ShadowComparison
impl Send for ShadowComparison
impl Sync for ShadowComparison
impl Unpin for ShadowComparison
impl UnsafeUnpin for ShadowComparison
impl UnwindSafe for ShadowComparison
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