pub struct TrajectoryStats {
pub session_count: usize,
pub steps_per_session: Distribution,
pub tool_calls_per_session: Distribution,
pub tokens_in_per_session: Distribution,
pub tokens_out_per_session: Distribution,
pub branched_rate: f64,
pub annotated_rate: f64,
pub errored_rate: f64,
}Expand description
Dataset-level distribution stats for agx corpus --trajectory-stats.
Serialized directly when --json is combined; rendered as a terse
text report otherwise.
Fields§
§session_count: usize§steps_per_session: Distribution§tool_calls_per_session: Distribution§tokens_in_per_session: Distribution§tokens_out_per_session: Distribution§branched_rate: f64Fraction of sessions (0.0–1.0) that contain at least one fork root. Non-zero only when the corpus includes Claude Code edit/resume sessions.
annotated_rate: f64Fraction of sessions with ≥1 stored annotation.
errored_rate: f64Fraction of sessions where any tool_result matched the
is_error_result heuristic.
Trait Implementations§
Source§impl Clone for TrajectoryStats
impl Clone for TrajectoryStats
Source§fn clone(&self) -> TrajectoryStats
fn clone(&self) -> TrajectoryStats
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 TrajectoryStats
impl Debug for TrajectoryStats
Source§impl Default for TrajectoryStats
impl Default for TrajectoryStats
Source§fn default() -> TrajectoryStats
fn default() -> TrajectoryStats
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for TrajectoryStats
impl RefUnwindSafe for TrajectoryStats
impl Send for TrajectoryStats
impl Sync for TrajectoryStats
impl Unpin for TrajectoryStats
impl UnsafeUnpin for TrajectoryStats
impl UnwindSafe for TrajectoryStats
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more