pub struct ConsensusResult {
pub consensus: String,
pub consensus_verdict: Verdict,
pub confidence: f64,
pub score: f64,
pub agent_count: usize,
pub votes: BTreeMap<AgentName, Verdict>,
pub majority_summary: String,
pub dissent: Vec<Dissent>,
pub findings: Vec<DedupFinding>,
pub conditions: Vec<Condition>,
pub recommendations: BTreeMap<AgentName, String>,
}Expand description
Result of the consensus determination.
Fields§
§consensus: StringClassification label (e.g., “STRONG GO”, “GO WITH CAVEATS”).
consensus_verdict: VerdictFinal verdict enum.
confidence: f64Computed confidence, rounded to 2 decimals.
score: f64Raw normalized score.
agent_count: usizeNumber of agents that contributed.
votes: BTreeMap<AgentName, Verdict>Per-agent verdicts.
majority_summary: StringJoined summaries from majority side.
dissent: Vec<Dissent>Dissenting agent details.
findings: Vec<DedupFinding>Deduplicated findings sorted by severity (Critical first).
conditions: Vec<Condition>Conditions from Conditional agents.
recommendations: BTreeMap<AgentName, String>Per-agent recommendations.
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 · 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