Skip to main content

EvaluationThresholds

Struct EvaluationThresholds 

Source
pub struct EvaluationThresholds {
Show 17 fields pub benford_p_value_min: f64, pub benford_mad_max: f64, pub amount_ks_p_value_min: f64, pub temporal_correlation_min: f64, pub balance_tolerance: Decimal, pub subledger_reconciliation_rate_min: f64, pub document_chain_completion_min: f64, pub ic_match_rate_min: f64, pub referential_integrity_min: f64, pub duplicate_rate_max: f64, pub completeness_rate_min: f64, pub format_consistency_min: f64, pub anomaly_rate_min: f64, pub anomaly_rate_max: f64, pub label_coverage_min: f64, pub train_ratio_min: f64, pub graph_connectivity_min: f64,
}
Expand description

Pass/fail thresholds for evaluation metrics.

Fields§

§benford_p_value_min: f64

Minimum p-value for Benford’s Law chi-squared test.

§benford_mad_max: f64

Maximum Mean Absolute Deviation for Benford’s Law.

§amount_ks_p_value_min: f64

Minimum p-value for amount distribution KS test.

§temporal_correlation_min: f64

Minimum correlation for temporal patterns.

§balance_tolerance: Decimal

Maximum balance sheet imbalance.

§subledger_reconciliation_rate_min: f64

Minimum subledger reconciliation rate.

§document_chain_completion_min: f64

Minimum document chain completion rate.

§ic_match_rate_min: f64

Minimum intercompany match rate.

§referential_integrity_min: f64

Minimum referential integrity rate.

§duplicate_rate_max: f64

Maximum duplicate rate.

§completeness_rate_min: f64

Minimum completeness rate.

§format_consistency_min: f64

Minimum format consistency rate.

§anomaly_rate_min: f64

Minimum anomaly rate.

§anomaly_rate_max: f64

Maximum anomaly rate.

§label_coverage_min: f64

Minimum label coverage.

§train_ratio_min: f64

Minimum train ratio.

§graph_connectivity_min: f64

Minimum graph connectivity.

Implementations§

Source§

impl EvaluationThresholds

Source

pub fn strict() -> Self

Create strict thresholds for rigorous validation.

Source

pub fn lenient() -> Self

Create lenient thresholds for exploratory validation.

Trait Implementations§

Source§

impl Clone for EvaluationThresholds

Source§

fn clone(&self) -> EvaluationThresholds

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl Debug for EvaluationThresholds

Source§

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

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

impl Default for EvaluationThresholds

Source§

fn default() -> Self

Returns the “default value” for a type. Read more
Source§

impl<'de> Deserialize<'de> for EvaluationThresholds

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 EvaluationThresholds

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.

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<SS, SP> SupersetOf<SS> for SP
where SS: SubsetOf<SP>,

Source§

fn to_subset(&self) -> Option<SS>

The inverse inclusion map: attempts to construct self from the equivalent element of its superset. Read more
Source§

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

Use with care! Same as self.to_subset but without any property checks. Always succeeds.
Source§

fn from_subset(element: &SS) -> SP

The inclusion map: converts self to the equivalent element of its superset.
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.
Source§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

Source§

fn vzip(self) -> V

Source§

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