pub struct ExperimentScore {
pub scorer_id: String,
pub name: String,
pub kind: Kind,
pub mean: Option<f64>,
pub pass_rate: Option<f64>,
pub scored: i32,
pub failed: i32,
}Expand description
ExperimentScore : One scorer’s headline for one run: the two numbers a column reports, over that run’s cells.
Fields§
§scorer_id: String§name: StringWhat the column is called in the dataset that ran it, resolved server-side because a list of runs spanning datasets cannot hold every dataset’s scorers to look it up.
kind: Kind§mean: Option<f64>§pass_rate: Option<f64>The share of scored cells at or above the column’s threshold, for a column that has one. Absent where the column has no threshold and the mean is the whole headline.
scored: i32§failed: i32How many of the run’s cells the column failed on. A column that failed on all of them has no number to report and is still one of the columns that ran.
Implementations§
Trait Implementations§
Source§impl Clone for ExperimentScore
impl Clone for ExperimentScore
Source§fn clone(&self) -> ExperimentScore
fn clone(&self) -> ExperimentScore
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 ExperimentScore
impl Debug for ExperimentScore
Source§impl Default for ExperimentScore
impl Default for ExperimentScore
Source§fn default() -> ExperimentScore
fn default() -> ExperimentScore
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ExperimentScore
impl<'de> Deserialize<'de> for ExperimentScore
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 ExperimentScore
impl PartialEq for ExperimentScore
Source§impl Serialize for ExperimentScore
impl Serialize for ExperimentScore
impl StructuralPartialEq for ExperimentScore
Auto Trait Implementations§
impl Freeze for ExperimentScore
impl RefUnwindSafe for ExperimentScore
impl Send for ExperimentScore
impl Sync for ExperimentScore
impl Unpin for ExperimentScore
impl UnsafeUnpin for ExperimentScore
impl UnwindSafe for ExperimentScore
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