A Civilization-style strategy game about governing Israel from 15 May 1948. Real ministers, real map, every fact sourced. Unity + deterministic C# sim.
GDD 0.3 fields: one farmer per field on the authored fields, fixture-only (Refs #1694) (#2408)
Eyal Golan0622da9f9842
diff --git a/changelog.d/1694-one-farmer-per-field.md b/changelog.d/1694-one-farmer-per-field.mdnew file mode 100644index 000000000..50f8a2b58--- /dev/null+++ b/changelog.d/1694-one-farmer-per-field.md@@ -0,0 +1,11 @@+### Changed++- `gdd-0.3` fields, in test fixtures only: each of the 20 authored starting fields takes one farmer who lives in its+ region, only while it is Israeli-held, and yields 2, 3 or 5 times `field_food_per_turn` Food a turn by the farmer's+ tier in the month's snapshot; an unworked field yields nothing (owner, 3 November 2026, "One farmer per field+ (Recommended)", #1694). That only a farmer may hold a field is our reading of #1693, `docs/gdd/training.md` and+ `docs/GDD.md`, not an owner ruling. Nothing in a game changes yet: `gdd-0.1` keeps its fields with no workers.+- `gdd-0.3` job fixture: a free civilian no longer needs completed reception turns to take a job, since the MVP has no+ reception-bed layer (owner, 1 November 2026).+- The `field.slots` note in `content/gdd03-balance.yaml` now records the ruling, so the content hash changes and older+ saves load with the "content changed" notice.diff --git a/content/gdd03-balance.yaml b/content/gdd03-balance.yamlindex 975f3c342..7ec0c56ef 100644--- a/content/gdd03-balance.yaml+++ b/content/gdd03-balance.yaml@@ -197,7 +197,7 @@"values": [1]"field.slots":"basis": "Agreed"- "note": "Work, professions and training: farmer per prepared field. Amir's proposal, declined by the owner on 30 October 2026 [S1] (non-operative regional-field model), per docs/gdd/balance.md:58 at 52fe3d60a. Source: #1668 balance.md at 605277df."+ "note": "Work, professions and training: farmer per prepared field. Owner, 3 November 2026 (#1694): \"One farmer per field (Recommended)\", each field takes one farmer and an unworked field produces nothing (R-FIELD-002 under gdd-0.3). Amir's regional pooling through a capital stays declined (30 October 2026). Source: #1668 balance.md at 605277df.""values": [1]"field.cost":"basis": "Agreed"diff --git a/docs/GDD.md b/docs/GDD.mdindex 35190942b..7f0a2fba9 100644--- a/docs/GDD.md+++ b/docs/GDD.md@@ -415,6 +415,7 @@ On 2 November 2026 the owner ruled on Arms bought on credit, a lever on the war| Question | Owner's answer (3 November 2026) | Rule ||-|-|-|| City building in the MVP ([#1700](https://github.com/eyalgolan/statecraft-israel/issues/1700)) | "Builders in the MVP (Recommended)" ([recorded on #1700](https://github.com/eyalgolan/statecraft-israel/issues/1700#issuecomment-6595906828)); then "One builder, today's times (Recommended)", "One per city, plus 2 nationally" and "Yes, if someone is free" ([plan comment](https://github.com/eyalgolan/statecraft-israel/issues/1700#issuecomment-6597217639)) | The option read: "Builders in the MVP: projects need Money and people, a project with nobody on it waits, one start a turn." MVP city projects are built by assigned builders as #1700 specifies, one builder a project ("One builder, today's times (Recommended)"): a project needs its Money and its builder, a new project takes a free person as its builder when there is one ("Yes, if someone is free"), a project with no builder waits and makes no progress, and at most one project start per city per turn, and the national `map_actions_per_turn` 2 still applies; the start limit is the owner's corrected ruling, "One per city, plus 2 nationally" (owner, 3 November 2026). Two builder details stay as built, "Keep both as built (Recommended)" (owner, 3 November 2026): a waiting project does not take a builder freed later on its own (the player can still raise the city's builder count), and the automatic builder pick never takes a worker the game placed automatically. Money shortfalls still borrow (D1). This replaces the worker-free construction of `R-PROJ-001` (Q-PROJ-3) and adds the per-city start limit to its two starts a turn (Q-PROJ-4) as MVP design; the game keeps those `gdd-0.1` rules until #1700 lands. Under `gdd-0.3` they are built as `R-CITY-011` and the `gdd-0.3` parts of `R-PROJ-001` to `R-PROJ-003`, a project with its builder gaining a turn's progress on its kind's existing `turns`; `gdd-0.1` keeps its worker-free construction and national two-start limit. |+| Farmers per field ([#1694](https://github.com/eyalgolan/statecraft-israel/issues/1694)) | "One farmer per field (Recommended)" ([recorded on #1694](https://github.com/eyalgolan/statecraft-israel/issues/1694#issuecomment-6610258738)) | Under `gdd-0.3` each field takes one farmer, who lives in the field's region (Q27), and an unworked field produces nothing; that only a farmer may hold a field is our reading of #1693, `docs/gdd/training.md` and the "Historical starting farmer tiers" row above, not an owner ruling. A worked field yields 2x / 3x / 5x `field_food_per_turn` by the farmer's tier. `gdd-0.1` keeps `R-FIELD-002`'s fields with no workers. |## Deferred decisionsdiff --git a/docs/gdd/balance.md b/docs/gdd/balance.mdindex 5e6c866c3..70faed860 100644--- a/docs/gdd/balance.md+++ b/docs/gdd/balance.md@@ -55,7 +55,7 @@ All operative starting roles partition the retained census-derived population to| `builder.slots_per_project` | `3` | simultaneous builders | Amir's proposal; the owner's 30 October 2026 conflict review did not rule on this [S11]; `content/gdd03-balance.yaml` lists it as `3` (basis Agreed, transcribed from #1668); the owner adopted builders for the MVP on 3 November 2026 ("Builders in the MVP (Recommended)") [S16]; live city projects need no workers until #1700 lands (`R-PROJ-001`, `docs/rules/mvp.md`). **RULED (owner, 3 November 2026): "One builder, today's times (Recommended)":** one builder a project in the MVP, not `3`; under `gdd-0.3` a city project has at most one builder (`R-CITY-011`) [S16]. || `builder.work_rate` | `1 / 1.5 / 3` | work units per turn: ordinary or novice / apprentice / expert | Amir's proposal; the owner's 30 October 2026 conflict review did not rule on this [S11]; `content/gdd03-balance.yaml` lists it as `1 / 1.5 / 3` (basis Agreed, transcribed from #1668); live city projects advance one turn a turn (`R-PROJ-003`, `docs/rules/mvp.md`). **RULED (owner, 3 November 2026): "One builder, today's times (Recommended)":** the MVP keeps each kind's existing `turns`; under `gdd-0.3` a project with its builder gains a turn's progress as `R-PROJ-003` says (`R-CITY-011`) [S16]. || `construction.starts_per_turn` | `2` | new city projects nationwide per turn | Retained `R-PROJ-001` limit, configured by `map_actions_per_turn` [S10]; Amir's proposed `1`: the owner's 30 October 2026 conflict review did not rule on this [S11]; `content/gdd03-balance.yaml` lists it as `1` (basis Agreed, transcribed from #1668) |-| `field.slots` | `1` | farmer per prepared field | Amir's proposal, declined by the owner on 30 October 2026 [S1] (non-operative regional-field model) |+| `field.slots` | `1` | farmer per prepared field | Owner, 3 November 2026, "One farmer per field (Recommended)" ("Each field takes one farmer; an unworked field produces nothing") [S17]: operative under `gdd-0.3`, the farmer living in the field's region (Q27). Amir's regional pooling through a capital stays declined [S1] || `field.cost` / `field.work` | `5 / 9` | Money / trained-equivalent pioneer work units | Amir's proposal, declined by the owner on 30 October 2026 [S1] (non-operative regional-field model) || `field.nominal_turns` | `12 / 9 / 6` | turns at constant novice / trained / veteran tier | Derived only from declined proposal values; non-operative |@@ -206,6 +206,7 @@ Historical census estimates, real camp opening dates, authored region borders, a- [S14] Israel's dollar rates, 1948-1952: IMF, Annual Report 1950, Appendix I, pp. 88-89; Federal Reserve Bulletin, November 1949, p. 1336; Michaely, *Israel's Foreign Exchange Rate System* (1971), p. 10 and Table 2-1; Patinkin, *The Israel Economy: The First Decade*, Table 43, p. 121 ([#813](https://github.com/eyalgolan/statecraft-israel/issues/813#issuecomment-6565039439), checked 2026-11-02).- [S15] Owner's 2 November 2026 ruling on the housing surcharge slope (#1703), recorded in `content/gdd03-balance.yaml` (`housing.money_slope`) and `docs/rules/mvp.md` (`R-HOUSE-005`); and the owner's 2 November 2026 answers on #2291, "Yes, 5 pp under GDD 0.3 (Recommended)" for the overflow and "Keep the 2-point loss (Recommended)" for the cohesion term, recorded in `docs/rules/mvp.md` (`R-HOUSE-005`).- [S16] Owner's 3 November 2026 ruling on #1700, "Builders in the MVP (Recommended)", [GDD later rulings, 3 November 2026](../GDD.md#later-rulings-3-november-2026).+- [S17] Owner's 3 November 2026 ruling on #1694, "One farmer per field (Recommended)", [recorded on #1694](https://github.com/eyalgolan/statecraft-israel/issues/1694#issuecomment-6610258738) (checked 2026-11-03).## Open questionsdiff --git a/docs/gdd/cities.md b/docs/gdd/cities.mdindex 545b575f2..b48ea420c 100644--- a/docs/gdd/cities.md+++ b/docs/gdd/cities.md@@ -33,7 +33,7 @@ The later owner decisions recorded in [S7] do not replace this retained per-city**Amir's proposal, declined by the owner on 30 October 2026 [S17]:** each player region would pool housing, farms and Industry/workshop jobs through an authored capital. The retained per-city capacity rule remains authoritative.-The proposed regional farm-assignment and field-slot rules are part of that declined proposal and are non-operative; the farmer tier rates agree with main's `gdd-0.3` rule (`R-VET-002`). Existing field and site rules remain authoritative.+The proposed regional farm-assignment rules (staffing through a capital) are part of that declined proposal and are non-operative. Under `gdd-0.3` each prepared field takes one farmer who lives in its region, and an unworked field produces nothing (owner, 3 November 2026, "One farmer per field (Recommended)" [S24]; Q27); the farmer tier rates agree with main's `gdd-0.3` rule (`R-VET-002`). Under `gdd-0.1` the existing field and site rules remain authoritative.### Assignments and income@@ -118,6 +118,7 @@ Individual workforce screens per kibbutz, enemy resident workforce, mothballing,- [S21] Owner's 1 November 2026 answers, [GDD 1 November 2026 answers](../GDD.md#1-november-2026-answers).- [S22] Owner's 2 November 2026 ruling on the housing surcharge slope (#1703), recorded in `content/gdd03-balance.yaml` (`housing.money_slope`) and `docs/rules/mvp.md` (`R-HOUSE-005`); and the owner's 2 November 2026 answers on #2291, "Yes, 5 pp under GDD 0.3 (Recommended)" for the overflow and "Keep the 2-point loss (Recommended)" for the cohesion term, recorded in `docs/rules/mvp.md` (`R-HOUSE-005`).- [S23] Owner's 3 November 2026 ruling on #1700, "Builders in the MVP (Recommended)", [GDD later rulings, 3 November 2026](../GDD.md#later-rulings-3-november-2026).+- [S24] The owner's ruling on #1694, 3 November 2026, "One farmer per field (Recommended)", https://github.com/eyalgolan/statecraft-israel/issues/1694#issuecomment-6610258738, checked 2026-11-03## Open questionsdiff --git a/docs/gdd/fields-and-swamps.md b/docs/gdd/fields-and-swamps.mdindex 58a6a428e..57d7e8017 100644--- a/docs/gdd/fields-and-swamps.md+++ b/docs/gdd/fields-and-swamps.md@@ -19,6 +19,8 @@ As a player of the MVP, I want to send a group of halutzim to plow the fields of- Drained, the swamp site does nothing else; the Hula field site becomes ready to plow. Before that a plow order there is refused with the state unchanged (R-SWAMP-001).- `hula_drainage` (window 7 March to 18 May 1951) carries `site: hula`, so it fires only while the player's works at the Hula are in progress: with no works, or once the Hula is drained, it does not fire (R-SWAMP-002, `Q-SWAMP-2` [S3]). Its text, options and sources are unchanged. The reference player drains no swamp, so the card does not come in the goldens' run.+Then changed (3 Nov 2026): a plowed field with no workers, as above, holds under `gdd-0.1`; under `gdd-0.3` a field takes one farmer and an unworked field produces nothing (R-FIELD-002; owner, 3 November 2026, #1694 [S5]).+## Data touched- `rules.yaml` `mvp.plow_fields_turns`, `mvp.plow_fields_cost` and `mvp.field_food_per_turn`: labelled design values, required in the GDD loop.@@ -46,6 +48,7 @@ As a player of the MVP, I want to send a group of halutzim to plow the fields of- [S2] GDD Phase 4 plan, PR 4 and the owner questions table, docs/superpowers/plans/2026-10-15-gdd-phase-4.md- [S3] GDD Phase 4 owner answers, https://github.com/eyalgolan/statecraft-israel/issues/782, checked 2026-10-17- [S4] Q-SWAMP-3, the owner's decision on the Hula, https://github.com/eyalgolan/statecraft-israel/issues/789, checked 2026-10-17+- [S5] The owner's ruling on #1694, 3 November 2026, "One farmer per field (Recommended)", https://github.com/eyalgolan/statecraft-israel/issues/1694#issuecomment-6610258738, checked 2026-11-03## Open questionsdiff --git a/docs/rules/mvp.md b/docs/rules/mvp.mdindex a20a21b60..9b9450f27 100644--- a/docs/rules/mvp.md+++ b/docs/rules/mvp.md@@ -230,6 +230,8 @@ R-FIELD-001: `PioneerWork(unit, plow_fields, site)` plows a field at a site whosR-FIELD-002: Each turn in step 6, after the cities' production and in ordinal site id order, every plowed field adds `field_food_per_turn` Food units to the national stock (R-FOOD-001), with no workers (Q-FIELD-2, decided 17 October 2026). A field being plowed adds nothing. The Food arrives before the nation eats in step 7, so in a turn with imports (R-FOOD-002) the import tops the stock up by that much less. `field_food_per_turn` is 1, a labelled design value (Q-FIELD-3: "1 Food a turn"), and required in the GDD loop.+Then changed (3 Nov 2026): under exact `gdd-0.3`, in synthetic fixtures only (R-POP-004), each authored starting field (`regions.yaml` `field_hexes`, Q36) is one Work slot for one farmer (`field.slots` 1; owner, 3 November 2026, "One farmer per field (Recommended)"), staffed only by a farmer located in its region (Q27) while the field is Israeli-held (Q37). That only a farmer may hold a field is our reading of #1693, `docs/gdd/training.md` and `docs/GDD.md`, not an owner ruling. A field staffed in the month's snapshot (27M-2) and still Israeli-held yields `farmer.output` (2 / 3 / 5) times `field_food_per_turn` by the snapshot tier, and no Money; an unworked field yields nothing. No Food moves and no game-loop caller is added; losing and retaking a field (27M-1) waits on the job default (#1692).+R-SWAMP-001: `PioneerWork(unit, dry_swamp, site)` drains a swamp at a site whose kinds include `swamp`, by R-SITE-001 to R-SITE-003's rules, with `dry_swamp_turns` and `dry_swamp_cost` (12 turns and IL 4m, labelled design values, required in the GDD loop; Q-SWAMP-1, decided 17 October 2026). Built, the swamp site is drained, and the field site in its hex becomes ready: before that a `plow_fields` order there is refused with the state unchanged and the Attention refunded, as at an unbuilt yishuv (R-FIELD-001). Drained, the swamp does nothing else. A field site is not also a swamp site, since draining would plow it; the loader refuses a row that gives it both kinds. The MVP's one swamp site is the Hula (Q-SWAMP-1; Q-SWAMP-3, "Allow as planned", owner, 17 October 2026, #789).R-SWAMP-002: An event with `site: <id>` names a swamp site (the loader checks it in the GDD loop) and, in the GDD loop, can fire only while that site is being worked: it has a record that is not built. With no works, or once the swamp is drained, it waits, and it can still fire later in its window (Q-SWAMP-2, decided 17 October 2026). The legacy loop reads no sites and ignores the key, so the legacy goldens hold. `hula_drainage` carries `site: hula`.diff --git a/sim/Statecraft.Sim.Tests/DesignValuesGdd03Tests.cs b/sim/Statecraft.Sim.Tests/DesignValuesGdd03Tests.csindex 55f9edf60..ebbb3c66b 100644--- a/sim/Statecraft.Sim.Tests/DesignValuesGdd03Tests.cs+++ b/sim/Statecraft.Sim.Tests/DesignValuesGdd03Tests.cs@@ -198,6 +198,7 @@ public partial class DesignValuesTests[InlineData("reception.queue_cohesion_loss", "Default", "1", PostMvp, Nov1)][InlineData("housing.max_deterioration", "Default", "10", "declined by the owner", Oct30)][InlineData("housing.overflow_deterioration", "Agreed", "5", "\"Yes, 5 pp under GDD 0.3 (Recommended)\"", "2 November 2026")]+ [InlineData("field.slots", "Agreed", "1", "\"One farmer per field (Recommended)\"", "3 November 2026")]public void Gdd03RowsFollowTheOwnersLaterRulings(string key, string basis, string values, string ruling, string date){var row=ContentLoader.Load(RealContentTests.ContentRoot()).Gdd03Balance!.Values[key];diff --git a/sim/Statecraft.Sim.Tests/Gdd03AssignmentFixtureTests.cs b/sim/Statecraft.Sim.Tests/Gdd03AssignmentFixtureTests.csindex 7f71c1ca5..dca9f97a1 100644--- a/sim/Statecraft.Sim.Tests/Gdd03AssignmentFixtureTests.cs+++ b/sim/Statecraft.Sim.Tests/Gdd03AssignmentFixtureTests.cs@@ -76,11 +76,28 @@ public class Gdd03AssignmentFixtureTests}var same = s.Describe();Assert.Equal(Gdd03FixtureAssignmentResult.NoOp, f.Assign(0, Slots[0].Id)); Assert.Equal(same, s.Describe());- s.PopulationLedger.Replace(s.PopulationLedger.Get(1).WithReception(0));+ // Ineligible: a refugee is not a free civilian (reception progress is no longer the test, docs/GDD.md:386).+ var refugee = s.PopulationLedger.Get(1);+ s.PopulationLedger.Replace(refugee.WithPlacement(PopulationStatus.Refugee, refugee.Location, PopulationAssignment.Unassigned, refugee.Captor, refugee.Home));same = s.Describe(); Assert.Throws<ArgumentException>(() => f.Assign(1, Slots[2].Id)); Assert.Equal(same, s.Describe());Assert.Throws<ArgumentException>(() => new Gdd03AssignmentFixture(c, s, Slots.Concat(new[] { Slots[0] })));}+ // R-CITY-001, R-CITY-004: the MVP has no reception-bed layer (owner, 1 November 2026, "No reception-bed layer+ // (Recommended)", docs/GDD.md:386), so a free civilian with no reception progress may take and leave a job.+ [Fact] public void AFreeCivilianWithNoReceptionProgressIsEligible()+ {+ var c = Content(); var s = State(c, Person());+ s.PopulationLedger.Replace(s.PopulationLedger.Get(0).WithReception(0));+ var f = new Gdd03AssignmentFixture(c, s, Slots);+ Assert.Equal(Gdd03FixtureAssignmentResult.Applied, f.Assign(0, Slots[0].Id));+ Assert.Equal(Slots[0].Id, s.PopulationLedger.Get(0).Assignment.Target);+ Assert.Equal(0, s.PopulationLedger.Get(0).ReceptionTicks);+ Assert.Equal(1m, f.IndustryRate(Slots[0].Id));+ Assert.Equal(Gdd03FixtureAssignmentResult.Applied, f.Assign(0, null));+ Assert.Equal(PopulationAssignmentKind.Unassigned, s.PopulationLedger.Get(0).Assignment.Kind);+ }+// R-CITY-001: independent seeded model checks capacity, exclusivity and conservation after every step.[Fact] public void GeneratedReassignmentsUseOnlyTheAuthoritativeLedger(){diff --git a/sim/Statecraft.Sim.Tests/Gdd03FieldFixtureTests.cs b/sim/Statecraft.Sim.Tests/Gdd03FieldFixtureTests.csnew file mode 100644index 000000000..65c104d2f--- /dev/null+++ b/sim/Statecraft.Sim.Tests/Gdd03FieldFixtureTests.cs@@ -0,0 +1,227 @@+using Statecraft.Sim;+using System.Globalization;++// R-FIELD-002 under gdd-0.3, fixture-only (R-POP-004). The ruling: owner, 3 November 2026, #1694, "One farmer per field+// (Recommended)"; the option read: "Each field takes one farmer; an unworked field produces nothing." The fields are the+// shipped regions.yaml list (Q36). People, regional pools and Israeli-held sets below are test data.+public class Gdd03FieldFixtureTests+{+ const string Valleys = "valleys", TelAviv = "tel_aviv_jaffa", Captor = "synthetic-captor";+ // Three of the six authored valleys fields (regions.yaml; Gdd03RegionAuthoringTests.ApprovedFields).+ const string V1 = "field/7,11", V2 = "field/7,12", V3 = "field/8,13";++ static Content Real() =>+ PlayerRegionsContentTests.Load(File.ReadAllText(Path.Combine(RealContentTests.ContentRoot(), "regions.yaml")));+ static MvpRules Rules(Content c) => c.RulesAt(c.Rules.Start).Mvp!;++ static PopulationUnit Person(PopulationLocation at, CivilianProfession profession = CivilianProfession.Farmer,+ CivilianTier tier = CivilianTier.Novice) =>+ new(0, PopulationStatus.FreeCivilian, 0, at, PopulationAssignment.Unassigned, profession, tier, 0, "", 0, PopulationEquipment.None);+ // A farmer living on the field's own hex, a member hex of its region (Gdd03RegionAuthoringTests).+ static PopulationLocation At(string region, int q, int r) => new(region, q, r);+ static PopulationLocation InValleys => At(Valleys, 7, 11);++ static GameState State(Content c, PopulationUnit[] people, Gdd03FixtureSlot[]? other = null, int telAvivIndustry = 0)+ {+ var pools = c.PlayerRegions.Regions.Keys.Select(id =>+ new PlayerRegionPool(id, 0, 0m, id == TelAviv ? telAvivIndustry : 0, 0, Array.Empty<PlayerRegionFacility>()));+ var targets = Gdd03FieldFixture.Targets(c).Concat((other ?? Array.Empty<Gdd03FixtureSlot>())+ .Select(x => new PopulationTarget(x.Id, PopulationAssignmentKind.Work, TelAviv)));+ return PlayerRegions.CreateFixture(c, pools, people.Select((p, i) => new PopulationInventoryRow("synthetic", i, p)),+ targets, new[] { Captor }, Array.Empty<string>());+ }++ // The month's snapshot (#1716, 27M-2), taken now; every field is available at the freeze unless listed as not held.+ static Gdd03SyntheticMonthContext Month(Content c, GameState s, params string[] notHeldAtFreeze) =>+ Gdd03SyntheticMonthContext.CreateSynthetic(SaveGame.Gdd03Ruleset, 0, s.PopulationLedger.Units,+ Gdd03FieldFixture.Fields(c).Select(f => new Gdd03SyntheticFacilitySnapshot(f.Id, !notHeldAtFreeze.Contains(f.Id), 1)),+ Array.Empty<int>(), Array.Empty<Gdd03SyntheticHousingSnapshot>(), Array.Empty<Gdd03SyntheticPendingEntry>());+ static HashSet<string> AllHeld(Content c) => Gdd03FieldFixture.Fields(c).Select(f => f.Id).ToHashSet(StringComparer.Ordinal);+ static void Refused(GameState s, Action a, string? message = null)+ {+ var before = s.Describe();+ var e = Assert.Throws<ArgumentException>(a);+ if (message != null) Assert.Contains(message, e.Message);+ Assert.Equal(before, s.Describe());+ }++ // Q36 and the ruling: the fields are the authored twenty (2/6/6/2/2/0/0/1/1), each a slot for one farmer+ // (`field.slots` 1), and the ids keep a plain minus sign under the Hebrew locale (#2402).+ [Theory] [InlineData("he-IL")] [InlineData("en-US")]+ public void TheFieldsAreTheAuthoredTwentyEachForOneFarmer(string cultureName)+ {+ var previous = CultureInfo.CurrentCulture;+ try+ {+ CultureInfo.CurrentCulture = CultureInfo.GetCultureInfo(cultureName);+ var c = Real();+ var fields = Gdd03FieldFixture.Fields(c);+ Assert.Equal(20, fields.Count);+ Assert.Equal(fields.Select(f => f.Id).OrderBy(x => x, StringComparer.Ordinal), fields.Select(f => f.Id));+ var split = new Dictionary<string, int>(StringComparer.Ordinal) {+ ["galilee"] = 2, ["valleys"] = 6, ["haifa_sharon"] = 6, ["tel_aviv_jaffa"] = 2, ["central_plain"] = 2,+ ["jerusalem_hills"] = 0, ["northern_hills"] = 0, ["southern_coast"] = 1, ["negev"] = 1 };+ foreach (var region in c.PlayerRegions.Regions.Values)+ {+ Assert.Equal(split[region.Id], fields.Count(f => f.Region == region.Id));+ foreach (var h in region.FieldHexes)+ Assert.Single(fields, f => f.Region == region.Id && f.Q == h.Q && f.R == h.R+ && f.Id == "field/" + h.Q.ToString(CultureInfo.InvariantCulture) + "," + h.R.ToString(CultureInfo.InvariantCulture));+ }+ Assert.Contains(fields, f => f.Id == "field/-11,31" && f.Region == "southern_coast");+ Assert.All(fields, f => Assert.DoesNotContain('', f.Id));+ Assert.Equal(1, Gdd03FieldRates.FromCatalogue(c.Gdd03Balance!).SlotsPerField);+ Assert.All(Gdd03FieldFixture.Slots(c), slot => { Assert.Equal(1, slot.Capacity); Assert.Equal(Gdd03FixtureWork.Farm, slot.Work); });+ Assert.Equal(fields.Select(f => (f.Id, f.Region)),+ Gdd03FieldFixture.Targets(c).Select(t => (t.Id, t.Region)));+ }+ finally { CultureInfo.CurrentCulture = previous; }+ }++ // The ruling: "an unworked field produces nothing". All twenty held, nobody on them: no Food and no Money.+ [Fact] public void AnUnworkedFieldYieldsNothing()+ {+ var c = Real(); var s = State(c, new[] { Person(InValleys) });+ var f = new Gdd03FieldFixture(c, s, Array.Empty<Gdd03FixtureSlot>());+ var y = f.Yield(Rules(c), Month(c, s), AllHeld(c));+ Assert.Equal(20, y.Fields.Count);+ Assert.All(y.Fields.Values, food => Assert.Equal(0, food));+ Assert.Equal(0, y.Food); Assert.Equal(0, y.Money);+ }++ // GDD.md:385 (owner, 1 November 2026, "Main's base x 0.3's tiers (Recommended)"): farmer Food 2x / 3x / 5x+ // `field_food_per_turn` by tier (#2112), with a test-only base of 2 as Gdd03PerUnitRatesTests does. No Money.+ [Theory] [InlineData(1, 2, 3, 5)] [InlineData(2, 4, 6, 10)]+ public void AFarmerYieldsTwoThreeFiveTimesFieldFoodPerTurn(int baseFood, int novice, int trained, int veteran)+ {+ var c = Real(); var r = Rules(c);+ Assert.Equal(1, r.FieldFoodPerTurn);+ r.FieldFoodPerTurn = baseFood; // test-only base+ var s = State(c, new[] { Person(InValleys, tier: CivilianTier.Novice), Person(InValleys, tier: CivilianTier.Trained),+ Person(InValleys, tier: CivilianTier.Veteran) });+ var f = new Gdd03FieldFixture(c, s, Array.Empty<Gdd03FixtureSlot>());+ f.Staff(0, V1, israeliHeld: true); f.Staff(1, V2, israeliHeld: true); f.Staff(2, V3, israeliHeld: true);+ var before = s.Describe();+ var y = f.Yield(r, Month(c, s), AllHeld(c));+ Assert.Equal(novice, y.Fields[V1]); Assert.Equal(trained, y.Fields[V2]); Assert.Equal(veteran, y.Fields[V3]);+ Assert.Equal(17, y.Fields.Values.Count(food => food == 0));+ Assert.Equal(novice + trained + veteran, y.Food); Assert.Equal(0, y.Money);+ Assert.Equal(before, s.Describe()); // a quote: no Food, XP or state change+ }++ // The ruling: each field takes one farmer. A second farmer is refused and the first keeps the field; the same+ // farmer again is the Q34 no-op. A caller's other Work slot shares the one inventory (an Industry worker too).+ [Fact] public void ASecondFarmerOnAFieldIsRefused()+ {+ var c = Real();+ var industry = new Gdd03FixtureSlot("synthetic-industry", Gdd03FixtureWork.Industry, 1, "winery");+ var s = State(c, new[] { Person(InValleys), Person(InValleys),+ Person(At(TelAviv, -1, 20), CivilianProfession.None, CivilianTier.None) }, new[] { industry }, telAvivIndustry: 1);+ var f = new Gdd03FieldFixture(c, s, new[] { industry });+ Assert.Equal(Gdd03FixtureAssignmentResult.Applied, f.Staff(0, V1, israeliHeld: true));+ Refused(s, () => f.Staff(1, V1, israeliHeld: true), "Fixture destination is full");+ Assert.Equal(V1, s.PopulationLedger.Get(0).Assignment.Target);+ var same = s.Describe();+ Assert.Equal(Gdd03FixtureAssignmentResult.NoOp, f.Staff(0, V1, israeliHeld: true)); Assert.Equal(same, s.Describe());+ Assert.Equal(Gdd03FixtureAssignmentResult.Applied, f.Staff(1, V2, israeliHeld: true));+ Assert.Equal(Gdd03FixtureAssignmentResult.Applied, new Gdd03AssignmentFixture(c, s, Gdd03FieldFixture.Slots(c).Append(industry))+ .Assign(2, industry.Id));+ Assert.Equal(Gdd03FixtureAssignmentResult.Applied, f.Release(0));+ Assert.Equal(Gdd03FixtureAssignmentResult.Applied, f.Staff(1, V1, israeliHeld: true)); // a freed field takes one farmer+ Refused(s, () => f.Release(2), "not on a field"); // the field fixture releases only farmers+ Assert.Equal(industry.Id, s.PopulationLedger.Get(2).Assignment.Target);+ }++ // Q27 ("farmers live in the region they farm", docs/GDD.md:373): a farmer living in Tel Aviv-Jaffa cannot take a+ // valleys field; the ledger's region check refuses it before any change.+ [Fact] public void AFarmerMustLiveInTheFieldsRegion()+ {+ var c = Real(); var s = State(c, new[] { Person(At(TelAviv, -1, 20)) });+ var f = new Gdd03FieldFixture(c, s, Array.Empty<Gdd03FixtureSlot>());+ Refused(s, () => f.Staff(0, V1, israeliHeld: true), "Assignment region/progress is inconsistent");+ Assert.Equal(Gdd03FixtureAssignmentResult.Applied, f.Staff(0, "field/-1,20", israeliHeld: true));+ }++ // Q37 ("Only an Israeli-held hex can be farmed", docs/GDD.md:373): a field that is not Israeli-held is refused+ // before any change, and so is an unknown field.+ [Fact] public void OnlyAnIsraeliHeldFieldCanBeStaffed()+ {+ var c = Real(); var s = State(c, new[] { Person(InValleys) });+ var f = new Gdd03FieldFixture(c, s, Array.Empty<Gdd03FixtureSlot>());+ Refused(s, () => f.Staff(0, V1, israeliHeld: false), "Israeli-held");+ Refused(s, () => f.Staff(0, "field/0,0", israeliHeld: true), "Unknown field");+ Assert.Equal(PopulationAssignmentKind.Unassigned, s.PopulationLedger.Get(0).Assignment.Kind);+ }++ // Q37 and #1694 ("Enemy control ... disables the slot"): a field staffed at the freeze but no longer Israeli-held+ // yields nothing while the others still yield. The assignment is not changed: loss and retake (27M-1) are not here.+ [Fact] public void AFieldNoLongerIsraeliHeldYieldsNothing()+ {+ var c = Real(); var s = State(c, new[] { Person(InValleys), Person(InValleys) });+ var f = new Gdd03FieldFixture(c, s, Array.Empty<Gdd03FixtureSlot>());+ f.Staff(0, V1, israeliHeld: true); f.Staff(1, V2, israeliHeld: true);+ var month = Month(c, s); var held = AllHeld(c); held.Remove(V1);+ var y = f.Yield(Rules(c), month, held);+ Assert.Equal(0, y.Fields[V1]); Assert.Equal(2, y.Fields[V2]); Assert.Equal(2, y.Food);+ Assert.Equal(V1, s.PopulationLedger.Get(0).Assignment.Target);+ // Not held at the freeze either: the snapshot does not count the farmer as working (#1716).+ Assert.Equal(0, f.Yield(Rules(c), Month(c, s, V1), AllHeld(c)).Fields[V1]);+ }++ // Our reading, not an owner ruling: only a farmer holds a field (the rates exist only for farmer tiers, GDD.md:385;+ // tools and the self-taught route are post-MVP, #1693; a course grants the qualification, training.md:48; starting+ // farmers have the 1:2:1 tiers, GDD.md:389). A civilian with no profession, a pioneer and a craftsman are refused.+ [Fact] public void OnlyAFarmerWorksAField()+ {+ var c = Real();+ var s = State(c, new[] { Person(InValleys, CivilianProfession.None, CivilianTier.None),+ Person(InValleys, CivilianProfession.Pioneer, CivilianTier.Veteran),+ Person(InValleys, CivilianProfession.Craftsman, CivilianTier.Expert) });+ var f = new Gdd03FieldFixture(c, s, Array.Empty<Gdd03FixtureSlot>());+ foreach (var id in new[] { 0, 1, 2 }) Refused(s, () => f.Staff(id, V1, israeliHeld: true), "Only a farmer");+ }++ // 27M-2 ("Farming counts whole months from the month's snapshot") and R-VET-002 (the turn-start tier): a farmer+ // staffed after the freeze yields nothing that month, and a promotion after the freeze does not change the yield.+ [Fact] public void FarmingCountsTheMonthsSnapshot()+ {+ var c = Real(); var s = State(c, new[] { Person(InValleys, tier: CivilianTier.Novice), Person(InValleys) });+ var f = new Gdd03FieldFixture(c, s, Array.Empty<Gdd03FixtureSlot>());+ f.Staff(0, V1, israeliHeld: true);+ var month = Month(c, s);+ f.Staff(1, V2, israeliHeld: true);+ var p = s.PopulationLedger.Get(0);+ s.PopulationLedger.Replace(new PopulationUnit(p.Id, p.Status, p.ReceptionTicks, p.Location, p.Assignment,+ p.Profession, CivilianTier.Veteran, p.WorkXp, p.Qualification, p.CombatXp, p.Equipment));+ var y = f.Yield(Rules(c), month, AllHeld(c));+ Assert.Equal(2, y.Fields[V1]); Assert.Equal(0, y.Fields[V2]); Assert.Equal(2, y.Food);+ Assert.Equal(5 + 2, f.Yield(Rules(c), Month(c, s), AllHeld(c)).Food); // next month's snapshot has both+ }++ // Guard: a captured person holds no field (PopulationLedger: captives have no local assignment), so #1689 Q2+ // (captured units in Food demand) is not involved; this slice produces Food and computes no demand.+ [Fact] public void CapturedPeopleHoldNoField()+ {+ var c = Real(); var s = State(c, new[] { Person(InValleys) });+ var f = new Gdd03FieldFixture(c, s, Array.Empty<Gdd03FixtureSlot>());+ f.Staff(0, V1, israeliHeld: true);+ var p = s.PopulationLedger.Get(0);+ Refused(s, () => s.PopulationLedger.Replace(p.WithPlacement(PopulationStatus.Captured, null, p.Assignment, Captor, p.Location)));+ s.PopulationLedger.Replace(p.WithPlacement(PopulationStatus.Captured, null, PopulationAssignment.Unassigned, Captor, p.Location));+ var month = Month(c, s);+ Assert.Empty(month.WorkEligibleIds);+ Assert.Equal(0, f.Yield(Rules(c), month, AllHeld(c)).Food);+ Refused(s, () => f.Staff(0, V1, israeliHeld: true));+ }++ // R-FIELD-002 under gdd-0.1 is unchanged: fields need no workers there, and this fixture refuses that ruleset.+ [Fact] public void Gdd01FieldsAreUnchanged()+ {+ var c = ContentLoader.Load(RealContentTests.ContentRoot());+ Assert.Equal(SaveGame.GddRuleset, c.Ruleset);+ var s = new GameState(c); var before = s.Describe();+ Assert.Throws<InvalidOperationException>(() => Gdd03FieldFixture.Fields(c));+ Assert.Throws<InvalidOperationException>(() => new Gdd03FieldFixture(c, s, Array.Empty<Gdd03FixtureSlot>()));+ Assert.Equal(before, s.Describe());+ }+}diff --git a/sim/Statecraft.Sim/Gdd03AssignmentFixture.cs b/sim/Statecraft.Sim/Gdd03AssignmentFixture.csindex aa7496595..f2e27a78e 100644--- a/sim/Statecraft.Sim/Gdd03AssignmentFixture.cs+++ b/sim/Statecraft.Sim/Gdd03AssignmentFixture.cs@@ -61,7 +61,8 @@ namespace Statecraft.Sim}/// <summary>R-CITY-001/002: frozen synthetic capacity overlay, never a second population ledger.- /// Only explicit reception-complete free civilians moving among generic Work targets are supported.+ /// Only explicit free civilians moving among generic Work targets are supported. The MVP has no reception-bed layer+ /// (owner, 1 November 2026, "No reception-bed layer (Recommended)", docs/GDD.md:386), so reception progress is not checked./// Feature-owned course/teaching/service transitions remain outside this fixture. Reassigning the same Work slot is a no-op./// Single-threaded like the ledger; callers cannot reuse this overlay as a production authority.</summary>internal sealed class Gdd03AssignmentFixture@@ -69,14 +70,13 @@ namespace Statecraft.Simreadonly GameState state;readonly SortedDictionary<string, Gdd03FixtureSlot> slots;readonly Gdd03IndustryRates rates;- readonly int receptionTurns;internal Gdd03AssignmentFixture(Content content, GameState state, IEnumerable<Gdd03FixtureSlot> inventory){if (!content.UsesPopulationLedger || !state.UsesPopulationLedger || !state.PopulationLedger.IsInitialized)throw new InvalidOperationException("Assignments require an initialized gdd-0.3 synthetic fixture.");this.state = state;rates = Gdd03IndustryRates.Read(content);- receptionTurns = content.RequirePopulationInteger("reception.turns");+ var receptionTurns = content.RequirePopulationInteger("reception.turns");if (receptionTurns != state.PopulationLedger.ReceptionLimit)throw new ContentException(Gdd03BalanceCatalogue.FileName, "values.reception.turns","must match the initialized population ledger");@@ -105,13 +105,13 @@ namespace Statecraft.Simif (group.Count() > capacity) throw new ArgumentException("Fixture regional job occupancy is over capacity.");}}- bool Eligible(PopulationUnit p) => p.Status == PopulationStatus.FreeCivilian && p.ReceptionTicks == receptionTurns;+ static bool Eligible(PopulationUnit p) => p.Status == PopulationStatus.FreeCivilian;internal Gdd03FixtureAssignmentResult Assign(int id, string? target){ValidateInventory();var ledger = state.PopulationLedger; var person = ledger.Get(id);if (!Eligible(person) || (person.Assignment.Kind != PopulationAssignmentKind.Unassigned && person.Assignment.Kind != PopulationAssignmentKind.Work))- throw new ArgumentException("Only reception-complete free civilian work transitions are in this fixture.");+ throw new ArgumentException("Only free civilian work transitions are in this fixture.");if (target != null){if (!slots.TryGetValue(target, out var slot)) throw new ArgumentException("Unknown fixture slot.");diff --git a/sim/Statecraft.Sim/Gdd03FieldFixture.cs b/sim/Statecraft.Sim/Gdd03FieldFixture.csnew file mode 100644index 000000000..11db0a313--- /dev/null+++ b/sim/Statecraft.Sim/Gdd03FieldFixture.cs@@ -0,0 +1,137 @@+using System;+using System.Collections.Generic;+using System.Collections.ObjectModel;+using System.Linq;++namespace Statecraft.Sim+{+ /// <summary>One authored starting field (Q36): a regions.yaml `field_hexes` entry of its listing region.</summary>+ internal sealed class Gdd03Field+ {+ internal string Id { get; }+ internal string Region { get; }+ internal int Q { get; }+ internal int R { get; }+ internal Gdd03Field(string region, int q, int r)+ {+ // Invariant culture: under he-IL a negative q would otherwise carry a direction mark (#2402).+ Id = FormattableString.Invariant($"field/{q},{r}"); Region = region; Q = q; R = r;+ }+ }++ /// <summary>A month's Food quote per field, in field id order. Nothing moves; farming makes no Money.</summary>+ internal sealed class Gdd03FieldYield+ {+ internal IReadOnlyDictionary<string, int> Fields { get; }+ internal int Food { get; }+ internal int Money => 0; // GDD 605277df docs/gdd/cities.md:13: farming creates no Money.+ internal Gdd03FieldYield(SortedDictionary<string, int> fields)+ {+ Fields = new ReadOnlyDictionary<string, int>(fields);+ Food = fields.Values.Aggregate(0, (sum, food) => checked(sum + food));+ }+ }++ /// <summary>R-FIELD-002 under exact gdd-0.3, synthetic fixtures only (R-POP-004): no command, loader, turn or+ /// Food-stock hookup. Owner, 3 November 2026, #1694: "One farmer per field (Recommended)"; the option read: "Each+ /// field takes one farmer; an unworked field produces nothing." Each authored field (Q36) is one Farm slot of+ /// `field.slots` (1) in the shared <see cref="Gdd03AssignmentFixture"/>, which stays the single writer and whose+ /// ledger refuses a farmer living outside the field's region (Q27). Loss and retake (27M-1), preparation (#1713),+ /// XP and Food demand are not here.</summary>+ internal sealed class Gdd03FieldFixture+ {+ readonly GameState state;+ readonly Gdd03AssignmentFixture work;+ readonly Gdd03FieldRates rates;+ readonly SortedDictionary<string, Gdd03Field> fields;++ internal static IReadOnlyList<Gdd03Field> Fields(Content content)+ {+ if (content == null) throw new ArgumentNullException(nameof(content));+ if (!content.UsesPopulationLedger) throw new InvalidOperationException("Field slots require gdd-0.3.");+ var byId = new SortedDictionary<string, Gdd03Field>(StringComparer.Ordinal);+ foreach (var region in content.PlayerRegions.Regions.Values)+ foreach (var (q, r) in region.FieldHexes)+ {+ var field = new Gdd03Field(region.Id, q, r);+ byId.Add(field.Id, field); // a hex is one field+ }+ return Array.AsReadOnly(byId.Values.ToArray());+ }++ internal static IEnumerable<PopulationTarget> Targets(Content content) =>+ Fields(content).Select(f => new PopulationTarget(f.Id, PopulationAssignmentKind.Work, f.Region));++ /// <summary>The ruling as slots: `field.slots`, which <see cref="Gdd03FieldRates.FromCatalogue"/> refuses unless 1.</summary>+ internal static IEnumerable<Gdd03FixtureSlot> Slots(Content content)+ {+ var fields = Fields(content);+ var slots = Gdd03FieldRates.FromCatalogue(content.Gdd03Balance+ ?? throw new ContentException(Gdd03BalanceCatalogue.FileName, "values.field.slots", "required under gdd-0.3")).SlotsPerField;+ return fields.Select(f => new Gdd03FixtureSlot(f.Id, Gdd03FixtureWork.Farm, slots, "field")).ToArray();+ }++ /// <summary><paramref name="otherSlots"/> are the caller's other Work slots: one inventory covers every Work target.</summary>+ internal Gdd03FieldFixture(Content content, GameState state, IEnumerable<Gdd03FixtureSlot> otherSlots)+ {+ if (state == null) throw new ArgumentNullException(nameof(state));+ if (otherSlots == null) throw new ArgumentNullException(nameof(otherSlots));+ fields = new SortedDictionary<string, Gdd03Field>(Fields(content).ToDictionary(f => f.Id, StringComparer.Ordinal), StringComparer.Ordinal);+ rates = Gdd03FieldRates.FromCatalogue(content.Gdd03Balance!);+ this.state = state;+ work = new Gdd03AssignmentFixture(content, state, Slots(content).Concat(otherSlots));+ }++ /// <summary>Puts a farmer on a field. Every refusal comes before any change; the shared fixture then refuses a+ /// person who is not a free civilian, a full field ("destination is full": one farmer per field) and, at the+ /// ledger, a farmer living in another region (Q27).</summary>+ internal Gdd03FixtureAssignmentResult Staff(int id, string field, bool israeliHeld)+ {+ if (field == null || !fields.ContainsKey(field)) throw new ArgumentException("Unknown field.");+ // Q37 (docs/GDD.md:373): "Only an Israeli-held hex can be farmed". The sim has no hex control yet, so the+ // caller states it.+ if (!israeliHeld) throw new ArgumentException("Only an Israeli-held field can be farmed (Q37).");+ // Our reading, not an owner ruling: only a farmer holds a field. Its basis:+ // - #1693, owner, 3 November 2026 (issuecomment-6606032643): "Tools in the MVP: no" and "Self-taught+ // pioneers: not reachable in the MVP", so there is no self-taught route to a profession;+ // - docs/gdd/training.md:48: "Completion grants the retained qualification";+ // - docs/GDD.md:389: "Each census city's starting farmers are a quarter novice, half trained and a quarter+ // veteran" ("Amir's 1:2:1 ratio per city (Recommended)").+ // The farmer tiers are also the only field rates (docs/GDD.md:385). The ledger ties a Farmer to those tiers.+ if (state.PopulationLedger.Get(id).Profession != CivilianProfession.Farmer)+ throw new ArgumentException("Only a farmer can work a field.");+ return work.Assign(id, field);+ }++ /// <summary>Takes a farmer off their field; a person on any other Work slot is refused unchanged.</summary>+ internal Gdd03FixtureAssignmentResult Release(int id)+ {+ var person = state.PopulationLedger.Get(id);+ if (person.Assignment.Kind != PopulationAssignmentKind.Work || person.Assignment.Target == null+ || !fields.ContainsKey(person.Assignment.Target))+ throw new ArgumentException("This person is not on a field.");+ return work.Assign(id, null);+ }++ /// <summary>27M-2: a field yields for the month when the month's snapshot has a farmer working it (#1716), and Q37:+ /// while it is still Israeli-held. The yield is `farmer.output` at the snapshot tier (R-VET-002) times+ /// `field_food_per_turn` (docs/GDD.md:385, #2112); an unworked field yields 0. A quote: no Food, XP or state change.</summary>+ internal Gdd03FieldYield Yield(MvpRules rules, Gdd03SyntheticMonthContext month, IReadOnlyCollection<string> israeliHeldNow)+ {+ if (rules == null) throw new ArgumentNullException(nameof(rules));+ if (month == null) throw new ArgumentNullException(nameof(month));+ if (israeliHeldNow == null) throw new ArgumentNullException(nameof(israeliHeldNow));+ var working = new HashSet<int>(month.WorkEligibleIds);+ var result = new SortedDictionary<string, int>(StringComparer.Ordinal);+ foreach (var field in fields.Keys)+ {+ var farmers = month.OpeningPeople.Where(p => working.Contains(p.Id) && p.Assignment.Target == field).ToArray();+ if (farmers.Length > 1) throw new ArgumentException("A field's snapshot holds more than one farmer.");+ var farmer = farmers.SingleOrDefault();+ result.Add(field, farmer != null && farmer.Profession == CivilianProfession.Farmer && israeliHeldNow.Contains(field)+ ? rates.FoodPerTurn(farmer.Tier, rules) : 0);+ }+ return new Gdd03FieldYield(result);+ }+ }+}diff --git a/sim/Statecraft.Sim/Gdd03SyntheticFields.cs b/sim/Statecraft.Sim/Gdd03SyntheticFields.csindex ebeb2033e..47931803b 100644--- a/sim/Statecraft.Sim/Gdd03SyntheticFields.cs+++ b/sim/Statecraft.Sim/Gdd03SyntheticFields.cs@@ -24,7 +24,7 @@ namespace Statecraft.Simthrow new ContentException(Gdd03BalanceCatalogue.FileName, "ruleset", "requires exact gdd-0.3 catalogue identity");var food = ReadIntegers(catalogue, "farmer.output", 3);var slots = ReadIntegers(catalogue, "field.slots", 1);- // This single-field contract represents the catalogued one farmer per field, not multi-worker scaling.+ // Owner, 3 November 2026, #1694: "One farmer per field (Recommended)"; not multi-worker scaling.if (slots[0] != 1)throw new ContentException(Gdd03BalanceCatalogue.FileName, "values.field.slots", "requires one farmer per field");return new Gdd03FieldRates(food[0], food[1], food[2], slots[0]);