village-builder

VB-633: Who waits and why: the marriage valve’s report, and the growth bands

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:

Noted by VB-405, 16 November 2026.

Notes (VB-633, 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.

Decisions (Deciding without Kim; the close calls are decision notes):

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.