village-builder

VB-264: Counters and the reduced bands as targets

Status: done (2026-11-10) Priority: 2 Size: S Design ref: docs/gates.md; QUESTIONS.md, VB-261 Goal: VB-261 (docs/gates.md, rows 14, 20 and 21): the counters’ tolerance and the reduced bands’ ranges are targets; the reduced ranges were widened to keep verify green. Acceptance criteria:

Notes

Implementation: tests/counters.js reports each counter as counters/<name> through tests/lib/targets.js (dir max, goal baseline x 1.1); the structure asserts stay. tests/bands.js reports each balance band per seed as bands/<id>/seed<N> (range, never failing) and fails only the invariants band (kind watched). The reduced ranges are gone from tests/lib/bands.js: the reduced run uses the full 2% and 30% (Kim accepted this, VB-261 question 4).

Residuals at HEAD: counters, 0 of 25 out. Bands (reduced run, tiny, 8 years, seeds 3, 7, 11, 42): 0 targets out; hunger deaths 0 on all four seeds, worst hungry household 0.250, 0.167, 0.167, 0.083 (target 0.3), population ratio 1.11 to 1.24, no village emptied. npm test: passes, 2 targets out, both scaling (routeRefresh +0.1147, roundPairs +0.85; VB-263’s, not this task’s). Golden unchanged.