VB-1586: The fetch grows with the household: trips by hand for six, a cart’s barrel for eighteen
Status: done (2026-11-24)
Priority: 2
Size: M
Design ref: design.md, Goods and the farming year (Water by the site); backlog/VB-1543.md; design.md, Carts
Goal: a large household’s water costs more trips or a cart, and a small one’s as much as six
Acceptance criteria:
A day’s water covers people (design.md, Goods and the farming year, Water by the site, The fetch grows with the household): a trip by hand covers WATER.hand (6; a child under 12 carries 3), a trip with a cart’s barrel WATER.cart (18); hh.waterFor holds how many today’s loads cover, beside hh.waterDay, with its invariant; the day’s water does not keep.
A household above 6 posts the trips it needs, each a job of its own; the head takes the cart where one is free, the way carries it and it is the cheaper in hours (the walk both ways at 0.8 of the pace, 0.3 hours to fill), by the rule of Taking a cart; a cart trip wears the cart as any trip does.
The household cooks once the first load is in, and is dry by the part of its people the day’s water did not cover (hh.dry, and the health of those not covered until VB-1585 makes it the pawn’s own).
Checks on a small constructed state: households of 1 and 6 make one trip, of 7 two by hand or one with a cart, of 19 a cart’s and one by hand; the hours match the design’s table within the walk’s rounding; with only one of two trips made, the meal is cooked and the dry part is as the people uncovered.
Measured once, before and after (populous small, seeds 7 and 42, 10 years): the households above each threshold, trips a household-day, cart trips and carts built for want of one, hours a household-day on water by household size, dry household-days.
Cost, named before building: households x trips a day (one for most, two or three above 6 people; none above 18 in today’s runs unless the measure finds them) x one cached route; the choice of cart a comparison a trip.
Noted by VB-1543, 23 November 2026.
Built, 24 November 2026 (VB-1586). sim/water: WATER.hand, child, childUnder, cart, fill; the site search’s trips by hand. sim/chores: household.waterFor, the water’s available (the trips posted), setOut (the trip’s cover, the cart), deliver; sim/agentsstart calls a kind’s setOut; sim/cartsout and sim/legspaceOf: a cart taken at the house is out and sets the pace on the way there; sim/day: each trip heads its hand’s list; sim/hungerdryHouse: the part not covered; tests/trips.js.
Decided: the barrel goes on a free hand cart before the ox cart (the same barrel at 0.8 of the pace, not 0.6, and the team stays at the plough), the ox cart only with no hand cart free, its team free and its trip still the cheaper; a child under 12 takes no cart. The cart is taken at the house as the hand sets out, so the walk out is at its pace too; released on the way it stands there as any cart (10 and 6 times in 10 years). Close calls, noted.
Decided: “the way carries it” is not tested: a cart goes where a walker does until carts mind the ground (design.md, Carts, Underfoot: VB-810); the criterion is ticked without it.
Decided: waterFor is absent until a household’s first load (its first day counts as fetched, for all; sim/records is at its length’s baseline, and a save from before loads as it is). The people are those at home when the trips are posted, one at least; on a part-dry day the water goes first to who cannot go for its own drink (under 7, bedridden), then to the thirsty, then by the members’ order, so who goes without can go to a source. A host’s part-dry day still gives its guest a drink. Close calls, noted.
Measured, populous small, 10 years, the run’s branch at caaf3d3 -> this branch on it (people at home at the day’s end). Seed 7: household-days of 1 to 6 21,115 -> 22,161, of 7 to 18 11,389 -> 10,856, above 18 none (largest 12); hours a household-day on water 0.80 -> 0.68 and 0.54 -> 1.07; trips a household-day 0.99 -> 1.02 by hand, 0 -> 0.003 with a cart, and 1.00 -> 0.97 by hand, 0 -> 0.56 with a cart (6,108 cart trips); dry household-days with someone at home 77 -> 68, part-dry 0 -> 60 (58 of them of 7 and more, a sixth of the people); carts built 113 -> 132; pawn-days ended thirsty 608 -> 593; deaths 126 -> 114; hungry household-days 306 -> 351. Seed 42: 22,919 -> 23,793 and 12,146 -> 11,370 (largest 11); 0.77 -> 0.71 and 0.50 -> 0.93 h; 0.99 -> 1.02, 0 -> 0.002 and 1.00 -> 0.96, 0 -> 0.54 (6,216); dry 106 -> 88, part-dry 0 -> 49; carts built 116 -> 133; thirsty 790 -> 585; deaths 78 -> 70; hungry 221 -> 214.
Households: those of 7 and more are worse off in time, as designed: 0.4 to 0.5 hours a day more on water (a cart’s trip on 55% of their days, two by hand on most others: a quarter of the farms draw at the door, where the cart is no cheaper), and on 0.4 to 0.5% of their days one of them goes without. Those of 6 and fewer pay what they did (the difference is within what two builds of one seed give). Deaths, hunger and thirst move within the same noise.
Cost: a household with its water in is one comparison an ask; else its members and its jobs once an ask, and one comparison of hours a trip set out; no route searched (the farm’s source holds the walk). Counters: 0 out against the baseline.
Left: the panel’s water row, the well’s test (sim/wellspays) and the site’s panel reckon one trip whatever the household (VB-1604); one who comes home after the trips are made is not fetched for (tuning). tests/lib/invariants.js: a cart standing out is also one a hand is leading home (the lying load goes when it is taken up: tests/herds.js ended in that half hour).