pub struct RunMetrics {
pub scenario_pass_rate: Option<f32>,
pub overall_score: Option<f32>,
pub stt: Option<Stt>,
pub llm: Option<Llm>,
pub tts: Option<Tts>,
pub conversation: Option<Conversation>,
pub conciseness: Option<f32>,
pub conversation_progression: Option<f32>,
}Expand description
Aggregates over this run’s jobs, so a run summary does not have to pull every job and turn. Reuses the JobMetrics group shapes.
Fields§
§scenario_pass_rate: Option<f32>share of jobs whose scenario verdict passed
overall_score: Option<f32>mean over scored jobs
stt: Option<Stt>§llm: Option<Llm>§tts: Option<Tts>§conversation: Option<Conversation>§conciseness: Option<f32>Means over the jobs that report them.
conversation_progression: Option<f32>Implementations§
Source§impl RunMetrics
impl RunMetrics
Sourcepub fn scenario_pass_rate(&self) -> f32
pub fn scenario_pass_rate(&self) -> f32
Returns the value of scenario_pass_rate, or the default value if scenario_pass_rate is unset.
Sourcepub fn conciseness(&self) -> f32
pub fn conciseness(&self) -> f32
Returns the value of conciseness, or the default value if conciseness is unset.
Sourcepub fn conversation_progression(&self) -> f32
pub fn conversation_progression(&self) -> f32
Returns the value of conversation_progression, or the default value if conversation_progression is unset.
Sourcepub fn overall_score(&self) -> f32
pub fn overall_score(&self) -> f32
Returns the value of overall_score, or the default value if overall_score is unset.
Trait Implementations§
Source§impl Clone for RunMetrics
impl Clone for RunMetrics
impl Copy for RunMetrics
Source§impl Debug for RunMetrics
impl Debug for RunMetrics
Source§impl Default for RunMetrics
impl Default for RunMetrics
§impl<'de> Deserialize<'de> for RunMetrics
impl<'de> Deserialize<'de> for RunMetrics
§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 Message for RunMetrics
impl Message for RunMetrics
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Returns the encoded length of the message without a length delimiter.
Source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
Encodes the message to a buffer. Read more
Source§fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Encodes the message to a newly allocated buffer.
Source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
Encodes the message with a length-delimiter to a buffer. Read more
Source§fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Encodes the message with a length-delimiter to a newly allocated buffer.
Source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Decodes an instance of the message from a buffer. Read more
Source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Decodes a length-delimited instance of the message from the buffer.
Source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
Decodes an instance of the message from a buffer, and merges it into
self. Read moreSource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
Decodes a length-delimited instance of the message from buffer, and
merges it into
self.Source§impl PartialEq for RunMetrics
impl PartialEq for RunMetrics
§impl Serialize for RunMetrics
impl Serialize for RunMetrics
impl StructuralPartialEq for RunMetrics
Auto Trait Implementations§
impl Freeze for RunMetrics
impl RefUnwindSafe for RunMetrics
impl Send for RunMetrics
impl Sync for RunMetrics
impl Unpin for RunMetrics
impl UnsafeUnpin for RunMetrics
impl UnwindSafe for RunMetrics
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