pub struct TuneTaskResult {
pub task_id: String,
pub category: TaskCategory,
pub passed: bool,
pub tool_match_score: f64,
pub loop_detected: bool,
pub stagnation_detected: bool,
pub iterations: usize,
pub latency_ms: u64,
pub detail: Option<String>,
}Expand description
Result of evaluating one task against one candidate’s sampling settings.
Fields§
§task_id: StringID of the super::task::TuneTask this result corresponds to.
category: TaskCategoryCategory the task belongs to (carried for leaderboard grouping).
passed: booltrue if the agent loop completed and its tool calls matched the
task’s expected outcome (for NoToolCall tasks: no call was made).
tool_match_score: f64AST-style match score against the expected outcome, 0.0–1.0.
Partial credit: e.g. right tool name but a missing required
argument scores between 0.0 and 1.0, not a hard fail.
loop_detected: booltrue if the agent loop’s LoopDetector fired during this task.
stagnation_detected: booltrue if the agent loop’s StagnationDetector fired during this task.
iterations: usizeNumber of agent-loop iterations consumed before completion (or before the loop was aborted by a guard).
latency_ms: u64Wall-clock time spent on this task, in milliseconds.
detail: Option<String>Optional human-readable detail (e.g. which expected call was missed), surfaced in the leaderboard drill-down.
Trait Implementations§
Source§impl Clone for TuneTaskResult
impl Clone for TuneTaskResult
Source§fn clone(&self) -> TuneTaskResult
fn clone(&self) -> TuneTaskResult
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more