pub struct ContextReport {Show 16 fields
pub context_cases: usize,
pub context_recall: f64,
pub context_noise: f64,
pub receipt_coverage: f64,
pub mean_pack_size: f64,
pub edge_recall: f64,
pub focus_route_match_rate: Option<f64>,
pub compound_primary_match_rate: Option<f64>,
pub vocabulary_gap_match_rate: Option<f64>,
pub no_vocabulary_gap_match_rate: Option<f64>,
pub editable_vocab_target_match_rate: Option<f64>,
pub non_editable_vocab_target_match_rate: Option<f64>,
pub omitted_context_match_rate: Option<f64>,
pub omitted_compound_anchor_match_rate: Option<f64>,
pub partition_match_rate: Option<f64>,
pub cases: Vec<ContextCaseResult>,
}Expand description
Aggregate context-quality metrics over cases carrying context_must / context_must_not.
Fields§
§context_cases: usize§context_recall: f64Mean recall over cases that declared context_must.
context_noise: f64Mean noise over cases that declared context_must_not (fraction that wrongly appeared).
receipt_coverage: f64Mean receipt coverage over all judged context cases.
mean_pack_size: f64Mean context pack size over all judged context cases.
edge_recall: f64Mean edge recall over cases that declared context_edges_must.
focus_route_match_rate: Option<f64>Match rate over cases with expected_focus_route; None means no route judgment.
compound_primary_match_rate: Option<f64>Match rate over cases with expected_compound_primary; None means no compound judgment.
vocabulary_gap_match_rate: Option<f64>Match rate over cases with expected_vocabulary_gap_terms.
no_vocabulary_gap_match_rate: Option<f64>Match rate over cases with expected_no_vocabulary_gap.
editable_vocab_target_match_rate: Option<f64>Match rate over cases with expected_vocab_editable_targets.
non_editable_vocab_target_match_rate: Option<f64>Match rate over cases with expected_vocab_non_editable_targets.
omitted_context_match_rate: Option<f64>Match rate over cases with expected_omitted_context.
omitted_compound_anchor_match_rate: Option<f64>Match rate over cases with expected_omitted_compound_anchors.
partition_match_rate: Option<f64>Match rate over cases with expected_partition; None means no partition judgment.
cases: Vec<ContextCaseResult>Trait Implementations§
Source§impl Clone for ContextReport
impl Clone for ContextReport
Source§fn clone(&self) -> ContextReport
fn clone(&self) -> ContextReport
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more