Status: done (2026-11-13) Priority: 2 Size: S Arch: animals Phase: implement Design ref: Goods and the farming year (Seed). QUESTION_ARCHIVE.md, VB-284, question 1 Goal: fieldsWanted (src/sim/fields.js) counts the gross yield: FIELDS.want 1.1 of the need at 75 a field, of which 25 is seed, so the plan nets 0.73 of the need. A formula that computes something other than it says is a fix, not tuning (AGENTS.md, Deciding without Kim, 3). Acceptance criteria:
fieldsWanted is ceil(FIELDS.want × rations / (FIELDS.expect × fieldYield − seedPerField)), still capped by 2 fields a hand; FIELDS.want, FIELDS.expect and the yield keep their values.docs/bench/food-balance.md: populous small, seeds 3, 7, 11, 42, 15 and 30 years; founders small at four seeds): fields a household, the farms’ share of need in an ordinary year, land taken and when villages fill (FIELDS.room), hours in the fields, crops lost to frost (VB-333), hungry household-years, and growth by tools/bands.js. The golden file and the field jobs’ counters are re-recorded and listed.
Notes:AGENTS.md, Deciding without Kim); the question and its numbers are in QUESTION_ARCHIVE.md as the Design ref names.fieldsWanted divides by FIELDS.expect * CROPS.barley.yield - CROPS.barley.seed (75 - 25 = 50 a field); FIELDS.want, FIELDS.expect, yield unchanged. tests/fieldswanted.js (verify): 2 adults + 2 children 4 fields, a lone adult 2, the hands still cap it. tests/trust.js picked a wife who might be a herd’s keeper (a herd’s herder is set again only at the next round, so the invariant failed straight after the marriage); the case changed with the new field counts, so the test now excludes herders as wife.tools/balance.js, small map, years 2 to 15, household-year weighted from its size table): populous seeds 3, 7, 11, 42: fields a household 3.34 -> 4.56; rations made 274 -> 345 against need 183 -> 194, so made/need 1.50 -> 1.78 (the farms’ share of need, grain net of seed, milk, meat); hungry household-years 0.29% -> 0.27% (4,577 -> 4,342 household-years: more people died or fewer lived to be counted in some seeds; both counts are of 15 years). Founders seeds 3, 7, 11, 42: fields 2.71 -> 3.71, made/need 1.96 -> 2.59, hungry 0.00% -> 0.00%.tools/bands.js --runs populous,founders --years 15, run cut to 15 years, scratch output): populous end/start seed 3 1.33 -> 1.36, 7 1.25 -> 1.28, 11 1.33 -> 1.34, 42 1.38 -> 1.33 (median about 2.0% a year before, 2.1% after, target 1%); founders small, 12 seeds in the run: end living identical on every seed but 4 (hungry share of household-days 0.00 to 0.69% before, 0.00 to 0.11% after), the founders’ hands cap the plan (2 fields a hand) so the new formula rarely binds there.FIELDS.room), hours in the fields, crops lost to frost (VB-333). More fields a household (+1.0 to 1.2) means more land taken and more field hours; left to the tuning run (rows for docs/tuning.md if villages fill sooner). Counters of the field jobs are not re-recorded (Working rules: a counter that is out is reported, not re-recorded); the golden file is retired.