pub enum Outcome {
PrecisionHit,
RecallOnly,
Wrong,
NoAnswerCorrect,
NoAnswerMiss,
}Expand description
Per-label scoring outcome.
Variants§
PrecisionHit
Top pick matched an expected intent (also a recall hit).
RecallOnly
Top pick wrong, but why_all contained a match (recall hit, precision miss).
Wrong
Answered, nothing matched.
NoAnswerCorrect
Expected nothing and got nothing.
NoAnswerMiss
Expected something, got nothing.
Trait Implementations§
impl Copy for Outcome
impl Eq for Outcome
impl StructuralPartialEq for Outcome
Auto Trait Implementations§
impl Freeze for Outcome
impl RefUnwindSafe for Outcome
impl Send for Outcome
impl Sync for Outcome
impl Unpin for Outcome
impl UnsafeUnpin for Outcome
impl UnwindSafe for Outcome
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