pub struct TemporalFidelityAnalysis {
pub temporal_fidelity_score: f64,
pub seasonality_strength: f64,
pub weekly_autocorrelation: f64,
pub monthly_autocorrelation: f64,
pub period_end_spike_ratio: f64,
pub weekday_cv: f64,
pub total_records: usize,
pub passes: bool,
pub issues: Vec<String>,
}Expand description
Results of temporal fidelity analysis.
Fields§
§temporal_fidelity_score: f64Overall temporal fidelity score (0.0-1.0).
seasonality_strength: f64Maximum of weekly and monthly autocorrelation.
weekly_autocorrelation: f64Autocorrelation at lag 7 (weekly pattern).
monthly_autocorrelation: f64Autocorrelation at lag 30 (monthly pattern).
period_end_spike_ratio: f64Ratio of mean(last 5 days of month) to mean(rest of month).
weekday_cv: f64Coefficient of variation of counts across weekday bins.
total_records: usizeTotal number of records analyzed.
passes: boolWhether the analysis passes all thresholds.
issues: Vec<String>Issues found during analysis.
Trait Implementations§
Source§impl Clone for TemporalFidelityAnalysis
impl Clone for TemporalFidelityAnalysis
Source§fn clone(&self) -> TemporalFidelityAnalysis
fn clone(&self) -> TemporalFidelityAnalysis
Returns a duplicate of the value. Read more
1.0.0 · 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 TemporalFidelityAnalysis
impl Debug for TemporalFidelityAnalysis
Source§impl<'de> Deserialize<'de> for TemporalFidelityAnalysis
impl<'de> Deserialize<'de> for TemporalFidelityAnalysis
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 TemporalFidelityAnalysis
impl RefUnwindSafe for TemporalFidelityAnalysis
impl Send for TemporalFidelityAnalysis
impl Sync for TemporalFidelityAnalysis
impl Unpin for TemporalFidelityAnalysis
impl UnwindSafe for TemporalFidelityAnalysis
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<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
Source§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self from the equivalent element of its
superset. Read moreSource§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self is actually part of its subset T (and can be converted to it).Source§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset but without any property checks. Always succeeds.Source§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self to the equivalent element of its superset.