pub struct EvaluationReport {
pub schema_version: u32,
pub policy_version: String,
pub cases: usize,
pub true_positives: usize,
pub false_positives: usize,
pub false_negatives: usize,
pub true_negatives: usize,
pub precision: f64,
pub recall: f64,
pub false_positive_rate: f64,
pub mean_detection_delay_windows: Option<f64>,
}Expand description
Offline metrics for review-state detection.
Fields§
§schema_version: u32Evaluation schema version.
policy_version: StringDetector policy version.
cases: usizeNumber of labeled cases.
true_positives: usizeTrue positives at case level.
false_positives: usizeFalse positives at case level.
false_negatives: usizeFalse negatives at case level.
true_negatives: usizeTrue negatives at case level.
precision: f64Precision of review state.
recall: f64Recall of review state.
false_positive_rate: f64False-positive rate among non-stuck cases.
mean_detection_delay_windows: Option<f64>Mean windows from labeled onset to first review, when detected.
Trait Implementations§
Source§impl Clone for EvaluationReport
impl Clone for EvaluationReport
Source§impl Debug for EvaluationReport
impl Debug for EvaluationReport
Source§impl<'de> Deserialize<'de> for EvaluationReport
impl<'de> Deserialize<'de> for EvaluationReport
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
Auto Trait Implementations§
impl Forget for EvaluationReport
impl Freeze for EvaluationReport
impl Move for EvaluationReport
impl RefUnwindSafe for EvaluationReport
impl Send for EvaluationReport
impl Sync for EvaluationReport
impl Unpin for EvaluationReport
impl UnsafeUnpin for EvaluationReport
impl UnwindSafe for EvaluationReport
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more