pub struct Measurement {
pub session: String,
pub messages: usize,
pub middle_chars: usize,
pub handoff_chars: usize,
pub budget_chars: usize,
pub compile_micros: u128,
pub passes: usize,
pub identical: bool,
pub faithfulness: Faithfulness,
pub retention: Option<Retention>,
}Expand description
Everything one run of the harness measured.
Fields§
§session: String§messages: usizeRows in the middle window — the ones the handoff stands in for.
middle_chars: usizeCharacters of transcript the handoff replaces (content plus tool-call arguments).
handoff_chars: usize§budget_chars: usize§compile_micros: u128§passes: usize§identical: boolFalse when two compiles of the same input differ — a defect, not a measurement.
faithfulness: Faithfulness§retention: Option<Retention>Only compare fills this: verify answers a question about the document, not about how
much of the transcript survived into it.
Implementations§
Trait Implementations§
Source§impl Clone for Measurement
impl Clone for Measurement
Auto Trait Implementations§
impl Forget for Measurement
impl Freeze for Measurementwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<Violation>: Freeze,
PhantomData<String>: Freeze,
impl Move for Measurement
impl RefUnwindSafe for Measurement
impl Send for Measurementwhere
RawVecInner: Send,
impl Sync for Measurementwhere
RawVecInner: Sync,
impl Unpin for Measurement
impl UnsafeUnpin for Measurementwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<Violation>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
impl UnwindSafe for Measurementwhere
RawVecInner: UnwindSafe,
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