VB-475: Time taken from causes: the crop’s size, the hand’s skill, mishaps
Status: done (2026-11-22)
Priority: 2
Size: M
Design ref: docs/review-blocks.md; design.md section 7 (A leg, and its end, to The timetable); docs/mocks/blocks/README.md; Long work and processing
Goal: A task takes longer for reasons the world can show, and the only new randomness is small and has a cause.
Acceptance criteria:
Reaping’s and threshing’s hours are the kind’s times the field’s crop over a normal crop’s, between a half and one and a half: named tunables; the carrying already goes by loads.
Skill at a type of work: one stand-in number by pawn and type from the stream traits (as VB-254’s traits, until slice 7); it does not grow. A hand’s rate is multiplied by 0.9 to 1.1 by it.
Mishaps: at a work leg’s start the hand’s rate is lowered by a draw between 0 and a most that falls from a fifth to a twentieth with its skill, from a new stream mishap (SYSTEMS, src/sim/rng.js); a hand of middling skill averages the norm, shown by a test that forces the draws with fix.
Up to five short runs for the tunables (seeds and map named), each written down with what it gave.
Numbers before and after at the bands’ seeds: the farming year’s days (hoed, sown, reaped, threshed), crops lost to frost, hungry household-days, growth; and whether households, not only averages, are better off.
Notes / questions:
15 Nov 2026, from the plan VB-469 (docs/review-blocks.md, section 4, step 5). Kim, 15 Nov: scheduled blocks, a breaking change allowed.
Kim, 15 Nov: variation in the time taken must be well motivated, and is not the uncertainty of the estimate. The first causes are the worker’s rate, the crop’s size and the walk; tools (VB-121) and weather follow when built.
This moves the Agreed hours of Harvest (Long work and processing) on Kim’s word.
15 Nov 2026 (review of the open tasks against the head’s day, VB-466, and the blocks plan, VB-469, docs/review-blocks.md): VB-360 (slice 6) plans sim/skills with crafts learnt by doing; this task’s stand-in by type of work lives in the same place (see the note there), whichever lands first.
16 Nov 2026 (Kim’s answers after the plan of VB-702; section 14): A mishap costs time, never quality: a made piece’s grade is drawn once, by VB-761, from its own stream (making). Skill here is the stand-in for field work; a craft’s skill is VB-360’s.
18 Nov 2026, amended to agree with VB-1123 (plan mode; Kim’s decisions of 18 Nov): plan mode shows a member’s skill at a job on a fixed scale of four, novice to master (Kim: an absolute standard, not a comparison within the household), on the work bar and on the person’s card, with what the job would grow it to. The cut points and the growth by a season’s end are for VB-360; here only: the time taken by a hand’s skill is what the bar’s length and its striped end are drawn from.
22 Nov 2026, done. Skill lives in a new sim/skills (the note of 15 Nov): pawn.skill, one draw of traits a type of work (the 12 types kinds declare), around 0.5, drawn after the heads’ draws at seed and after a newborn’s traits; agent.pace = skill × (1 − mishap) / 0.9375, so the middle at the mean mishap is exactly 1 (tests/skills.js, forced with fix). Pace is on the leg, not in rateOf: the head’s day plans by rateOf (the estimate does not know a mishap to come).
Crop size: sim/fieldsstanding (the yield but the reaping’s own draw); SIZE = {normal: 1, range: [0.5, 1.5]} in sim/fieldwork, hours rounded to whole hours. Threshing is sized by the barn’s first entry when its task is posted, which may be part of a field still being brought in (close call: sizing at the haul’s end needs a field’s crop on the barn entry).
Run 1 (the one run; populous small, seeds 7 and 42, 5 years, from year 2), normal 1: reap posted 17.2 and 15.4 h a task on average (15 before, fixed), thresh 20.8 and 19.3 (20), pace mean 1.00 (p10 0.92, p90 1.07). Kept.
Before and after (populous small, seeds 3, 7, 11, 42, 12 years; hours from year 4): living at 12, 1,674 to 1,660; starvation deaths 44 to 67; hungry30 0 to 0; households under their need 0.042 to 0.036 (fewer on every seed); p10 produced over need 1.53 to 1.49; frost 0 to 0; the latest reaping a day later on two seeds, threshing up to a season later at seed 3 (autumn 12 to winter 5). Mixed: fewer households short, more starved in the tails.
Found: tests/spread.js’ copyRun dropped st.stepAt, so its “never saved” copy began a walk a step late; fixed in the test. VB-1479 opened to split sim/fields (23 exports over its baseline of 22).