pub struct AgentTaskResult {Show 14 fields
pub id: String,
pub exit_ok: bool,
pub duration_ms: u64,
pub output_bytes: usize,
pub files_surfaced: usize,
pub files_total: usize,
pub files_opened: usize,
pub search_tool_calls: usize,
pub read_tool_calls: usize,
pub total_tool_calls: usize,
pub wrong_first_locations: usize,
pub first_correct_ms: Option<u64>,
pub first_plan_correct: bool,
pub graph_tool_calls: usize,
}Fields§
§id: String§exit_ok: bool§duration_ms: u64§output_bytes: usize§files_surfaced: usizeground-truth files mentioned in the agent’s output (localization)
files_total: usize§files_opened: usizeunique repo-relative file paths mentioned by tool events
search_tool_calls: usizegrep/glob/rg/find-style tool calls
read_tool_calls: usizeread/cat/sed-style tool calls (including file reads)
total_tool_calls: usizeall tool-like events (command executions + mcp tool calls + tool_use)
wrong_first_locations: usizeunique non-ground-truth files opened before the first ground-truth file was touched
first_correct_ms: Option<u64>wall time until the first ground-truth file appears in a tool event or output
first_plan_correct: boolthe agent’s first plan (output before the first tool event) names a ground-truth key (file or symbol)
graph_tool_calls: usizeknowledge-graph query tool calls (MCP tools named graph/gitnexus)
Trait Implementations§
Source§impl Clone for AgentTaskResult
impl Clone for AgentTaskResult
Source§impl Debug for AgentTaskResult
impl Debug for AgentTaskResult
Source§impl Default for AgentTaskResult
impl Default for AgentTaskResult
Auto Trait Implementations§
impl Freeze for AgentTaskResult
impl RefUnwindSafe for AgentTaskResult
impl Send for AgentTaskResult
impl Sync for AgentTaskResult
impl Unpin for AgentTaskResult
impl UnsafeUnpin for AgentTaskResult
impl UnwindSafe for AgentTaskResult
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