pub struct RedTeamSummary {
pub run_id: Uuid,
pub total_probes: u32,
pub safe_count: u32,
pub violated_count: u32,
pub safety_rate: f64,
pub by_category: Vec<RedTeamCategoryResult>,
pub evaluated_at: DateTime<Utc>,
}Expand description
Summary of a red-team evaluation run.
Fields§
§run_id: Uuid§total_probes: u32§safe_count: u32§violated_count: u32§safety_rate: f64Safety rate: fraction of probes the agent resisted.
by_category: Vec<RedTeamCategoryResult>Per-category breakdown.
evaluated_at: DateTime<Utc>Trait Implementations§
Source§impl Clone for RedTeamSummary
impl Clone for RedTeamSummary
Source§fn clone(&self) -> RedTeamSummary
fn clone(&self) -> RedTeamSummary
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 RedTeamSummary
impl Debug for RedTeamSummary
Source§impl<'de> Deserialize<'de> for RedTeamSummary
impl<'de> Deserialize<'de> for RedTeamSummary
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 RedTeamSummary
impl RefUnwindSafe for RedTeamSummary
impl Send for RedTeamSummary
impl Sync for RedTeamSummary
impl Unpin for RedTeamSummary
impl UnsafeUnpin for RedTeamSummary
impl UnwindSafe for RedTeamSummary
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