pub struct EvalMetric {
pub name: String,
pub score: f64,
pub per_invocation: Vec<PerInvocationResult>,
}Expand description
A named metric with its aggregated and per-invocation results.
Fields§
§name: StringName of this metric (e.g., “response_match”, “tool_use_quality”).
score: f64Aggregated score across all invocations.
per_invocation: Vec<PerInvocationResult>Per-invocation breakdown.
Trait Implementations§
Source§impl Clone for EvalMetric
impl Clone for EvalMetric
Source§fn clone(&self) -> EvalMetric
fn clone(&self) -> EvalMetric
Returns a duplicate of the value. Read more
1.0.0 · 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 EvalMetric
impl Debug for EvalMetric
Source§impl<'de> Deserialize<'de> for EvalMetric
impl<'de> Deserialize<'de> for EvalMetric
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 EvalMetric
impl RefUnwindSafe for EvalMetric
impl Send for EvalMetric
impl Sync for EvalMetric
impl Unpin for EvalMetric
impl UnwindSafe for EvalMetric
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