pub struct HypothesisEdge {
pub edge_id: String,
pub source_edit: String,
pub target_effect: String,
pub kind: HypothesisEdgeKind,
pub status: HypothesisStatus,
pub confidence: f64,
pub evidence_ids: Vec<String>,
pub contradiction_ids: Vec<String>,
pub verification_status: VerificationState,
}Expand description
A typed edge linking an edit operation to an observed effect.
This is the primary hypothesis structure for Phase 5. Edge: EditOpSignature -> LocatedEffect with a typed kind.
Fields§
§edge_id: StringUnique edge identifier.
source_edit: StringSource: the edit operation signature (serialized).
target_effect: StringTarget: the observed effect (serialized).
kind: HypothesisEdgeKindWhat kind of causal relationship this edge represents.
status: HypothesisStatusCurrent status of this edge.
confidence: f64Confidence in this edge (0.0 to 1.0, heuristic for Phase 5).
evidence_ids: Vec<String>Bundle IDs that provide evidence for this edge.
contradiction_ids: Vec<String>Bundle IDs that contradict this edge.
verification_status: VerificationStateWhether this edge has been verified by a follow-up experiment.
Trait Implementations§
Source§impl Clone for HypothesisEdge
impl Clone for HypothesisEdge
Source§fn clone(&self) -> HypothesisEdge
fn clone(&self) -> HypothesisEdge
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 HypothesisEdge
impl Debug for HypothesisEdge
Source§impl<'de> Deserialize<'de> for HypothesisEdge
impl<'de> Deserialize<'de> for HypothesisEdge
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 HypothesisEdge
impl RefUnwindSafe for HypothesisEdge
impl Send for HypothesisEdge
impl Sync for HypothesisEdge
impl Unpin for HypothesisEdge
impl UnsafeUnpin for HypothesisEdge
impl UnwindSafe for HypothesisEdge
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