village-builder

VB-776: Plan: a third mock: does a shared facility gather makers?

Status: done (2026-11-16) Priority: 3 Size: M Arch: town Phase: plan Design ref: docs/plans/VB-189.md, sections 2, 3 and 10; docs/cities/mock-town-emergence.md (parts one and two; docs/cities/mocks/); design.md, Settlements, Towns and regions (No town before the ship; What the town waits for) Goal: Say whether anything gathers makers into a town before the ship (Kim, 16 Nov: no town before the ship is accepted; then a third mock on a shared facility), and what result would reopen the town’s design. Acceptance criteria: A third mock, as throwaway research code beside the first two (docs/cities/mocks/), its findings appended to docs/cities/mock-town-emergence.md as part three. No game code changes.

Noted by VB-189, 16 November 2026.

Notes (VB-776, 16 November 2026, in the night’s orchestrated run)

What was made. docs/cities/mocks/share.js (the third mock, tables D1 to D7) and part three of docs/cities/mock-town-emergence.md (findings 26 to 38, the measures, the test, method, what was invented, what remains a toy). move.js gained three options, off by default (fac, elite, ship), a guard so that it can be required, and its exports; numbers.js gained INVENTED.share. No game code. move.js’s tables C1, C2, C4 and C9 were compared byte for byte before and after the change: the same.

The answer. No. Nothing gathers makers into a town before the ship at parameters near the game’s, and the reopening test was not met. The fullest village’s share of the island’s maker households, years 30 and 60, populous-small-7-y30 (129 households):

Variant Seeds Maker households, year 60 Year 30 Year 60 Seeds at a third, year 60
None (the second mock) 10 19.6 14% 14% 0
A facility at the planned cost (0.03 of a year of spare hours) 10 19.0 15% 12% 0
A costly one (2 years, any maker for a due) 10 13.9 21% 22% 1
An elite household wanting 20 farms’ goods 3 22.1 15% 15% 0
A ship’s buyer taking 1,000 rations’ worth a year 3 24.1 17% 15% 0
All together, the facility at the planned cost 6 24.4 15% 17% 0
All together, the facility costly 10 18.4 25% 24% 0
Beyond the plans: all at the harbour, a ship (2,000) that takes only of those who live there 5 20.8 24% 36% 4

At four times the households (one seed): 13% without, 12% with the planned facility, 11% with the costly one. On populous-medium-7-y0 (3 seeds): 23%, 17%, 22%. A place begun gathered (4 runs): 4.1 maker households at year 10 and 1.3 at year 60 without; 4.9 to 5.3 and 2.1 to 2.5 with a costly facility; 4.2 and 1.0 at the planned cost. The leader wanders as before (4 villages led in 10 runs; the same one at years 20 and 60 in 3).

The paragraph for design.md (written into Towns and regions, What the town waits for, as Proposed, under the night’s rule 1; No town before the ship gained one Proposed sentence; a row in docs/design-changelog.md): the third mock did not reopen the section; a shared facility is no longer a candidate (the planned ones cost 0.01 to 0.15 of a household’s year of spare hours and change nothing; a costly one keeps the landless out of the craft and does not fill a place); the elite’s household adds its own custom and no more; a ship’s buyer on known days feeds the makers within half a day of the harbour; what gathered makers was demand at a point that only residents can serve, of the order of all the island’s farms give its makers. The ship’s plan chooses.

Decided here (each a decision note in the inbox):

  1. “Within a factor of two of the game’s planned costs” is read as a facility of up to 0.3 of a year of spare hours (twice a windmill’s 140 hours). The task’s own sweep (0.5 to 4 years) is 17 to 132 times a bloomery and so lies outside the test; it was run and reported, and could not have reopened the design by the task’s wording. Why: the planned costs are in the backlog (VB-364, VB-368, VB-362, the mill), and the test names them.
  2. A third counts only at a place of three maker households or more. Why: a costly facility leaves islands with a dozen makers, where one village with four is already a third; design.md already counts “villages with three of them”.
  3. The two rows of design.md were edited as Proposed rather than left as a paragraph here. Why: the row said “which a third mock tries first”, which is now false, and the night’s rule allows it.
  4. In the toy a builder’s heir keeps the facility and its due; 66 to 100% of dues then go to a household that is no maker. A toy’s assumption, surfaced because it is a rent (Deciding without Kim, 13) that slice 6’s tolls would create if a facility were dear.

What was tried and dropped. The first run of the whole script took 85 s; seeds were cut (the sweeps to 2, the medium map to 3, four times the households to one seed, the village’s capacity rows and the planned-cost row of D3 dropped) to some 165 runs. A time is a description here: 73 s for the whole script with a load of 12 on the night’s 4 cores, where a run took 0.15 s early in the night and 1.5 s late; each table by --only took 12 to 35 s under that load before the cut. On a quiet machine the count of runs gives about half a minute; that was not measured.

Validation. node docs/cities/mocks/share.js prints D1 to D7; node docs/cities/mocks/move.js --only base|feedback|lock|days print what they printed before. npm run verify on the merged result: see the commit.

Follow-up noted: VB-839 (blocked on VB-365), a report of the fullest village’s share of maker households in a real run, so that the first run of slice 9 can be read against the mocks’ 10 to 22%.