Status: done (2026-11-22)
Priority: 2
Size: M
Arch: crops
Phase: wrap-up
Design ref: Goods and the farming year, Crops and rotations (design.md, section 8)
Goal: The arch as a whole against design.md, Crops and rotations.
Acceptance criteria:
Long runs (founders and populous small, the bands’ seeds; heirs): rations by crop and source against need; hungry household-years; fields, fallow and soil a farm; the share of farms by rotation over time and the years a crop takes to cross to the other village in founders; whether a crop was lost to the island.
The hedge: the correlation of the crops’ harvests, and hungry household-years of farms with one crop against farms with two, in the same villages and years.
The labour calendar: hours by season and the idle share, before and after (VB-333’s measure), and whether the harvest is still the peak.
Cost (Rules for cost, 9): the arch’s work a game day at medium-ref and a living pawn-day at small-y40 over small-y5, with tools/bench.js; its line of the budget named.
Bands in tests/lib/bands.js: a report for the full runs and, where the reduced run shows it, an assert. Proposed tuning as questions in QUESTIONS.md, with the peas’ numbers and each crop’s reading of the weather first: none has a source. What VB-048 (the farm’s food balance) and VB-160 (yield over time) should take from it.
Cost: none.
Notes / questions:
11 Nov 2026: written by the plan VB-345. Kim read and accepted the plan the same day (QUESTION_ARCHIVE.md, VB-345): its numbers are design.md’s starting values, Agreed.
22 Nov 2026 (VB-356): measured by a new tool, node tools/crops.js (the bands’ full runs, sampled at summer’s start and the year’s end; --out/--load), and the hours report’s new season table (tools/hours.js). Numbers in the PR. Bands crops-lost (a target, 0..0: no crop the island starts with is lost; asserted on the reduced run, 0 on its 4 seeds) and mixed-farms (described: the share of farms sowing two crops or more).
Long runs: made/need (sums) populous 1.53, founders 1.85, heirs 2.52; hungry household-years (>30% of days) 24 of 11,124, 17 of 3,206, 0 of 411. Three courses fall 50% to 29% of populous farms over 30 years, barley alone 21% to 50% (founders 40% to 70%): new farms take barley alone (QUESTIONS.md, VB-356 1). Rye crossed to the founders’ lone village on 4 of 15 seeds (years 23 to 44); peas lost to the island on heirs 42 and founders 15 (emptied), rye on founders 9.
The hedge: barley-rye yield correlation 0.15 / -0.03 / -0.13 (populous, founders, heirs); barley-peas 0.10 / 0.00. One-crop against two-crop farms in the same village-years: hungry 0.06% against 0.04%, 0.43% against 0. Barley-only farms carry the hunger (0.96% against 0.03% of populous farm-years).
Labour (year 3, all farms; VB-333 measured 3-field farms only): the fields’ hours peak in autumn in every group (populous 7: spring 76, summer 104, autumn 146, winter 11 a household), summer is the busiest season of all jobs; idle on 3 fields populous 7 863 to 737 h, 42 1,249 to 832. No threshing for winter is proposed.
Fixed (a defect the runs found, at its cause): a reaping that ended after its crop was lost to the frost or left standing reaped it all the same (food from nothing), and a next course of fallow gave a NaN load (populous small seed 7, year 36; the small-y40 fixture failed on it). sim/fields reaped reaps a ripe field only; tests/rye.js checks it. No change on populous 4 seeds over 15 years.
Opened VB-1481 (P1): founders seed 5 throws at year 31, a marriage handing a farm on to a dissolved home. Founders growth median 0.8% a year (target 1%; 21 Nov’s night 0.1%): not a collapse, not this arch’s; starvation is the first cause of death on many founders seeds.
Close calls: crops-lost judged as a target, not described (the design’s backup farm is there to keep the peas); the proposed tuning went both to docs/tuning.md (rows, as its rule asks) and to QUESTIONS.md (as this task asks), the questions naming the rows.
Cost: the arch has no system line of its own; its work is in daily life and births (sim/fields’ day, the frost, the reaping) and meetings (the usual rotation). Counters: tilthRead 0.12 a living pawn-day at small-y5 and medium-ref, small-y40 over small-y5 0.50 (tests/history.js; line 1.25); rotationWalk 0.03 a living pawn-day at medium-ref (a village’s farms once a year), outside history’s window. Bench (alone on the machine, medium-ref now year 26): 486 ms/day, daily life 66.9 ms/day.