Expand description
v0.35: Consensus aggregation — the inference layer.
Given a target finding, the kernel can find other findings making similar claims, weight them by evidence quality (replication count, review state, time decay), and return a consensus confidence with a credible interval.
This is what turns Vela from “a database of claims” into “a reasoning surface over claims.” Other parts of the substrate describe what’s believed (findings) and what’s expected (predictions). This module describes what the field collectively holds — derived deterministically from canonical state, never stored.
Doctrine: aggregation is a derived view, not a kernel object. Same input frontier → same consensus result, byte-for-byte.
Structs§
- Aggregate
Filter - v0.38.2: filter constraints for consensus aggregation. Consensus computed without a filter blends all claim-similar findings — fine when “what does the field hold?” is the question, but wrong when the question is specifically “what does the field hold as causation?” or “what’s the consensus among RCT-grade evidence?”
- Consensus
Constituent - One finding’s contribution to a consensus result.
- Consensus
Result - Derived consensus over claim-similar findings.
Enums§
- Weighting
Scheme - How candidate findings are weighted when computing consensus.
Functions§
- consensus_
for - Compute consensus over findings similar to
target_id. - consensus_
for_ with_ filter - v0.38.2: same as
consensus_for, with a structuredAggregateFilterapplied to candidate findings before similarity is checked. Lets callers ask sharper questions: “what’s the consensus as intervention?” or “consensus among RCT-grade evidence only?”