pub struct CriterionSummary {
pub criterion: JudgeCriterion,
pub samples_judged: usize,
pub mean_score: Option<f64>,
pub min_score: Option<u8>,
pub max_score: Option<u8>,
pub mean_vote_spread: f64,
pub failed_votes: usize,
}Expand description
The judge’s numbers for one criterion of one item.
Fields§
§criterion: JudgeCriterionWhat was graded.
samples_judged: usizeHow many samples were judged.
mean_score: Option<f64>Mean of the per-sample majority scores.
min_score: Option<u8>Lowest per-sample majority score.
max_score: Option<u8>Highest per-sample majority score.
mean_vote_spread: f64Mean spread between the votes within a sample: the judge’s own
variance, which is what votes_per_sample reduces.
failed_votes: usizeHow many votes returned nothing at all.
Trait Implementations§
Source§impl Clone for CriterionSummary
impl Clone for CriterionSummary
Source§impl Debug for CriterionSummary
impl Debug for CriterionSummary
Source§impl<'de> Deserialize<'de> for CriterionSummary
impl<'de> Deserialize<'de> for CriterionSummary
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 CriterionSummary
impl PartialEq for CriterionSummary
Source§impl Serialize for CriterionSummary
impl Serialize for CriterionSummary
impl StructuralPartialEq for CriterionSummary
Auto Trait Implementations§
impl Freeze for CriterionSummary
impl RefUnwindSafe for CriterionSummary
impl Send for CriterionSummary
impl Sync for CriterionSummary
impl Unpin for CriterionSummary
impl UnsafeUnpin for CriterionSummary
impl UnwindSafe for CriterionSummary
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