Skip to main content

Module association

Module association 

Source
Expand description

Bounded association estimates for generic entities and ontology relations.

Existing identity-fabric enumeration measures anchor coverage, and epistemic certainty bytes express assertion strength; neither is a calibrated probability. This path uses an explicit host model and preserves estimates as inferred beliefs. No address, NFC identifier, or posterior authenticates an entity or proves ownership, custody, proximity, or forensic integrity.

Structs§

AssociationEstimate
Borrows exact evidence for subsequent rule/audit use; storage and signed receipts are separate operations. Policy is rechecked before publication.
AssociationEvidence
Missing metadata remains explicit and is passed unchanged to both trust boundaries. Dependence group IDs are declarations, not independence proof.
AssociationEvidenceGroup
A filtered borrow prevents accidental per-record multiplication in the estimator. The host model must still account for all within-group dependence.
AssociationHypothesis
Separate binary propositions may coexist; ownership, proximity, care and device operation must use separate caller-selected relation identifiers.
AssociationModelReference
AssociationRequest
No person-specific policy is assumed. Even a scientific case without an actor or configured policy needs an affirmative authority decision.
BinaryLogLikelihoods
Natural logs of joint likelihoods/densities for one group under H and !H. Negative infinity denotes impossible evidence; NaN/+infinity are rejected.
EntityCandidate
Opaque candidate reference, not an authenticated identity. Ontology types can denote an animal, instrument, person, physical process, or another kind.

Enums§

AssociationError
AssociationEvidenceKind
AssociationPermission
AssociationPhase
Publication results are in exact hypothesis order. Combined with the other authority arguments, they describe every proposed output field except the publication decision that the authority is about to issue.
AssociationResult
AssociationValue
CandidateKind
DependenceAssumption
UnassessedReason

Constants§

MAX_ASSOCIATION_EVIDENCE
MAX_ASSOCIATION_HYPOTHESES

Traits§

AssociationAuthority
Must check current host/Qualia policy, evidence provenance and appropriate use, candidate/relation scope, model calibration/applicability, and any independence justification. Context citations alone are not permission. Evaluate decisions bind the input scope. Publish decisions must bind that scope, the evaluation decision, and every exact proposed result; inspecting only the inputs is insufficient. Returned citations refer to the authority’s phase-specific records, not cryptographic receipts created by this module. Calls must be bounded, allocation-free and deterministic for the snapshot.
CalibratedAssociationModel
Supplies a separately calibrated prior and joint group likelihoods. None means outside model coverage, never neutral evidence or a default prior. The prior must not already incorporate observations in the evidence slice. Implementations must be bounded, allocation-free and deterministic; this boundary does not train, calibrate, authenticate or sandbox a host model.

Functions§

estimate_associations
Fixed stack scratch and deterministic group-ID order. Every failure leaves the entire caller output unchanged; success writes only the returned prefix. The host authority must serialize revocation against Evaluate/Publish if its policy requires stronger atomicity than these two checks can provide.