Skip to main content

ArmDelta

Struct ArmDelta 

Source
pub struct ArmDelta {
    pub tool_accuracy: Option<f64>,
    pub loop_avoidance: Option<f64>,
    pub task_completion: Option<f64>,
    pub composite: Option<f64>,
    pub withheld: Option<DeltaWithheld>,
    pub wall_time_speedup: Option<f64>,
    pub completion_token_ratio: Option<f64>,
}
Expand description

Per-axis difference, gglib − raw. Positive means gglib scored higher.

Every axis is Option: an arm-level difference is only meaningful when both arms were measured over the same runs and the same axes. See ArmDelta::withheld, and prefer PairedEffect — which drops the affected pairs instead of diluting everything — whenever it is available.

Fields§

§tool_accuracy: Option<f64>

Tool-accuracy difference. None when Self::withheld is set.

§loop_avoidance: Option<f64>

Loop-avoidance difference.

None unless both arms measured the axis — a difference against an arm that never risked a loop would be arithmetic on a number that was never observed.

§task_completion: Option<f64>

Task-completion difference. None when Self::withheld is set.

§composite: Option<f64>

Composite-score difference, taken over the axes both arms measured.

Each arm’s own ArmScores::composite is renormalized over whichever axes that arm measured, so two arms can carry composites on different scales — an arm with no loop-eligible run divides by 0.6 where an arm with one divides by 0.9. Subtracting those directly measures the scale. The 2026-08-28 eval did exactly that: the raw arm’s free 1.0 on an axis the gglib arm could not be scored on was worth about half the reported gap.

None when Self::withheld is set.

§withheld: Option<DeltaWithheld>

Why the axis differences above are absent, when they are.

§wall_time_speedup: Option<f64>

Per-run wall-time speedup, raw ÷ gglib. Above 1.0 means gglib got through the same work faster.

A ratio rather than a difference, for two reasons: lower is better here, so a plain subtraction would invert this struct’s “positive means gglib did better” convention; and the magnitudes are multiplicative — a 230× gap reads as 230.0, not as -1099737 milliseconds. None when the gglib arm recorded no measured wall time to divide by.

Taken per measured run on both sides. Summed totals put the two arms on different denominators the moment either loses a run, and a run lost to a timeout contributes the timeout rather than nothing: the 2026-08-28 eval reported 0.2× — 84% of which was five stalled runs waiting out a ten-minute deadline — for an arm that was in fact about 1.2× faster on the work it actually did.

§completion_token_ratio: Option<f64>

Per-run completion-token ratio, raw ÷ gglib. Above 1.0 means gglib reached the same outcome on fewer generated tokens. None when either arm generated nothing measurable.

Per measured run for the same reason as Self::wall_time_speedup: the summed form divided one arm’s 63-run total by the other’s 58-run total and reported 1.48× where the per-run figure is 1.36×.

Trait Implementations§

Source§

impl Clone for ArmDelta

Source§

fn clone(&self) -> ArmDelta

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 ArmDelta

Source§

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

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

impl<'de> Deserialize<'de> for ArmDelta

Source§

fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>
where __D: Deserializer<'de>,

Deserialize this value from the given Serde deserializer. Read more
Source§

impl Serialize for ArmDelta

Source§

fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error>
where __S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

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.

§

impl<T> Instrument for T

§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided [Span], returning an Instrumented wrapper. Read more
§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
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> Same for T

Source§

type Output = T

Should always be Self
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 = Infallible

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

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

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.
§

impl<T> WithSubscriber for T

§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a [WithDispatch] wrapper. Read more
§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a [WithDispatch] wrapper. Read more
Source§

impl<T> DeserializeOwned for T
where T: for<'de> Deserialize<'de>,