Status: done (2026-11-16) Priority: 2 Size: M Design ref: design.md, Balance loops and targets (The growth budget: The pace, The overshoot, The band); People, households and family records (Marriage, nursing and growth); backlog/VB-405.md Goal: The marriage valve and the pace of growth are reported nightly and asserted nowhere: who waits to marry and for what, at what age people first marry, how many never do, how fast the island grows in each phase, when it passes 1,000, and how far growth swings between decades. Acceptance criteria:
node tools/sim.js ... --report waiting (its own file under tools/, with --help, a line in docs/commands.md): on the day before each moving round, every unmarried pawn of the least age to marry and under 45, not retired, is counted once under the best outcome over every such pawn of the other sex, in this order: too hungry; nobody free; only kin too close; no home for them; only matches the score refuses; the home lacks the means; free to marry. Summed by 20 years, with the living, the servants among those waiting, and the single-person households. It reads the state and the exports of sim/matching (matchRules, kinOk, matchScore) and changes nothing in src/; the research script it starts from is docs/balance/mocks/measure/scripts/marriage-bars.js (VB-405).tests/lib/bands.js), all described or report, none asserted, shown by node tools/bands.js: growth-phase, yearly growth by 20 years and, apart, for the years before and after the first year in which a tenth of the adults of age wait for land (st.demand); year-1000, the first year with 1,000 living, and where the run ends short of it the years it would take at the last 20 years’ rate, printed as arithmetic and marked so; marry-age-f, marry-age-m; never-married; the waiting shares by cause; and growth-swing, the widest difference in yearly growth between two decades of a run (the overshoot’s measure: design.md, The growth budget, The overshoot).FULL: populous small, founders small, heirs small) report the new probes at once. Two runs on the medium map are added to FULL, four seeds each (3, 7, 11, 42): populous-medium, 30 years, which measures the year 1,000 is reached, and founders-medium, 50 years, where it is arithmetic. If the night’s bands then run too long for the nightly workflow (say what was seen, as a description: others share the machine), the two are left out of the default and run by --runs populous-medium,founders-medium, and a line in docs/commands.md says at what cadence.backlog/VB-485.md; VB-571 makes the steadier measure).tests/tiny.js): one pawn under each cause in turn; a test of the probes on a hand-made list of samples (the phase split, the year of 1,000 found and not found, the swing). tests/review-tools.js or the suite that checks tools’ --help knows the report; a line in tests/suites.js for the new test.Noted by VB-405, 16 November 2026.
Impact. Tools and tests only; nothing under src/ changes. The new tools/waiting.js reads the state and the exports of sim/matching
(matchRules, kinOk, matchScore) and of sim/records. tests/lib/bands.js takes the census and the year’s marriage facts in every
full and reduced run (two new fields on each yearly sample, waiting and facts). It also gains the probes and the described floors of the
group growth, and two runs on the medium map. A probe may now return {value, note} (the arithmetic year of 1,000), and
tools/bands.js prints and records the note. A run with weekly is left out of the default plan, and tools/nightly.js runs those on
Sundays. There is no new state field, loop in the simulation or coupling. A seed is the same run with or without the census:
tests/waiting.js compares the hash of the state on a tiny village, and populous small seed 3 gave the same yearly
births, marriages, living and invariants over 11 years with the census and without it.
Implementation.
tools/waiting.js: census(VB, st) is the census of the pool. The pool is everyone alive, unmarried, not retired, of the least age to
marry and under 45. Each member counts once, under the best outcome of a pair over every member of the other sex:
pairOutcome judges hungry, kin, home, score, means and free, as the round’s rules do, with the score’s noise at its mean. Nobody
free is counted when no member of the other sex is in the pool. yearFacts gives the year’s first marriages by sex, those who reached
45 and those of them never married by then, the marriages, the round’s putOff events (summed over their n), the living, the
households, the single-person households and the adults of age waiting for land. byPeriods sums the years by 20. report is the
--report waiting of tools/sim.js, which cuts each year at the census.tests/lib/bands.js: the samples carry waiting and facts. There are 19 new described floors, all reportOnly, so none is asserted:
growth-phase-1-20, -21-40, -41-60 and -61-80 (those a run reaches); growth-phase-free and growth-phase-scarce (before
the land-scarce year, and from it on); land-scarce-year;year-1000, with the note arithmetic: ... where it is worked out; growth-swing;marry-age-f, marry-age-m, never-married, marriages-per-1000;waiting-<cause>, one for each of the seven causes.populous-medium (30 years) and founders-medium (50 years), seeds 3, 7, 11 and 42, report only this group, beside growth and the
population ratio.
tests/waiting.js (verify tier). On a constructed tiny village it puts one pair under each cause in turn and checks each against
matchBar’s reason where the bar has one. It also checks that every pawn counts under its best outcome, that the census and the facts
change nothing, that the report’s year matches the plain run’s, and the facts on a hand-made state. On a hand-made list of samples it
checks the probes: the phase split, the scarce year never reached, too few adults to read, the first year left out, the year of 1,000
found and worked out (and never reached at no growth), the swing, the marriage ages, the never married, the rate and the waiting
shares. tests/review-tools.js checks both --help texts.Decisions (Deciding without Kim; the close calls are decision notes):
matchBar has it. A pawn whose every match is hungry therefore counts as hungry.
The widowed weight comes from wasWidowed, as in matchBar; the research script passed false. An open offer is not a cause of its
own, since the round leaves those pawns out.st.demand is read at the year’s end.
A year with fewer than 20 such adults is not read: one founders’ servant waiting is a tenth of ten. Year 1 is not read either, because
its round sorts out the placed start (populous medium seed 7: 47 of 360 adults waited at the end of year 1, 7 at the end of year 2).First values (descriptions, not targets; hungry household-days are not used):
| Run | Seeds 3 / 7 / 11 / 42 |
|---|---|
| populous small, 30 years: yearly growth | 1.98 / 2.03 / 1.91 / 2.10% (years 1 to 20: 1.86 / 1.81 / 2.01 / 1.98%; years 21 to 30: 2.24 / 2.46 / 1.71 / 2.33%) |
| land scarce (a tenth of adults waiting) | never: at year 30, 4.8 / 3.3 / 3.0 / 1.6% of adults wait |
| year 1,000 (arithmetic, at years 11 to 30’s growth) | 56 / 50 / 61 / 52 |
| widest swing between decades | 0.55 / 0.89 / 0.32 / 0.60 points |
| first marriage, women / men | 20.4 / 21.2, 19.8 / 21.3, 21.1 / 21.4, 20.4 / 21.4 |
| never married at 45 | 0 of 41, 1 of 19, 3 of 46, 3 of 38 |
| marriages a year per 1,000 | 12.1 / 12.4 / 12.9 / 13.8 |
| put off for the means (the round’s count), years 1 to 20 + 21 to 30 | 16 + 1, 9 + 0, 12 + 7, 13 + 7 |
| waiting (3,245 pawn-rounds pooled) | free to marry 95.4%, the score 3.1%, the means 1.1%, hungry 0.3%; kin, nobody free and no home about 0; servants 11% of those counted |
| founders small, 50 years: yearly growth | 1.40 / -0.21 / 3.14 / 2.91% |
| year 1,000 (arithmetic, at years 31 to 50’s growth) | 322 / never (-2.84%) / 122 / 148 |
| widest swing between decades | 6.1 / 10.2 / 6.5 / 7.6 points (a pool of 10 to 50) |
| first marriage, women / men | 22.1 / 21.3, 18.4 / 21.9, 20.3 / 22.1, 20.5 / 20.9 |
| never married at 45 | 0 of 1, 3 of 3, 0 of 3, 0 of 4 |
| waiting (413 pawn-rounds pooled) | nobody free 67.6%, free to marry 24.5%, kin 6.1%, no home 1.9%, the score, the means and hungry 0 |
The founders pattern matches VB-405’s 80 years: the pool holds the island, the means never bind, and women marry at about 20 to 22. In
populous nearly everyone of the pool has some pair the rules allow on the eve. The census, which takes the best over every pawn of the
other sex, cannot see what the round does with them: one partner each, by score and village, goAhead, and the means of the one home
chosen. A follow-up task (task note) reports what became of those free on the eve.
Medium runs, for the record. Populous medium, 30 years: growth 1.97 / 1.57 / 2.00 / 1.85%; 1,000 living reached in years 12 / 14 / 8 / 13 (measured); women first married at 19.9 to 20.4; never married 0 to 3.7%; 13.1 to 13.9 marriages per 1,000; free 98.5% of 6,660. Founders medium, 50 years: growth 1.40 / 2.76 / 2.71 / 3.19%; year 1,000 worked out at 322 / 269 / 222 / 156.
Validation. node tests/waiting.js; npm test; npm run verify on the merged result; node tools/bands.js --help and the plan
(default: the 22 runs as before; --runs populous-medium,founders-medium: those 8). Seen on the run’s branch and not caused here: the
invariants band is out on populous small (37 to 51 violations a run: a trust’s holder not living with its trustee from year 10, on
populous seed 3) and on founders seed 11 (a journey’s pawn left in phase go). Populous seed 3 gives the same failures without the census.
tests/review-tools.js fails on its first check (w.tended, src/sim/spread.js, has no line in tools/stocks.js) before it reaches the new one.
Both are task notes.