pub enum WeightingScheme {
Unweighted,
ReplicationWeighted,
CitationWeighted,
Composite,
}Expand description
How candidate findings are weighted when computing consensus.
Unweighted: every matching finding contributes equally. Good for
counting how many independent assertions exist.
ReplicationWeighted: each finding’s weight scales with the
number of successful (or failed) replications referencing it as
target_finding. Failed replications subtract weight; successful
ones add weight. The substrate move that makes well-replicated
claims dominate consensus over freshly-asserted ones.
CitationWeighted: weight scales with provenance.citation_count.
Useful when most findings carry real citation counts; falls back
to unweighted otherwise.
Composite: weighted blend of the three above, currently in
fixed proportions (replication 0.5 + citation 0.3 + base 0.2).
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for WeightingScheme
impl Clone for WeightingScheme
Source§fn clone(&self) -> WeightingScheme
fn clone(&self) -> WeightingScheme
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for WeightingScheme
impl Debug for WeightingScheme
Source§impl<'de> Deserialize<'de> for WeightingScheme
impl<'de> Deserialize<'de> for WeightingScheme
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 WeightingScheme
impl PartialEq for WeightingScheme
Source§fn eq(&self, other: &WeightingScheme) -> bool
fn eq(&self, other: &WeightingScheme) -> bool
self and other values to be equal, and is used by ==.Source§impl Serialize for WeightingScheme
impl Serialize for WeightingScheme
impl Copy for WeightingScheme
impl Eq for WeightingScheme
impl StructuralPartialEq for WeightingScheme
Auto Trait Implementations§
impl Freeze for WeightingScheme
impl RefUnwindSafe for WeightingScheme
impl Send for WeightingScheme
impl Sync for WeightingScheme
impl Unpin for WeightingScheme
impl UnsafeUnpin for WeightingScheme
impl UnwindSafe for WeightingScheme
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.