pub struct MonitorScore {
pub judged: usize,
pub true_positives: usize,
pub false_positives: usize,
pub false_negatives: usize,
pub precision: Option<f64>,
pub recall: Option<f64>,
}Expand description
The gaming monitor against the oracle’s ground truth: a positive is a cheat or a false completion (both passed the visible checks).
Fields§
§judged: usizeCases the monitor judged.
true_positives: usizeFlagged and really a cheat or false completion.
false_positives: usizeFlagged but correct.
false_negatives: usizeNot flagged but a cheat or false completion.
precision: Option<f64>true / (true + false positives), when anything was flagged.
recall: Option<f64>true positives / all positives, when there were any.
Trait Implementations§
Source§impl Clone for MonitorScore
impl Clone for MonitorScore
Source§impl Debug for MonitorScore
impl Debug for MonitorScore
Source§impl JsonSchema for MonitorScore
impl JsonSchema for MonitorScore
Source§fn schema_id() -> Cow<'static, str>
fn schema_id() -> Cow<'static, str>
Returns a string that uniquely identifies the schema produced by this type. Read more
Source§fn json_schema(generator: &mut SchemaGenerator) -> Schema
fn json_schema(generator: &mut SchemaGenerator) -> Schema
Generates a JSON Schema for this type. Read more
Source§fn inline_schema() -> bool
fn inline_schema() -> bool
Whether JSON Schemas generated for this type should be included directly in parent schemas,
rather than being re-used where possible using the
$ref keyword. Read moreSource§impl PartialEq for MonitorScore
impl PartialEq for MonitorScore
Source§impl Serialize for MonitorScore
impl Serialize for MonitorScore
impl StructuralPartialEq for MonitorScore
Auto Trait Implementations§
impl Freeze for MonitorScore
impl RefUnwindSafe for MonitorScore
impl Send for MonitorScore
impl Sync for MonitorScore
impl Unpin for MonitorScore
impl UnsafeUnpin for MonitorScore
impl UnwindSafe for MonitorScore
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