pub struct ScenarioScore {
pub name: String,
pub files: usize,
pub raw_tokens: usize,
pub best_mode: String,
pub best_savings_pct: f64,
pub savings_by_mode: BTreeMap<String, f64>,
pub queries: usize,
pub recall_at_5: f64,
pub recall_at_10: f64,
pub mrr: f64,
pub search_latency_us_p50: u64,
}Expand description
Per-scenario result.
Fields§
§name: String§files: usize§raw_tokens: usize§best_mode: String§best_savings_pct: f64§savings_by_mode: BTreeMap<String, f64>§queries: usize§recall_at_5: f64§recall_at_10: f64§mrr: f64§search_latency_us_p50: u64Wall-clock; informational only (not part of the determinism contract).
Trait Implementations§
Source§impl Clone for ScenarioScore
impl Clone for ScenarioScore
Source§fn clone(&self) -> ScenarioScore
fn clone(&self) -> ScenarioScore
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ScenarioScore
impl Debug for ScenarioScore
Source§impl PartialEq for ScenarioScore
impl PartialEq for ScenarioScore
Source§fn eq(&self, other: &ScenarioScore) -> bool
fn eq(&self, other: &ScenarioScore) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for ScenarioScore
impl Serialize for ScenarioScore
impl StructuralPartialEq for ScenarioScore
Auto Trait Implementations§
impl Freeze for ScenarioScore
impl RefUnwindSafe for ScenarioScore
impl Send for ScenarioScore
impl Sync for ScenarioScore
impl Unpin for ScenarioScore
impl UnsafeUnpin for ScenarioScore
impl UnwindSafe for ScenarioScore
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<A, B, T> HttpServerConnExec<A, B> for Twhere
B: Body,
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