pub struct CellScore {
pub scorer_id: String,
pub score: Option<f64>,
pub reason: Option<String>,
pub checks: Option<Option<Value>>,
pub error: Option<String>,
pub not_applicable: Option<bool>,
pub pending: bool,
pub passed: Option<bool>,
pub baseline: Option<f64>,
pub definition_changed: bool,
}Expand description
CellScore : One scorer’s verdict on one run, and how it compares with the baseline.
Fields§
§scorer_id: String§score: Option<f64>§reason: Option<String>§checks: Option<Option<Value>>§error: Option<String>§not_applicable: Option<bool>The scorer read this case and had nothing to measure on it. Left out of the column’s mean and pass rate rather than counted as a zero.
pending: boolA scoring job is still running for this cell.
passed: Option<bool>Which side of the scorer’s pass_if threshold the score fell on. Absent when the column has no threshold, or has no score yet.
baseline: Option<f64>The same scorer’s number on the baseline experiment.
definition_changed: boolThe baseline’s score came from a different definition of this scorer, so the delta is a change of scorer as much as a change of agent.
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for CellScore
impl<'de> Deserialize<'de> for CellScore
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 CellScore
Auto Trait Implementations§
impl Forget for CellScore
impl Freeze for CellScorewhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<Value>: Freeze,
*const LeafNode<String, Value> is !null: Freeze,
PhantomData<(Owned, LeafOrInternal)>: Freeze,
PhantomData<Box<(String, Value)>>: Freeze,
impl Move for CellScore
impl RefUnwindSafe for CellScore
impl Send for CellScore
impl Sync for CellScore
impl Unpin for CellScore
impl UnsafeUnpin for CellScorewhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<Value>: UnsafeUnpin,
*const LeafNode<String, Value> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(String, Value)>>: UnsafeUnpin,
impl UnwindSafe for CellScore
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