Skip to main content

Module reasoning

Module reasoning 

Source
Expand description

Transport-neutral contracts for evidence-driven reasoning.

These types deliberately contain no scheduling or detection behavior. A scanner records Evidence, materializes Fact values, evaluates Hypothesis values, and connects KnowledgeEntity values through KnowledgeRelation edges in higher-level crates.

Structs§

BayesianBelief
Deterministic Bayesian state for one hypothesis.
BayesianEvidence
Likelihoods contributed by one immutable evidence record.
BayesianUpdate
One explainable step in a posterior calculation.
ConfidenceScore
An ordinal evidence score represented in basis points.
DerivationAlgorithm
Stable identity of the transformation that produced a derived evidence record.
EntityId
Stable identifier for an entity in the knowledge graph.
Evidence
Immutable observation recorded by discovery or execution code.
EvidenceContribution
Explainable weighted evidence attached to a hypothesis.
EvidenceDerivation
The exact immutable evidence record(s) a derived record was computed from.
EvidenceId
Unique identifier for one immutable evidence record.
EvidenceSource
Provenance identifying who produced an evidence record and how.
Fact
Materialized claim backed by at least one evidence record.
Hypothesis
Explainable claim whose belief is maintained by a reasoning engine.
KnowledgeEntity
A typed node in the future knowledge graph.
KnowledgePredicate
Namespaced predicate used by evidence, facts, and hypotheses.
KnowledgeRelation
Evidence-backed directed edge between two knowledge entities.
Probability
A bounded probability value represented as fixed-point parts per million.
RelationId
Unique identifier for one knowledge-graph relation.

Enums§

BeliefWrite
Result of adding evidence to a Bayesian belief.
ContributionDirection
Direction in which evidence affects a hypothesis.
EntityKind
Entity categories understood by the knowledge graph.
EvidenceKind
Broad evidence category used for routing and policy.
EvidenceOrigin
Whether an evidence record was directly observed or derived from other records.
EvidenceValue
Typed value carried by evidence and claims.
HypothesisState
Lifecycle state for an evaluated hypothesis.
HypothesisStrength
Rule-assigned evidence strength for a hypothesis.
ReasoningModelError
Validation errors for decision-engine domain contracts.
RelationKind
Relationship categories understood by the knowledge graph.

Constants§

MAX_DERIVATION_ALGORITHM_BYTES
Maximum byte length of a derivation algorithm identifier.
MAX_DERIVATION_PARENTS
Maximum distinct parent records one derived evidence record may reference.