pub struct RunSummary {Show 15 fields
pub symbols: usize,
pub original_tokens: usize,
pub modeled_bits: f64,
pub modeled_payload_bytes: f64,
pub modeled_bits_per_token: f64,
pub modeled_bits_per_byte: Option<f64>,
pub actual_compressed_bytes: Option<u64>,
pub actual_bits_per_byte: Option<f64>,
pub vocab_bytes: u64,
pub prior_archive_bytes: u64,
pub initial_prior_sha256: Option<String>,
pub prior_source_depth: usize,
pub prior_initialization_kind: Option<String>,
pub prior_block_mapping: Option<Vec<usize>>,
pub elapsed_seconds: f64,
}Expand description
Metrics reported upon completion of a neural coding or estimation run.
Fields§
§symbols: usizeTotal tokens processed (including batch padding).
original_tokens: usizeUnpadded original token count.
modeled_bits: f64Cumulative modeled cross-entropy bits.
modeled_payload_bytes: f64Theoretical payload bytes (modeled_bits / 8.0).
modeled_bits_per_token: f64Average modeled bits per token.
modeled_bits_per_byte: Option<f64>Average modeled bits per original source byte (if raw_bytes was supplied).
actual_compressed_bytes: Option<u64>Actual compressed artifact size in bytes (None in EstimateOnly mode).
actual_bits_per_byte: Option<f64>Actual compressed bits per original source byte (None unless coding and raw_bytes set).
vocab_bytes: u64Configured vocabulary size in bytes.
prior_archive_bytes: u64Prior archive file size in bytes (0 if uninitialized).
initial_prior_sha256: Option<String>Prior archive SHA-256 hex digest if loaded.
prior_source_depth: usizePrior source layer count (0 if uninitialized).
prior_initialization_kind: Option<String>Prior initialization kind string ("depth-growth" / "loop-untying").
prior_block_mapping: Option<Vec<usize>>Prior block mapping if loaded.
elapsed_seconds: f64Total wall-clock seconds elapsed across all resumed segments.
Trait Implementations§
Source§impl Clone for RunSummary
impl Clone for RunSummary
Source§impl Debug for RunSummary
impl Debug for RunSummary
Source§impl<'de> Deserialize<'de> for RunSummary
impl<'de> Deserialize<'de> for RunSummary
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl PartialEq for RunSummary
impl PartialEq for RunSummary
Source§impl Serialize for RunSummary
impl Serialize for RunSummary
impl StructuralPartialEq for RunSummary
Auto Trait Implementations§
impl Freeze for RunSummary
impl RefUnwindSafe for RunSummary
impl Send for RunSummary
impl Sync for RunSummary
impl Unpin for RunSummary
impl UnsafeUnpin for RunSummary
impl UnwindSafe for RunSummary
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
impl<T> ErasedDestructor for Twhere
T: 'static,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
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> ⓘ
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> ⓘ
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