pub struct DimensionScores {
pub task_completion: f64,
pub tool_selection: f64,
pub argument_correctness: f64,
pub schema_compliance: f64,
pub instruction_adherence: f64,
pub path_efficiency: f64,
}Expand description
Per-dimension score breakdown.
Fields§
§task_completion: f64Did the agent achieve the goal? Weight: 35%
tool_selection: f64Were the right tools called? Weight: 20%
argument_correctness: f64Were tool arguments valid and correct? Weight: 20%
schema_compliance: f64Was the output schema compliant? Weight: 15%
instruction_adherence: f64Did the agent follow constraints? Weight: 7%
path_efficiency: f64Was the shortest valid path taken? Weight: 3%
Implementations§
Source§impl DimensionScores
impl DimensionScores
Sourcepub fn weighted_aggregate(&self, weights: &EvalWeights) -> f64
pub fn weighted_aggregate(&self, weights: &EvalWeights) -> f64
Scoring weights as defined in the PRD (configurable per run via EvalWeights).
Trait Implementations§
Source§impl Clone for DimensionScores
impl Clone for DimensionScores
Source§fn clone(&self) -> DimensionScores
fn clone(&self) -> DimensionScores
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 DimensionScores
impl Debug for DimensionScores
Source§impl Default for DimensionScores
impl Default for DimensionScores
Source§fn default() -> DimensionScores
fn default() -> DimensionScores
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for DimensionScores
impl<'de> Deserialize<'de> for DimensionScores
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 DimensionScores
impl RefUnwindSafe for DimensionScores
impl Send for DimensionScores
impl Sync for DimensionScores
impl Unpin for DimensionScores
impl UnsafeUnpin for DimensionScores
impl UnwindSafe for DimensionScores
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