pub struct ControlRun {
pub first: EvalReport,
pub second: EvalReport,
}Expand description
Two runs of one suite against the same code.
Fields§
§first: EvalReportThe first pass.
second: EvalReportThe second pass, over the same corpus and the same code.
Implementations§
Source§impl ControlRun
impl ControlRun
Sourcepub const fn new(first: EvalReport, second: EvalReport) -> Self
pub const fn new(first: EvalReport, second: EvalReport) -> Self
Records two passes as a control run.
Sourcepub fn noise_floor(&self) -> NoiseFloor
pub fn noise_floor(&self) -> NoiseFloor
The largest movement the unchanged system produced against itself.
Items are joined by identifier; an item that appears in only one pass is
counted in NoiseFloor::unpaired_items and contributes nothing to the
floor, because a movement from “absent” to “present” is not a movement.
Trait Implementations§
Source§impl Clone for ControlRun
impl Clone for ControlRun
Source§impl Debug for ControlRun
impl Debug for ControlRun
Source§impl<'de> Deserialize<'de> for ControlRun
impl<'de> Deserialize<'de> for ControlRun
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 ControlRun
impl PartialEq for ControlRun
Source§impl Serialize for ControlRun
impl Serialize for ControlRun
impl StructuralPartialEq for ControlRun
Auto Trait Implementations§
impl Freeze for ControlRun
impl RefUnwindSafe for ControlRun
impl Send for ControlRun
impl Sync for ControlRun
impl Unpin for ControlRun
impl UnsafeUnpin for ControlRun
impl UnwindSafe for ControlRun
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