pub struct EvalState {
pub inline_eval_count: u32,
pub async_eval_count: u32,
pub aggregate_quality_score: f64,
pub quality_trend: f64,
pub last_eval_ms: u64,
}Expand description
Evaluation quality tracking state.
Accumulated from eval.* custom events emitted by Nous evaluators.
Used by the EvalQualityRule to gate agent behavior based on quality scores.
Fields§
§inline_eval_count: u32Count of inline evaluations completed.
async_eval_count: u32Count of async evaluations completed.
aggregate_quality_score: f64Aggregate quality score (0.0..1.0), exponential moving average.
quality_trend: f64Quality trend (positive = improving, negative = degrading).
last_eval_ms: u64Timestamp of the last evaluation (ms since epoch).
Trait Implementations§
Source§impl<'de> Deserialize<'de> for EvalState
impl<'de> Deserialize<'de> for EvalState
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
Auto Trait Implementations§
impl Freeze for EvalState
impl RefUnwindSafe for EvalState
impl Send for EvalState
impl Sync for EvalState
impl Unpin for EvalState
impl UnsafeUnpin for EvalState
impl UnwindSafe for EvalState
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