#[non_exhaustive]pub struct SelfCheckReport {
pub health_status: HealthStatus,
pub examined_artifacts: Vec<ArtifactRef>,
pub requested_samples: usize,
pub sampled_documents: usize,
pub seed: u64,
pub expected_hits: usize,
pub recalled_hits: usize,
pub recall: f64,
pub max_score_delta: f64,
pub failures: Vec<SelfCheckFailure>,
}Expand description
Deterministic version 1 comparison of live-plan results with brute force.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.health_status: HealthStatusHealth status after this full artifact and semantic check.
examined_artifacts: Vec<ArtifactRef>Exact artifact scopes examined by this call.
requested_samples: usizeCaller-requested sample size.
sampled_documents: usizeStored documents actually sampled.
seed: u64Seed used for deterministic sampling.
expected_hits: usizeGround-truth hits across every completed sampled query.
recalled_hits: usizeGround-truth hits also returned by the live plan.
recall: f64recalled_hits / expected_hits, or one for an empty comparison.
max_score_delta: f64Largest absolute score delta among hits present in both answers.
failures: Vec<SelfCheckFailure>Non-fatal gather or query failures. Any failure contributes no recall.
Trait Implementations§
Source§impl Clone for SelfCheckReport
impl Clone for SelfCheckReport
Source§impl Debug for SelfCheckReport
impl Debug for SelfCheckReport
Source§impl PartialEq for SelfCheckReport
impl PartialEq for SelfCheckReport
impl StructuralPartialEq for SelfCheckReport
Auto Trait Implementations§
impl Freeze for SelfCheckReport
impl RefUnwindSafe for SelfCheckReport
impl Send for SelfCheckReport
impl Sync for SelfCheckReport
impl Unpin for SelfCheckReport
impl UnsafeUnpin for SelfCheckReport
impl UnwindSafe for SelfCheckReport
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