pub struct BookScaleConfig {
pub window_size: usize,
pub window_overlap: usize,
pub long_chain_threshold: usize,
pub short_chain_threshold: usize,
pub divergence_threshold: f64,
pub performance_drop_threshold: f64,
}Expand description
Configuration for book-scale analysis.
Fields§
§window_size: usizeWindow size for windowed evaluation (tokens)
window_overlap: usizeOverlap between windows
long_chain_threshold: usizeThreshold for “long” chains (mentions)
short_chain_threshold: usizeThreshold for “short” chains (mentions)
divergence_threshold: f64MUC-CEAF divergence threshold for scale issues
performance_drop_threshold: f64Performance drop threshold (windowed → full) for concerno
Trait Implementations§
Source§impl Clone for BookScaleConfig
impl Clone for BookScaleConfig
Source§fn clone(&self) -> BookScaleConfig
fn clone(&self) -> BookScaleConfig
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 BookScaleConfig
impl Debug for BookScaleConfig
Source§impl Default for BookScaleConfig
impl Default for BookScaleConfig
Source§impl<'de> Deserialize<'de> for BookScaleConfig
impl<'de> Deserialize<'de> for BookScaleConfig
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>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for BookScaleConfig
impl RefUnwindSafe for BookScaleConfig
impl Send for BookScaleConfig
impl Sync for BookScaleConfig
impl Unpin for BookScaleConfig
impl UnsafeUnpin for BookScaleConfig
impl UnwindSafe for BookScaleConfig
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
impl<T> ErasedDestructor for Twhere
T: 'static,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> 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>
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