Skip to main content

RunReport

Struct RunReport 

Source
pub struct RunReport {
Show 25 fields pub outcome_turns: u32, pub usage: Usage, pub empty_turns: u32, pub truncated_turns: u32, pub read_loop: bool, pub peak_read_repeats: u32, pub fold_thrash: bool, pub stalled: bool, pub big_read_turns: u32, pub tool_calls: u32, pub gate_attempts: u32, pub provider_retries: u32, pub turn_usage: Vec<TurnUsage>, pub gate_ms: Vec<u64>, pub gate_turns: Vec<u32>, pub gate_wait_ms: Vec<u64>, pub gate_failures: Vec<String>, pub tool_counts: BTreeMap<String, u32>, pub cost_capped: bool, pub final_message: Option<String>, pub quote_problems: Option<Vec<String>>, pub claim_check: Option<ClaimCheck>, pub claim_check_skipped: Option<String>, pub base_check_seconds: Option<f64>, pub base_check_passed: Option<bool>,
}

Fields§

§outcome_turns: u32§usage: Usage§empty_turns: u32

Turns whose response contained neither text nor a tool call – pure waste, tracked because 47.6% of a previous harness’s tokens went to turns that only waited (13.29).

§truncated_turns: u32

Turns whose reply hit the output token limit and was cut off.

§read_loop: bool

Whether the run stopped because it kept repeating read/grep/glob calls without changing the workspace.

§peak_read_repeats: u32

Most repeated read/grep/glob calls seen between two workspace changes (the read-loop count).

§fold_thrash: bool

Whether the run stopped because consecutive turns kept folding the previous turn’s results.

§stalled: bool

Run stopped because a fix run made no change and kept calling tools after the last call.

§big_read_turns: u32

Turns whose tool output exceeded half of the fold budget.

§tool_calls: u32§gate_attempts: u32§provider_retries: u32

Transient provider failures (rate limits, overload) waited out during the run.

§turn_usage: Vec<TurnUsage>

One entry per main-loop model call, in order.

§gate_ms: Vec<u64>

Wall time of each gate attempt, in order.

§gate_turns: Vec<u32>

The turn on which each gate attempt ran, in order (one entry per gate attempt).

§gate_wait_ms: Vec<u64>

Time spent waiting for a gate slot on each attempt, in order (0 when acquired at once).

§gate_failures: Vec<String>

Gate output for each failed attempt, bounded to 4,000 characters (keeps the head and the tail).

§tool_counts: BTreeMap<String, u32>

Calls per tool name.

§cost_capped: bool

Whether the run stopped because spending reached --max-cost.

§final_message: Option<String>

The model’s last non-empty text response (trimmed).

§quote_problems: Option<Vec<String>>

Problems with report.md’s quotes (None when the check did not run, Some(vec![]) when it passed).

§claim_check: Option<ClaimCheck>

Model check of report.md’s claims against their cited lines (None when the check did not run).

§claim_check_skipped: Option<String>

Reason the claim check did not run or stopped early (for example, out of time).

§base_check_seconds: Option<f64>

Elapsed seconds for the base check when it ran to completion.

§base_check_passed: Option<bool>

Outcome of the base check when it ran to completion (Some(true) if passed, Some(false) if failed).

Trait Implementations§

Source§

impl Clone for RunReport

Source§

fn clone(&self) -> Self

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for RunReport

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl Default for RunReport

Source§

fn default() -> Self

Returns the “default value” for a type. Read more

Auto Trait Implementations§

§

impl Forget for RunReport

§

impl Freeze for RunReport

§

impl Move for RunReport

§

impl RefUnwindSafe for RunReport

§

impl Send for RunReport
where RawVecInner: Send, NodeRef<Owned, String, u32, LeafOrInternal>: Send, BoxRaw<(String, u32)>: Send,

§

impl Sync for RunReport
where RawVecInner: Sync, NodeRef<Owned, String, u32, LeafOrInternal>: Sync, BoxRaw<(String, u32)>: Sync,

§

impl Unpin for RunReport
where *const u8 is !null: Unpin, *const LeafNode<String, u32> is !null: Unpin, Box<(String, u32)>: Unpin,

§

impl UnsafeUnpin for RunReport

§

impl UnwindSafe for RunReport
where RawVecInner: UnwindSafe, BTreeMap<String, u32>: UnwindSafe,

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> Pointable for T

Source§

const ALIGN: usize

The alignment of pointer.
Source§

type Init = T

The type for initializers.
Source§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
Source§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
Source§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
Source§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.