pub struct ConsensusResult {
pub target: String,
pub target_assertion: String,
pub n_findings: usize,
pub consensus_confidence: f64,
pub credible_interval_lo: f64,
pub credible_interval_hi: f64,
pub constituents: Vec<ConsensusConstituent>,
pub weighting: String,
pub filter: Option<AggregateFilter>,
}Expand description
Derived consensus over claim-similar findings.
Fields§
§target: Stringvf_<id> of the target finding the consensus is anchored to.
target_assertion: StringThe target finding’s assertion text, for display.
n_findings: usizeNumber of findings (including the target) that contributed.
consensus_confidence: f64Weighted-mean confidence on [0, 1].
credible_interval_lo: f6495% credible interval over the weighted distribution.
credible_interval_hi: f64§constituents: Vec<ConsensusConstituent>Each constituent finding with its weight + adjusted score.
weighting: StringName of the weighting scheme used.
filter: Option<AggregateFilter>v0.38.2: filter applied to neighbor findings before similarity
computation. None (the v0.35–v0.38.1 default) means no
filter; everything similar contributes.
Trait Implementations§
Source§impl Clone for ConsensusResult
impl Clone for ConsensusResult
Source§fn clone(&self) -> ConsensusResult
fn clone(&self) -> ConsensusResult
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 ConsensusResult
impl Debug for ConsensusResult
Source§impl<'de> Deserialize<'de> for ConsensusResult
impl<'de> Deserialize<'de> for ConsensusResult
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 ConsensusResult
impl RefUnwindSafe for ConsensusResult
impl Send for ConsensusResult
impl Sync for ConsensusResult
impl Unpin for ConsensusResult
impl UnsafeUnpin for ConsensusResult
impl UnwindSafe for ConsensusResult
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