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§
- Association
Estimate - Borrows exact evidence for subsequent rule/audit use; storage and signed receipts are separate operations. Policy is rechecked before publication.
- Association
Evidence - Missing metadata remains explicit and is passed unchanged to both trust boundaries. Dependence group IDs are declarations, not independence proof.
- Association
Evidence Group - A filtered borrow prevents accidental per-record multiplication in the estimator. The host model must still account for all within-group dependence.
- Association
Hypothesis - Separate binary propositions may coexist; ownership, proximity, care and device operation must use separate caller-selected relation identifiers.
- Association
Model Reference - Association
Request - No person-specific policy is assumed. Even a scientific case without an actor or configured policy needs an affirmative authority decision.
- Binary
LogLikelihoods - Natural logs of joint likelihoods/densities for one group under H and !H. Negative infinity denotes impossible evidence; NaN/+infinity are rejected.
- Entity
Candidate - Opaque candidate reference, not an authenticated identity. Ontology types can denote an animal, instrument, person, physical process, or another kind.
Enums§
- Association
Error - Association
Evidence Kind - Association
Permission - Association
Phase - 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.
- Association
Result - Association
Value - Candidate
Kind - Dependence
Assumption - Unassessed
Reason
Constants§
Traits§
- Association
Authority - 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.
- Calibrated
Association Model - Supplies a separately calibrated prior and joint group likelihoods.
Nonemeans 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.