pub struct CausalHypothesis {
pub hypothesis_id: String,
pub cause_signature: String,
pub effect_signature: String,
pub confidence: f64,
pub status: HypothesisStatus,
pub support_count: u64,
pub contradiction_count: u64,
}Expand description
A causal hypothesis linking an edit pattern to an observed effect.
Legacy structure. Prefer HypothesisEdge for new code.
Fields§
§hypothesis_id: StringUnique hypothesis identifier.
cause_signature: StringThe edit signature that is hypothesized to cause the effect.
effect_signature: StringThe effect signature observed.
confidence: f64Confidence in this hypothesis (0.0 to 1.0).
status: HypothesisStatusCurrent status of the hypothesis.
support_count: u64Number of supporting observations.
contradiction_count: u64Number of contradicting observations.
Trait Implementations§
Source§impl Clone for CausalHypothesis
impl Clone for CausalHypothesis
Source§fn clone(&self) -> CausalHypothesis
fn clone(&self) -> CausalHypothesis
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 CausalHypothesis
impl Debug for CausalHypothesis
Source§impl<'de> Deserialize<'de> for CausalHypothesis
impl<'de> Deserialize<'de> for CausalHypothesis
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 CausalHypothesis
impl RefUnwindSafe for CausalHypothesis
impl Send for CausalHypothesis
impl Sync for CausalHypothesis
impl Unpin for CausalHypothesis
impl UnsafeUnpin for CausalHypothesis
impl UnwindSafe for CausalHypothesis
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