Status: done (2026-10-30) Priority: 3 Size: M Arch: work Phase: implement Design ref: Economy and jobs (Long work and processing: Multi-day jobs: a job keeps its progress when pawns stop to answer something more urgent). Jobs review, 30 Oct 2026. Goal: A pawn keeps its job until it is done or the work day ends: a farmer hoeing a 20-hour field does not stop when the last firewood runs out or a ripe field waits. VB-022 lets the cook leave other work after 14:00; this task makes that a general rule. Acceptance criteria:
work phase of a job (not walking to it, not carrying home) bids, noise-free, on the open jobs it may take. If the best bid is more than 1.5 × its current job’s bid plus 1, it releases the current job, which keeps its progress, and starts the new one.--report idle (VB-101) and hungry household-days, before and after (reported, not asserted).QUESTION_ARCHIVE.md).lookUp in src/sim/jobs.js runs at each full hour from 7:00 to 16:00, after posting and the cook’s call; MATCH.switchRatio 1.5 and MATCH.switchMargin 1 in src/sim/rules.js. A pawn’s own job is scored with the join factor of its other workers, a candidate with that of all its workers (VB-102). The bid splits into score (noise-free, shared) and bid (score plus noise).QUESTION_ARCHIVE.md, job review, second pass): keep the rule; the farmer keeps hoeing and a son goes for wood.tests/interrupts.js, heirs seed 7, Södergården: the son leaves the field for the woods at 9:00 and the field keeps its progress; the farmer keeps hoeing; a field with 0.8 h of work left is not left.| Run | Switches per pawn-year | Cook calls per pawn-year | Hungry household-days | Fields sown | Crops lost to frost | Adults idle, spring / summer / autumn / winter | Population at year end |
|---|---|---|---|---|---|---|---|
| Populous 7, before | 0.01 | 0.73 | 0 / 380 / 535 | 425 / 422 / 425 | 0 / 8 / 2 | 56% / 73% / 64% / 81% | 817 / 851 / 871 |
| Populous 7, after | 0.29 | 0.73 | 0 / 455 / 524 | 425 / 421 / 421 | 1 / 7 / 1 | 55% / 73% / 64% / 80% | 814 / 845 / 844 |
| Populous 42, before | 0 | 0.71 | 0 / 476 / 438 | 439 / 438 / 428 | 2 / 9 / 2 | 57% / 73% / 65% / 81% | 825 / 849 / 852 |
| Populous 42, after | 0.32 | 0.70 | 0 / 408 / 473 | 439 / 439 / 436 | 1 / 8 / 2 | 56% / 73% / 65% / 81% | 830 / 861 / 880 |
| Founders 7, before | 0 | 1.81 | 0 / 0 / 0 | 6 / 10 / 10 | 1 / 0 / 0 | 41% / 66% / 64% / 75% | 9 / 11 / 11 |
| Founders 7, after | 0.30 | 1.47 | 0 / 0 / 0 | 6 / 10 / 10 | 0 / 0 / 0 | 45% / 67% / 67% / 76% | 10 / 13 / 14 |
| Founders 42, before | 0 | 2.04 | 0 / 11 / 0 | 7 / 10 / 10 | 3 / 0 / 0 | 38% / 66% / 62% / 75% | 10 / 10 / 10 |
| Founders 42, after | 1.81 | 2.88 | 0 / 19 / 0 | 7 / 10 / 10 | 3 / 1 / 1 | 37% / 63% / 61% / 74% | 11 / 11 / 10 |