pub struct Automated {
pub coverage: f64,
pub ucb: Option<f64>,
pub realized_band: Option<Band>,
pub loss_sum: Option<Option<u64>>,
pub realized_cost: Option<Option<f64>>,
}Expand description
A test’s answered cases whose answer is one of automate_options (v1.3): their share of the
test’s n cases, and ucb and realized_band of their error, as the test’s own (descriptive,
spec v1.2 §1.2). Null exactly where the test’s are.
Fields§
§coverage: f64§ucb: Option<f64>§realized_band: Option<Band>§loss_sum: Option<Option<u64>>v1.4 only (absent before v1.4): the automated cases’ exact sum of whole costs under
selective_cost; present and null otherwise.
realized_cost: Option<Option<f64>>v1.4 only (absent before v1.4): the automated cases’ mean normalised cost under
selective_cost, loss_sum / (c_max * answered); present and null otherwise.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Automated
impl<'de> Deserialize<'de> for Automated
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 Automated
Auto Trait Implementations§
impl Forget for Automated
impl Freeze for Automated
impl Move for Automated
impl RefUnwindSafe for Automated
impl Send for Automated
impl Sync for Automated
impl Unpin for Automated
impl UnsafeUnpin for Automated
impl UnwindSafe for Automated
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