A Civilization-style strategy game about governing Israel from 15 May 1948. Real ministers, real map, every fact sourced. Unity + deterministic C# sim.
content: the Second Government's lists join with the Second Knesset on 20 August 1951 (refs #315) (#475)
Eyal Golanc0a382566c94
diff --git a/CHANGELOG.md b/CHANGELOG.mdindex 5821fcd44..6e937f23f 100644--- a/CHANGELOG.md+++ b/CHANGELOG.md@@ -498,6 +498,15 @@ adds a line under **Unreleased**; CI's `Changelog` job checks this (see `CONTRIBadds Hansard for the RAF clash of 7 January 1949, and "Education in the Immigrant Camps" adds the JTA's report ofthe commission's findings, completed on 9 May 1950. Wikipedia stays only for lines these sources do not cover. Text,dates and effects are unchanged (refs #442).+- Second Government ministers take their Second Knesset factions from 20 August 1951, per the Knesset faction records:+ Haim-Moshe Shapira Hapoel HaMizrachi and Yitzhak-Meir Levin Agudat Yisrael (both United Religious Front before), and+ Bechor-Shalom Sheetrit Mapai (Sephardim before). Each term is split on that date (refs #457). No golden moves.+- The transitional Second Government holds 69 of 120 seats in the Second Knesset, not 51 (#315). From 20 August 1951+ its coalition gains the lists its parties' MKs sat for in the new Knesset, per the Knesset faction records: Hapoel+ HaMizrachi, Mizrachi, Agudat Yisrael and Poalei Agudat Yisrael (the United Religious Front) and the Democratic List+ for Israeli Arabs (the Democratic List of Nazareth). It has a majority again, and the player can re-appoint Shapira+ and Levin, whose parties follow those factions. No golden moves: the historical run holds no vote and makes no+ appointment, so the coalition is not read into its state.- Contradictions flagged in #457 and #442 that cannot move a golden. YAML comments: the Provisional State Council lastmet on 10 February 1949, not 3 February; the 120-seat ordinance passed on 18 November 1948 and the 25 January votewas fixed on 25 November 1948 (Harpaz, Kesher 61); the 57-36 vote of 8 August 1950 was for the coalition's motion,diff --git a/content/governments.yaml b/content/governments.yamlindex 9b62ea8cd..85f48104e 100644--- a/content/governments.yaml+++ b/content/governments.yaml@@ -35,9 +35,23 @@ governments:# Approved 69-42 with 2 abstentions on 1 November 1950. Resigned 14 February 1951 and served as a transitional# government until the Third Government was sworn in on 8 October 1951. From 20 August 1951 its parties are measured# against the Second Knesset, where the United Religious Front and the Democratic List of Nazareth held no seats.+ # Their MKs sat there for the lists that join on that day (Knesset faction records, #315): the Front's for Hapoel+ # HaMizrachi, Mizrachi, Agudat Yisrael and Poalei Agudat Yisrael (Shapira's and Levin's Second Knesset rows are 25993+ # and 25938), and Seif el-Din el-Zoubi of the Nazareth list for the Democratic List for Israeli Arabs (row 25856).+ # The two old lists stay, as for the Sixth Government: each list has seats in only one of the two Knessets. That makes+ # 69 of 120.from: 1950-11-01to: 1951-10-08coalition: [mapai, united_religious_front, progressive, sephardim, democratic_list_nazareth]+ coalition_changes:+ - date: 1951-08-20+ joins: [hapoel_hamizrachi, mizrachi, agudat_yisrael, poalei_agudat_yisrael, democratic_list_israeli_arabs]+ sources:+ - { url: "https://knesset.gov.il/Odata/ParliamentInfo.svc/KNS_Faction?$filter=KnessetNum%20eq%202", checked: 2026-10-14 }+ - { url: "https://knesset.gov.il/Odata/ParliamentInfo.svc/KNS_PersonToPosition?$filter=FactionID%20eq%20131", checked: 2026-10-14 }+ - { url: "https://knesset.gov.il/Odata/ParliamentInfo.svc/KNS_PersonToPosition?$filter=FactionID%20eq%20111", checked: 2026-10-14 }+ - { url: "https://knesset.gov.il/Odata/ParliamentInfo.svc/KNS_PersonToPosition?$filter=KnessetNum%20eq%202", checked: 2026-10-14 }+ - { url: "https://web.archive.org/web/20160522174905/https://www.knesset.gov.il/history/eng/eng_hist2_s.htm", checked: 2026-10-14 }sources:- { url: "https://knesset.gov.il/Odata/ParliamentInfo.svc/KNS_PersonToPosition?$filter=GovernmentNum%20eq%202", checked: 2026-10-14 }- { url: "https://fs.knesset.gov.il/1/Plenum/1_ptm_250247.pdf", checked: 2026-10-14 }diff --git a/content/people.yaml b/content/people.yamlindex badacf058..207bd64c1 100644--- a/content/people.yaml+++ b/content/people.yaml@@ -256,9 +256,14 @@ people:- { office: interior_minister, from: 1949-03-10, to: 1950-11-01, party: united_religious_front, sources: *shapira_1 }# en.wiki lists all three portfolios in the Second Government; the he.wiki extract did not clearly show Interior# and Immigration (research notes 1c). en.wiki is used.- - { office: health_minister, from: 1950-11-01, to: 1951-10-08, party: united_religious_front, sources: &second_urf [*gov2_k, *second_en, *second_he] }- - { office: immigration_minister, from: 1950-11-01, to: 1951-10-08, party: united_religious_front, sources: *second_urf }- - { office: interior_minister, from: 1950-11-01, to: 1951-10-08, party: united_religious_front, sources: *second_urf }+ # Second Knesset from 20 August 1951: the Knesset faction records put him in the Hapoel HaMizrachi faction+ # (row 25993); to then, the United Religious Front (row 25848). Issue #457.+ - { office: health_minister, from: 1950-11-01, to: 1951-08-20, party: united_religious_front, sources: &second_urf [*gov2_k, *second_en, *second_he] }+ - { office: immigration_minister, from: 1950-11-01, to: 1951-08-20, party: united_religious_front, sources: *second_urf }+ - { office: interior_minister, from: 1950-11-01, to: 1951-08-20, party: united_religious_front, sources: *second_urf }+ - { office: health_minister, from: 1951-08-20, to: 1951-10-08, party: hapoel_hamizrachi, sources: &shapira_k2 [*gov2_k, { url: "https://knesset.gov.il/Odata/ParliamentInfo.svc/KNS_PersonToPosition(25993)", checked: 2026-10-14 }] }+ - { office: immigration_minister, from: 1951-08-20, to: 1951-10-08, party: hapoel_hamizrachi, sources: *shapira_k2 }+ - { office: interior_minister, from: 1951-08-20, to: 1951-10-08, party: hapoel_hamizrachi, sources: *shapira_k2 }# The United Religious Front dissolved in 1951; Shapira sat for Hapoel HaMizrachi (the person's party). The Third# Government had no Immigration portfolio (notes, Addendum (a)): offices.yaml ends that office on 1951-10-08.- { office: interior_minister, from: 1951-10-08, to: 1952-12-24, sources: *third }@@ -362,7 +367,10 @@ people:- { office: police_minister, from: 1948-05-14, to: 1949-03-10, sources: *prov }- { office: minority_affairs_minister, from: 1948-05-14, to: 1949-03-10, sources: *prov }- { office: police_minister, from: 1949-03-10, to: 1950-11-01, sources: *first }- - { office: police_minister, from: 1950-11-01, to: 1951-10-08, sources: *gov2 }+ # Second Knesset from 20 August 1951: Mapai faction (Knesset faction records, row 25992); to then, the Sephardim+ # list (row 25845), his person party. Issue #457.+ - { office: police_minister, from: 1950-11-01, to: 1951-08-20, sources: *gov2 }+ - { office: police_minister, from: 1951-08-20, to: 1951-10-08, party: mapai, sources: [*gov2_k, { url: "https://knesset.gov.il/Odata/ParliamentInfo.svc/KNS_PersonToPosition(25992)", checked: 2026-10-14 }] }# He was elected in 1949 for the Sephardim list; the Knesset faction records put him in Mapai from the Second# Knesset (20 August 1951), as both Wikipedias and JVL do for 1951 (Addendum (d)).- { office: police_minister, from: 1951-10-08, to: 1952-12-24, party: mapai, sources: [*gov3, { url: "https://knesset.gov.il/Odata/ParliamentInfo.svc/KNS_PersonToPosition?$filter=PersonID%20eq%202639%20and%20KnessetNum%20eq%202", checked: 2026-10-14 }, { url: "https://www.jewishvirtuallibrary.org/third-government-of-israel", checked: 2026-10-10 }] }@@ -468,7 +476,10 @@ people:offices:- { office: welfare_minister, from: 1948-05-14, to: 1949-03-10, sources: *prov }- { office: welfare_minister, from: 1949-03-10, to: 1950-11-01, party: united_religious_front, sources: [*gov1_k, *bga, { url: "https://knesset.gov.il/Odata/ParliamentInfo.svc/KNS_PersonToPosition?$filter=PersonID%20eq%202427%20and%20KnessetNum%20eq%201", checked: 2026-10-14 }] }- - { office: welfare_minister, from: 1950-11-01, to: 1951-10-08, party: united_religious_front, sources: *second_urf }+ # Second Knesset from 20 August 1951: Agudat Yisrael faction (Knesset faction records, row 25938); to then, the+ # United Religious Front (row 25797). Issue #457.+ - { office: welfare_minister, from: 1950-11-01, to: 1951-08-20, party: united_religious_front, sources: *second_urf }+ - { office: welfare_minister, from: 1951-08-20, to: 1951-10-08, party: agudat_yisrael, sources: [*gov2_k, { url: "https://knesset.gov.il/Odata/ParliamentInfo.svc/KNS_PersonToPosition(25938)", checked: 2026-10-14 }] }# Resigned on 18 September 1952, when Agudat Yisrael left the coalition (Knesset records; en.wiki and he.wiki# Third Government; he.wiki's text gives 23 September for the party's exit). No successor until Shapira took# Welfare in the Fourth Government, so the office is vacant from 18 September to 24 December 1952.diff --git a/sim/Statecraft.Sim.Tests/CoalitionChangesTests.cs b/sim/Statecraft.Sim.Tests/CoalitionChangesTests.csindex a8a5ff971..04c181d39 100644--- a/sim/Statecraft.Sim.Tests/CoalitionChangesTests.cs+++ b/sim/Statecraft.Sim.Tests/CoalitionChangesTests.cs@@ -187,6 +187,51 @@ public class CoalitionChangesTestsstatic readonly Content Real = ContentLoader.Load(RealContentTests.ContentRoot());+ [Fact]+ public void TheSecondGovernmentFacesTheSecondKnessetThroughItsListsSuccessors()+ {+ // #315: from 20 August 1951 the transitional Second Government is measured against the Second Knesset, where+ // the United Religious Front's MKs sat as four lists and the Democratic List of Nazareth's as the Democratic+ // List for Israeli Arabs (Knesset faction records). Without them it read 51 of 120.+ var second = Real.Governments.Single(g => g.Id == "second_government");+ Assert.Equal(second.Coalition, second.CoalitionOn(new DateTime(1951, 8, 19)));+ Assert.Equal(new[] { "mapai", "united_religious_front", "progressive", "sephardim", "democratic_list_nazareth" }, second.CoalitionOn(new DateTime(1951, 8, 19)));+ var change = second.CoalitionChanges.Single();+ Assert.Equal(new DateTime(1951, 8, 20), change.Date);+ Assert.Empty(change.Leaves);+ Assert.Equal(new[] { "hapoel_hamizrachi", "mizrachi", "agudat_yisrael", "poalei_agudat_yisrael", "democratic_list_israeli_arabs" }, change.Joins);+ foreach (var party in new[] { "mapai", "hapoel_hamizrachi", "agudat_yisrael" })+ Assert.Contains(party, second.CoalitionOn(new DateTime(1951, 8, 20)));+ Assert.Equal((73, 120), PoliticsSystem.CoalitionSeats(Real, new DateTime(1951, 8, 19))); // the First Knesset+ Assert.Equal((69, 120), PoliticsSystem.CoalitionSeats(Real, new DateTime(1951, 8, 20))); // 45 + 8 + 2 + 3 + 2 + 3 + 4 + 2+ Assert.Equal((69, 120), PoliticsSystem.CoalitionSeats(Real, new DateTime(1951, 10, 7)));+ Assert.True(PoliticsSystem.HasMajority(Real, new DateTime(1951, 8, 20)));+ }++ [Fact]+ public void ThePlayerCanReappointShapiraAndLevinInTheSecondKnesset()+ {+ // Their Second Government terms take their Second Knesset factions from 20 August 1951 (#457), so those+ // factions must be in the coalition for the cabinet's party rule.+ var s = new GameState { Date = new DateTime(1951, 9, 1) };+ Assert.Equal("hapoel_hamizrachi", Offices.PartyOf(Real, Real.People.Single(p => p.Id == "shapira"), s.Date));+ Assert.Equal("agudat_yisrael", Offices.PartyOf(Real, Real.People.Single(p => p.Id == "levin"), s.Date));+ Assert.Null(Cabinet.Check(Real, s, "welfare_minister", "shapira"));+ Assert.Null(Cabinet.Check(Real, s, "health_minister", "levin"));+ Assert.Null(Cabinet.Check(Real, s, "health_minister", "sheetrit")); // Mapai from that day+ var before = new GameState { Date = new DateTime(1951, 8, 19) };+ Assert.Null(Cabinet.Check(Real, before, "welfare_minister", "shapira")); // still the United Religious Front+ }++ [Fact]+ public void ARealRunReportsTheSecondGovernmentsListsJoiningWithTheSecondKnesset()+ {+ var why = new List<Cause>();+ PoliticsSystem.ReportChanges(Real, new DateTime(1951, 8, 18), new DateTime(1951, 8, 22), why);+ Assert.Contains(why, w => w.Message == "Second Knesset convened (120 seats, elected 30 July 1951); coalition holds 69/120");+ Assert.Contains(why, w => w.Message == "Hapoel HaMizrachi, Mizrachi, Agudat Yisrael, Poalei Agudat Yisrael, Democratic List for Israeli Arabs joined the coalition (coalition holds 69/120)");+ }+[Fact]public void TheThirdGovernmentLosesTheAgudotIn1952AndHasNoMajorityUntilTheFourth(){diff --git a/sim/Statecraft.Sim.Tests/RealContentTests.cs b/sim/Statecraft.Sim.Tests/RealContentTests.csindex 66e111a3e..2e810a3e9 100644--- a/sim/Statecraft.Sim.Tests/RealContentTests.cs+++ b/sim/Statecraft.Sim.Tests/RealContentTests.cs@@ -241,7 +241,7 @@ public class RealContentTestsAssert.Equal("first_knesset", Offices.Legislature(C, new DateTime(1951, 8, 19))!.Id);Assert.Equal("second_knesset", Offices.Legislature(C, new DateTime(1951, 8, 20))!.Id);Assert.Equal((73, 120), PoliticsSystem.CoalitionSeats(C, new DateTime(1951, 1, 1)));- Assert.Equal((51, 120), PoliticsSystem.CoalitionSeats(C, new DateTime(1951, 9, 1))); // transitional government, new Knesset+ Assert.Equal((69, 120), PoliticsSystem.CoalitionSeats(C, new DateTime(1951, 9, 1))); // transitional government, new Knesset (#315)Assert.Equal((65, 120), PoliticsSystem.CoalitionSeats(C, new DateTime(1951, 10, 8)));}@@ -308,6 +308,15 @@ public class RealContentTestsvar sheetrit = C.People.Single(p => p.Id == "sheetrit");Assert.Equal("sephardim", Offices.PartyOf(C, sheetrit, new DateTime(1951, 1, 1)));Assert.Equal("mapai", Offices.PartyOf(C, sheetrit, new DateTime(1951, 10, 8)));+ // Second Knesset factions from 20 August 1951 (Knesset faction records, #457).+ Assert.Equal("mapai", Offices.PartyOf(C, sheetrit, new DateTime(1951, 8, 20)));+ Assert.Equal("sephardim", Offices.PartyOf(C, sheetrit, new DateTime(1951, 8, 19)));+ var shapira = C.People.Single(p => p.Id == "shapira");+ Assert.Equal("united_religious_front", Offices.PartyOf(C, shapira, new DateTime(1951, 8, 19)));+ Assert.Equal("hapoel_hamizrachi", Offices.PartyOf(C, shapira, new DateTime(1951, 8, 20)));+ var levin = C.People.Single(p => p.Id == "levin");+ Assert.Equal("united_religious_front", Offices.PartyOf(C, levin, new DateTime(1951, 8, 19)));+ Assert.Equal("agudat_yisrael", Offices.PartyOf(C, levin, new DateTime(1951, 8, 20)));Assert.Equal("", Offices.PartyOf(C, C.People.Single(p => p.Id == "geri"), new DateTime(1951, 1, 1)));}