Skip to content
About
Main content

Summary and key takeaways

The break. Below this mechanism, a system can prove its own state correct. Here, claims are about the world. A check can only fail to refute a claim against an expectation someone wrote down, and a failed check has three meanings: the data is wrong, the world changed, or the check is stale.

Two ladders, complementary blind spots

Referencea stated expectationa second independent system
Strengthcheap, single-pass, localneeds no hypothesis; differences announce themselves
Weaknesssilent about the unimagined; the expectation agescosts data movement; never says which side is wrong; only as good as the independence of the second side
Cost driverscope of state consulted (value, record, , dataset, cross-dataset, cross-time)localisation demanded (count, aggregate, , partition hash, , cell diff)

Mechanisms in one line each:

  1. Check where authority changes (ingress, egress). Test where code changes.
  2. Distributed constraints stay as claims nobody checks: a false claim gives wrong answers silently.
  3. Type checking is free because decoding is not optional. Its ceiling is form, not existence.
  4. with four meanings should become explicit values, so it can be counted.
  5. A cross-dataset check has a false-alarm floor equal to the asynchrony of its datasets. Escapes: pinned , , pending state.
  6. and volume guard absence. They deserve more authority than content checks.
  7. At data-engineering volumes, p-values measure your row count. Use against a business threshold.
  8. is arithmetic: 12,000 checks × 0.001 = 12 false alarms a day.
  9. Four actions: warn, , block, restate. The level depends on the , but the gate sits at the .
  10. Quarantine turns missing data into biased data, because bad records are never a random sample. Publish the quarantine rate.
  11. A is paid for in advance as spare capacity. Break by partition.
  12. Fuzzy matching is two stages. The cheap stage fixes the ceiling. Transitive clustering collapses at a . Keep merges as a reversible .
  13. Find d differences among n rows with about d · log n bits, not O(n). Use a commutative combiner (sum, not XOR), canonicalise on purpose, and use exact decimals.
  14. Audit as a star around a . Most audits pay for a dual write.
  15. A has complete recall over its own change. regenerate into nothing.
  16. Learned monitors automate thresholds, not detection.
  17. Sampling needs n ≈ −ln(β) / p rows. Sample by exposure (value), not by row.

Three principles that came from the mechanisms:

  • Every threshold is a classifier with two error types. Alert fatigue and silent corruption are one dial.
  • You measure but never recall. Coverage is always overestimated.
  • Every assertion about data is itself data with an owner, a version and a rate of decay.

Three principles from the reconciliation half: a detects but never blames; a cheap prefilter sets the recall ceiling; locating a difference costs d · log n, not n.

Formulas to keep:

FormulaMeaning
≈ detection latency × × consequencewhere checks pay off
n ≈ −ln(β) / psample size to see a defect of prevalence p with confidence 1 − β
catch-up time = (u × T) ÷ (1 − u) for utilization u, stop time Twhy a stop is cheap at 60% and costly at 90%
pairs = n(n − 1) / 2why blocking is needed
k(k − 1)/2 versus k − 1mesh versus star audit

Unresolved: partial-failure semantics and correction propagation have no settled answer.