Expand description
Displacement-spread consistency voting (docs/ARCHITECTURE.md §七): a bounded ring of recent
analysis-resolution frames, one region-local box-gray per moving region, compared against several
partners whose world displacement clears dmin. This is the stateful solve()-side half of the
world-consistency evidence; consistency.rs consumes the finalised verdicts during rendering.
Every rule here — box geometry, interior mask, partner selection (nearest two, farthest, fewest-pairs per band), the ±radius local search, saturating score/comparison counters, the 75 % ratio threshold and the three-way verdict — is the measured behaviour of the historical adapter; see the invariants in ARCHITECTURE.md §十 before changing any of them.
Structs§
- Box
- Analysis-resolution box, in this region’s own local coordinates, bounding the region rect with a 1-cell margin.
- Finalized
- Frame
- Layer
- One region’s voting state in one ring frame.
- Region
Slot - Per-run, per-moving-region constants.
- Ring
- Verdict
- Finalised verdict for one region of one frame; both bitsets are LSB-first over
box_.w × box_.h.