Skip to main content

evidence_summary

Function evidence_summary 

Source
fn evidence_summary(groups: &[Group]) -> HistogramEvidence
Expand description

The evidence a fold or a merge has to report, once, wherever it finishes.

A poisoned point suppresses its own reconciliation bit: the point answers nothing, so reporting that its bounds were reconciled would report a reconciliation of an answer that is not there.

The reset hints are per point too: a point whose samples report a reset and no reset contradicts itself – Prometheus skips such a point – while two points that each report one of the two do not contradict each other, and neither does one series whose hint changes from one point to the next. The summary therefore ORs the per-point collision rather than the two bits themselves: a sum by (job) whose job a only ever resets and whose job b never does is two ordinary points, and a point cannot be both poisoned and in contradiction.

Everything else is reported if any point recorded it, which is what makes the message set the same whichever order the partitions were merged in.