pub struct Report {
pub status: Status,
pub margin: f64,
pub alpha: f64,
pub pairs: u64,
pub decided_at_pair: Option<u64>,
pub e_certify: f64,
pub e_halt: f64,
pub incumbent: ArmStats,
pub challenger: ArmStats,
}Expand description
A point-in-time summary of an experiment, safe to serialize into a report or an API response.
Fields§
§status: StatusCurrent decision.
margin: f64Non-inferiority margin m.
alpha: f64Error rate for each conclusion.
pairs: u64Pairs consumed by the test.
decided_at_pair: Option<u64>Pair at which the decision was reached, if it has been.
e_certify: f64E-value against “challenger is worse by ≥ m”. Certifies at 1/alpha.
e_halt: f64E-value against “challenger is worse by ≤ m”. Halts at 1/alpha.
incumbent: ArmStatsIncumbent arm totals.
challenger: ArmStatsChallenger arm totals.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Report
impl<'de> Deserialize<'de> for Report
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 Report
Auto Trait Implementations§
impl Freeze for Report
impl RefUnwindSafe for Report
impl Send for Report
impl Sync for Report
impl Unpin for Report
impl UnsafeUnpin for Report
impl UnwindSafe for Report
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