pub struct TopicMemoryEvalComparison {
pub current: TopicMemoryEvalReport,
pub baseline: TopicMemoryEvalReport,
pub clarification_rate_delta: f64,
pub repeat_topic_rate_delta: f64,
pub regression: bool,
}Expand description
Compare current metrics to a baseline file; used by scripts/topic-memory-eval.ps1.
Fields§
§current: TopicMemoryEvalReport§baseline: TopicMemoryEvalReport§clarification_rate_delta: f64§repeat_topic_rate_delta: f64§regression: boolTrue when clarification rate worsened by more than max_regression (absolute).
Trait Implementations§
Source§impl Clone for TopicMemoryEvalComparison
impl Clone for TopicMemoryEvalComparison
Source§fn clone(&self) -> TopicMemoryEvalComparison
fn clone(&self) -> TopicMemoryEvalComparison
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 TopicMemoryEvalComparison
impl Debug for TopicMemoryEvalComparison
Source§impl<'de> Deserialize<'de> for TopicMemoryEvalComparison
impl<'de> Deserialize<'de> for TopicMemoryEvalComparison
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for TopicMemoryEvalComparison
impl PartialEq for TopicMemoryEvalComparison
Source§fn eq(&self, other: &TopicMemoryEvalComparison) -> bool
fn eq(&self, other: &TopicMemoryEvalComparison) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for TopicMemoryEvalComparison
Auto Trait Implementations§
impl Freeze for TopicMemoryEvalComparison
impl RefUnwindSafe for TopicMemoryEvalComparison
impl Send for TopicMemoryEvalComparison
impl Sync for TopicMemoryEvalComparison
impl Unpin for TopicMemoryEvalComparison
impl UnsafeUnpin for TopicMemoryEvalComparison
impl UnwindSafe for TopicMemoryEvalComparison
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