A Civilization-style strategy game about governing Israel from 15 May 1948. Real ministers, real map, every fact sourced. Unity + deterministic C# sim.
content: sourced 1948-49 people, legislatures, aliyah, population, events
eyalgolan75473694f271
diff --git a/content/aliyah.yaml b/content/aliyah.yamlnew file mode 100644index 000000000..2945ae3f7--- /dev/null+++ b/content/aliyah.yaml@@ -0,0 +1,17 @@+# Immigrants by continent of origin, CBS figures as tabulated by the Jewish Virtual Library.+series:+ - from: 1948-05-15+ to: 1948-12-31+ origins: { asia: 4739, africa: 8192, europe: 76554, america_oceania: 478, unknown: 11865 }+ sources:+ - { url: "https://jewishvirtuallibrary.org/jsource/Immigration/Immigration_by_Period_and_Continent.html", checked: 2026-10-09 }+ - { url: "https://www.jewishvirtuallibrary.org/total-immigration-to-israel-by-year", checked: 2026-10-09 }+ status: fact-checked+ - from: 1949-01-01+ to: 1949-12-31+ # The research notes saw 249,954 in one secondary source; CBS-based tables give 239,954, which is used.+ origins: { asia: 71652, africa: 39215, europe: 121963, america_oceania: 1422, unknown: 5702 }+ sources:+ - { url: "https://jewishvirtuallibrary.org/jsource/Immigration/Immigration_by_Period_and_Continent.html", checked: 2026-10-09 }+ - { url: "https://www.jewishvirtuallibrary.org/total-immigration-to-israel-by-year", checked: 2026-10-09 }+ status: fact-checkeddiff --git a/content/events/armistice_egypt.yaml b/content/events/armistice_egypt.yamlnew file mode 100644index 000000000..f247fdf6c--- /dev/null+++ b/content/events/armistice_egypt.yaml@@ -0,0 +1,21 @@+id: armistice_egypt+title: Armistice with Egypt+text: 'Talks in Rhodes have produced an armistice agreement with Egypt. {prime_minister} must decide whether Israel signs.'+anchor: hard+office: prime_minister+from: 1949-02-24+options:+ - id: sign+ text: Sign the armistice+ historical: true+ recommended: true+ set_rung: 2+ effects:+ - { target: intl_standing, delta: 0.05 }+ - id: hold_out+ text: Refuse and keep fighting+ effects:+ - { target: intl_standing, delta: -0.10 }+sources:+ - { url: "https://en.wikipedia.org/wiki/1949_Armistice_Agreements", checked: 2026-10-09 }+status: fact-checkeddiff --git a/content/events/armistice_jordan.yaml b/content/events/armistice_jordan.yamlnew file mode 100644index 000000000..cf16a6d97--- /dev/null+++ b/content/events/armistice_jordan.yaml@@ -0,0 +1,22 @@+id: armistice_jordan+title: Armistice with Jordan+text: 'Negotiators have reached an armistice agreement with Jordan. {prime_minister} must decide whether Israel signs.'+anchor: hard+office: prime_minister+from: 1949-04-03+options:+ - id: sign+ text: Sign the armistice+ historical: true+ recommended: true+ set_rung: 2+ effects:+ - { target: intl_standing, delta: 0.05 }+ - id: hold_out+ text: Refuse and keep fighting+ set_rung: 4+ effects:+ - { target: intl_standing, delta: -0.10 }+sources:+ - { url: "https://en.wikipedia.org/wiki/1949_Armistice_Agreements", checked: 2026-10-09 }+status: fact-checkeddiff --git a/content/events/armistice_lebanon.yaml b/content/events/armistice_lebanon.yamlnew file mode 100644index 000000000..2b07f0cf0--- /dev/null+++ b/content/events/armistice_lebanon.yaml@@ -0,0 +1,22 @@+id: armistice_lebanon+title: Armistice with Lebanon+text: 'Negotiators have reached an armistice agreement with Lebanon. {prime_minister} must decide whether Israel signs.'+anchor: hard+office: prime_minister+from: 1949-03-23+options:+ - id: sign+ text: Sign the armistice+ historical: true+ recommended: true+ set_rung: 2+ effects:+ - { target: intl_standing, delta: 0.05 }+ - id: hold_out+ text: Refuse and keep fighting+ set_rung: 4+ effects:+ - { target: intl_standing, delta: -0.10 }+sources:+ - { url: "https://en.wikipedia.org/wiki/1949_Armistice_Agreements", checked: 2026-10-09 }+status: fact-checkeddiff --git a/content/events/armistice_syria.yaml b/content/events/armistice_syria.yamlnew file mode 100644index 000000000..3eb29c8bd--- /dev/null+++ b/content/events/armistice_syria.yaml@@ -0,0 +1,22 @@+id: armistice_syria+title: Armistice with Syria+text: 'Negotiators have reached an armistice agreement with Syria. {prime_minister} must decide whether Israel signs.'+anchor: hard+office: prime_minister+from: 1949-07-20+options:+ - id: sign+ text: Sign the armistice+ historical: true+ recommended: true+ set_rung: 2+ effects:+ - { target: intl_standing, delta: 0.05 }+ - id: hold_out+ text: Refuse and keep fighting+ set_rung: 4+ effects:+ - { target: intl_standing, delta: -0.10 }+sources:+ - { url: "https://en.wikipedia.org/wiki/1949_Armistice_Agreements", checked: 2026-10-09 }+status: fact-checkeddiff --git a/content/events/austerity_1949.yaml b/content/events/austerity_1949.yamlnew file mode 100644index 000000000..9274f3599--- /dev/null+++ b/content/events/austerity_1949.yaml@@ -0,0 +1,24 @@+id: austerity_1949+title: Austerity+text: 'Food and foreign currency cannot keep pace with the immigrants arriving every week. {rationing_minister}, heading the new Ministry of Rationing and Supply, proposes strict rationing.'+anchor: hard+office: rationing_minister+from: 1949-03-10+to: 1950-01-01+options:+ - id: impose+ text: Impose rationing+ historical: true+ recommended: true+ effects:+ - { target: food_supply, delta: 0.15 }+ - { target: morale, delta: -0.05 }+ - id: decline+ text: Keep markets free and import more+ effects:+ - { target: fx_reserves, delta: -8 }+ - { target: food_supply, delta: -0.05 }+sources:+ - { url: "https://en.wikipedia.org/wiki/Austerity_in_Israel", checked: 2026-10-09 }+ - { url: "https://en.wikipedia.org/wiki/First_government_of_Israel", checked: 2026-10-09 }+status: fact-checkeddiff --git a/content/governments.yaml b/content/governments.yamlnew file mode 100644index 000000000..3880fdad8--- /dev/null+++ b/content/governments.yaml@@ -0,0 +1,19 @@+governments:+ - id: provisional_government+ name: Provisional Government+ from: 1948-05-14+ to: 1949-03-10+ coalition: [mapai, mapam, general_zionists, new_aliyah, mizrachi, hapoel_hamizrachi, agudat_yisrael, sephardim, ahdut_haavoda_poalei_tzion, poale_zion_left, independent]+ sources:+ - { url: "https://en.wikipedia.org/wiki/Provisional_government_of_Israel", checked: 2026-10-09 }+ - { url: "https://en.wikipedia.org/wiki/Provisional_State_Council", checked: 2026-10-09 }+ status: fact-checked+ - id: first_government+ name: First Government+ # Sources differ (8 vs 10 March 1949); 10 March is the Knesset confidence vote recorded in Ben-Gurion's diary.+ from: 1949-03-10+ coalition: [mapai, united_religious_front, progressive, sephardim, democratic_list_nazareth]+ sources:+ - { url: "https://en.wikipedia.org/wiki/First_government_of_Israel", checked: 2026-10-09 }+ - { url: "https://bengurionarchive.bgu.ac.il/en/node/14566", checked: 2026-10-09 }+ status: fact-checkeddiff --git a/content/legislatures.yaml b/content/legislatures.yamlnew file mode 100644index 000000000..7642b023b--- /dev/null+++ b/content/legislatures.yaml@@ -0,0 +1,52 @@+legislatures:+ - id: provisional_state_council+ body: Provisional State Council+ from: 1948-05-14+ to: 1949-02-14+ size: 37+ budget_approval: false+ open_questions: [budget_approval]+ seats:+ mapai: 10+ mapam: 3+ general_zionists: 3+ new_aliyah: 3+ mizrachi: 3+ hapoel_hamizrachi: 2+ agudat_yisrael: 2+ sephardim: 1+ ahdut_haavoda_poalei_tzion: 1+ poale_zion_left: 1+ independent: 1+ hatzohar: 3+ poalei_agudat_yisrael: 1+ maki: 1+ wizo: 1+ yemenite_association: 1+ sources:+ - { url: "https://en.wikipedia.org/wiki/Provisional_State_Council", checked: 2026-10-09 }+ status: fact-checked+ - id: first_knesset+ body: Constituent Assembly (First Knesset)+ elected: 1949-01-25+ from: 1949-02-14+ size: 120+ budget_approval: true+ open_questions: [budget_approval]+ seats:+ mapai: 46+ mapam: 19+ united_religious_front: 16+ herut: 14+ general_zionists: 7+ progressive: 5+ sephardim: 4+ maki: 4+ democratic_list_nazareth: 2+ fighters_list: 1+ wizo: 1+ yemenite_association: 1+ sources:+ - { url: "https://en.wikipedia.org/wiki/1949_Israeli_Constituent_Assembly_election", checked: 2026-10-09 }+ - { url: "https://en.wikipedia.org/wiki/Knesset", checked: 2026-10-09 }+ status: fact-checkeddiff --git a/content/model.yaml b/content/model.yamlnew file mode 100644index 000000000..9a206042f--- /dev/null+++ b/content/model.yaml@@ -0,0 +1,40 @@+# Game design values (not historical facts): indicators run 0..1.+indicators:+ - { id: morale, base: 0.55 }+ - { id: food_supply, base: 0.40 }+ - { id: housing, base: 0.35 }+ - { id: security, base: 0.30 }+ - { id: intl_standing, base: 0.50 }+policies:+ - { id: rationing, default: 0.0, office: rationing_minister }+ - { id: housing_construction, default: 0.3, office: labour_minister }+ - { id: border_settlement, default: 0.2, office: agriculture_minister }+effects:+ - { id: rationing_feeds, source: rationing, target: food_supply, k: 0.40, inertia: 2, office: rationing_minister }+ - { id: rationing_grates, source: rationing, target: morale, k: -0.15, inertia: 1 }+ - { id: building_houses, source: housing_construction, target: housing, k: 0.35, inertia: 4, office: labour_minister }+ - { id: homes_lift_morale, source: housing, target: morale, k: 0.15, inertia: 2 }+ - { id: border_villages_secure, source: border_settlement, target: security, k: 0.30, inertia: 4, office: agriculture_minister }+ - { id: safety_lifts_morale, source: security, target: morale, k: 0.10, inertia: 2 }+situations:+ - { id: food_crisis, indicator: food_supply, on_below: 0.30, off_above: 0.45 }+ - { id: housing_crisis, indicator: housing, on_below: 0.25, off_above: 0.40 }+voter_groups:+ - { id: veterans, weights: { morale: 0.6, security: 0.4 } }+ - { id: new_immigrants, weights: { housing: 0.5, food_supply: 0.5 } }+ - { id: religious, weights: { morale: 0.7, security: 0.3 } }+ - { id: labour_movement, weights: { morale: 0.5, housing: 0.5 } }+actors:+ - { id: usa, name: United States, standing: 0.6 }+ - { id: ussr, name: Soviet Union, standing: 0.6 }+ - { id: france, name: France, standing: 0.5 }+ - { id: uk, name: United Kingdom, standing: 0.3 }+ - { id: west_germany, name: West Germany, standing: 0.0 }+ - { id: un, name: United Nations, standing: 0.5 }+ - { id: egypt, name: Egypt, standing: 0.0 }+ - { id: jordan, name: Jordan, standing: 0.1 }+ - { id: syria, name: Syria, standing: 0.0 }+ - { id: lebanon, name: Lebanon, standing: 0.1 }+ - { id: iraq, name: Iraq, standing: 0.0 }+ - { id: arab_refugees, name: Arab refugees, standing: 0.0 }+ - { id: arab_citizens, name: Arab citizens of Israel, standing: 0.3 }diff --git a/content/offices.yaml b/content/offices.yamlnew file mode 100644index 000000000..2c7e1499d--- /dev/null+++ b/content/offices.yaml@@ -0,0 +1,21 @@+offices:+ - { id: prime_minister, title: Prime Minister }+ - { id: defense_minister, title: Minister of Defense }+ - { id: finance_minister, title: Minister of Finance }+ - { id: foreign_minister, title: Minister of Foreign Affairs }+ - { id: health_minister, title: Minister of Health }+ - { id: immigration_minister, title: Minister of Immigration }+ - { id: interior_minister, title: Minister of Internal Affairs }+ - { id: justice_minister, title: Minister of Justice }+ - { id: agriculture_minister, title: Minister of Agriculture }+ - { id: labour_minister, title: Minister of Labour }+ - { id: police_minister, title: Minister of Police }+ - { id: minority_affairs_minister, title: Minister of Minority Affairs }+ - { id: religions_minister, title: Minister of Religions }+ - { id: war_victims_minister, title: Minister of War Victims }+ - { id: trade_minister, title: Minister of Trade and Industry }+ - { id: transportation_minister, title: Minister of Transportation }+ - { id: welfare_minister, title: Minister of Welfare }+ - { id: education_minister, title: Minister of Education and Culture }+ - { id: rationing_minister, title: Minister of Rationing and Supply }+ - { id: chief_of_staff, title: IDF Chief of the General Staff }diff --git a/content/parties.yaml b/content/parties.yamlnew file mode 100644index 000000000..c600e3d03--- /dev/null+++ b/content/parties.yaml@@ -0,0 +1,23 @@+# Names as listed in the Provisional State Council and 1949 election sources (see legislatures.yaml).+parties:+ - { id: mapai, name: Mapai }+ - { id: mapam, name: Mapam }+ - { id: general_zionists, name: General Zionists }+ - { id: new_aliyah, name: New Aliyah }+ - { id: mizrachi, name: Mizrachi }+ - { id: hapoel_hamizrachi, name: Hapoel HaMizrachi }+ - { id: agudat_yisrael, name: Agudat Yisrael }+ - { id: sephardim, name: Sephardim and Oriental Communities }+ - { id: ahdut_haavoda_poalei_tzion, name: Ahdut HaAvoda-Poalei Tzion }+ - { id: poale_zion_left, name: Poale Zion Left }+ - { id: independent, name: Independent }+ - { id: hatzohar, name: Hatzohar }+ - { id: poalei_agudat_yisrael, name: Poalei Agudat Yisrael }+ - { id: maki, name: Maki }+ - { id: wizo, name: WIZO }+ - { id: yemenite_association, name: Yemenite Association }+ - { id: united_religious_front, name: United Religious Front }+ - { id: herut, name: Herut }+ - { id: progressive, name: Progressive Party }+ - { id: democratic_list_nazareth, name: Democratic List of Nazareth }+ - { id: fighters_list, name: Fighters' List }diff --git a/content/people.yaml b/content/people.yamlnew file mode 100644index 000000000..8cd443dfd--- /dev/null+++ b/content/people.yaml@@ -0,0 +1,176 @@+# Offices and dates are historical facts (sourced per term). competence/loyalty are game-balance values, not facts.+# Periods are [from, to). Terms without `to` continue beyond the M1 content range (end of 1949).+# Portraits: public-domain files fetched with license check (promo/CREDITS.md).+people:+ - id: ben_gurion+ name: David Ben-Gurion+ party: mapai+ competence: 9+ loyalty: 10+ portrait: { file: promo/ref/people/David_Ben-Gurion.jpg, license: Public domain, source: "https://commons.wikimedia.org/wiki/File:David_Ben-Gurion_(D597-087).jpg" }+ offices:+ - { office: prime_minister, from: 1948-05-14, sources: &prov [{ url: "https://en.wikipedia.org/wiki/Provisional_government_of_Israel", checked: 2026-10-09 }] }+ - { office: defense_minister, from: 1948-05-14, sources: *prov }+ status: fact-checked+ - id: zisling+ name: Aharon Zisling+ party: mapam+ competence: 6+ loyalty: 5+ portrait: { file: promo/ref/people/Aharon_Zisling.jpg, license: Public domain, source: "https://commons.wikimedia.org/wiki/File:Aharon_Zisling.jpg" }+ offices:+ - { office: agriculture_minister, from: 1948-05-14, to: 1949-03-10, sources: *prov }+ status: fact-checked+ - id: kaplan+ name: Eliezer Kaplan+ party: mapai+ competence: 8+ loyalty: 9+ portrait: { file: promo/ref/people/Eliezer_Kaplan.jpg, license: Public domain, source: "https://commons.wikimedia.org/wiki/File:Eliezer_Kaplan.jpg" }+ offices:+ - { office: finance_minister, from: 1948-05-14, to: 1949-03-10, sources: *prov }+ - { office: finance_minister, from: 1949-03-10, sources: &first [{ url: "https://en.wikipedia.org/wiki/First_government_of_Israel", checked: 2026-10-09 }, { url: "https://bengurionarchive.bgu.ac.il/en/node/14566", checked: 2026-10-09 }] }+ - { office: trade_minister, from: 1949-03-10, sources: *first }+ status: fact-checked+ - id: sharett+ name: Moshe Sharett+ party: mapai+ competence: 8+ loyalty: 8+ portrait: { file: promo/ref/people/Moshe_Sharett.jpg, license: Public domain, source: "https://commons.wikimedia.org/wiki/File:Moshe_Sharett_Portrait.jpg" }+ offices:+ - { office: foreign_minister, from: 1948-05-14, to: 1949-03-10, sources: *prov }+ - { office: foreign_minister, from: 1949-03-10, sources: *first }+ status: fact-checked+ - id: shapira+ name: Haim-Moshe Shapira+ party: hapoel_hamizrachi+ competence: 7+ loyalty: 7+ portrait: { file: promo/ref/people/Haim-Moshe_Shapira.jpg, license: Public domain, source: "https://commons.wikimedia.org/wiki/File:Moshe_Shapira.jpg" }+ offices:+ - { office: health_minister, from: 1948-05-14, to: 1949-03-10, sources: *prov }+ - { office: immigration_minister, from: 1948-05-14, to: 1949-03-10, sources: *prov }+ - { office: health_minister, from: 1949-03-10, sources: *first }+ - { office: immigration_minister, from: 1949-03-10, sources: *first }+ - { office: interior_minister, from: 1949-03-10, sources: *first }+ status: fact-checked+ - id: gruenbaum+ name: Yitzhak Gruenbaum+ party: independent+ competence: 6+ loyalty: 6+ portrait: { file: promo/ref/people/Yitzhak_Gruenbaum.jpg, license: Public domain, source: "https://commons.wikimedia.org/wiki/File:Yitzhak_Gruenbaum_1948.jpg" }+ offices:+ - { office: interior_minister, from: 1948-05-14, to: 1949-03-10, sources: *prov }+ status: fact-checked+ - id: rosen+ name: Pinchas Rosen+ party: new_aliyah+ competence: 8+ loyalty: 7+ portrait: { file: promo/ref/people/Pinchas_Rosen.jpg, license: Public domain, source: "https://commons.wikimedia.org/wiki/File:Pinchas_Rosen.jpg" }+ offices:+ - { office: justice_minister, from: 1948-05-14, to: 1949-03-10, sources: *prov }+ - { office: justice_minister, from: 1949-03-10, sources: *first }+ status: fact-checked+ - id: bentov+ name: Mordechai Bentov+ party: mapam+ competence: 7+ loyalty: 5+ portrait: { file: promo/ref/people/Mordechai_Bentov.jpg, license: Public domain, source: "https://commons.wikimedia.org/wiki/File:MordechaiBentov.jpg" }+ offices:+ - { office: labour_minister, from: 1948-05-14, to: 1949-03-10, sources: *prov }+ status: fact-checked+ - id: sheetrit+ name: Bechor-Shalom Sheetrit+ party: sephardim+ competence: 7+ loyalty: 7+ portrait: { file: promo/ref/people/Bechor-Shalom_Sheetrit.jpg, license: Public domain, source: "https://commons.wikimedia.org/wiki/File:Bechor-Shalom_Shitreet.jpg" }+ offices:+ - { 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, sources: *first }+ status: fact-checked+ - id: maimon+ name: Yehuda Leib Maimon+ party: mizrachi+ competence: 6+ loyalty: 7+ portrait: { file: promo/ref/people/Yehuda_Leib_Maimon.jpg, license: Public domain, source: "https://commons.wikimedia.org/wiki/File:Yehuda_Leib_Maimon.jpg" }+ offices:+ - { office: religions_minister, from: 1948-05-14, to: 1949-03-10, sources: *prov }+ - { office: war_victims_minister, from: 1948-05-14, to: 1949-03-10, sources: *prov }+ - { office: religions_minister, from: 1949-03-10, sources: *first }+ - { office: war_victims_minister, from: 1949-03-10, sources: *first }+ status: fact-checked+ - id: bernstein+ name: Peretz Bernstein+ party: general_zionists+ competence: 7+ loyalty: 6+ portrait: { file: promo/ref/people/Peretz_Bernstein.jpg, license: Public domain, source: "https://commons.wikimedia.org/wiki/File:Peretz_Bernstein.jpg" }+ offices:+ - { office: trade_minister, from: 1948-05-14, to: 1949-03-10, sources: *prov }+ status: fact-checked+ - id: remez+ name: David Remez+ party: mapai+ competence: 7+ loyalty: 8+ portrait: { file: promo/ref/people/David_Remez.jpg, license: Public domain, source: "https://commons.wikimedia.org/wiki/File:David_Remez_(cropped).jpg" }+ offices:+ - { office: transportation_minister, from: 1948-05-14, to: 1949-03-10, sources: *prov }+ - { office: transportation_minister, from: 1949-03-10, sources: *first }+ status: fact-checked+ - id: levin+ name: Yitzhak-Meir Levin+ party: agudat_yisrael+ competence: 6+ loyalty: 6+ portrait: { file: promo/ref/people/Yitzhak-Meir_Levin.jpg, license: Public domain, source: "https://commons.wikimedia.org/wiki/File:Yitzhak_Meir_Levin.jpg" }+ offices:+ - { office: welfare_minister, from: 1948-05-14, to: 1949-03-10, sources: *prov }+ - { office: welfare_minister, from: 1949-03-10, sources: *first }+ status: fact-checked+ - id: dov_yosef+ name: Dov Yosef+ party: mapai+ competence: 7+ loyalty: 8+ offices:+ - { office: agriculture_minister, from: 1949-03-10, sources: *first }+ - { office: rationing_minister, from: 1949-03-10, sources: *first }+ status: fact-checked+ - id: shazar+ name: Zalman Shazar+ party: mapai+ competence: 7+ loyalty: 8+ offices:+ - { office: education_minister, from: 1949-03-10, sources: *first }+ status: fact-checked+ - id: golda_meir+ name: Golda Meir+ party: mapai+ competence: 8+ loyalty: 9+ offices:+ - { office: labour_minister, from: 1949-03-10, sources: *first }+ status: fact-checked+ - id: dori+ name: Yaakov Dori+ competence: 7+ loyalty: 8+ offices:+ - { office: chief_of_staff, from: 1947-06-01, to: 1949-11-09, sources: &cos [{ url: "https://en.wikipedia.org/wiki/Chief_of_the_General_Staff_(Israel)", checked: 2026-10-09 }] }+ status: fact-checked+ - id: yadin+ name: Yigael Yadin+ competence: 8+ loyalty: 8+ offices:+ - { office: chief_of_staff, from: 1949-11-09, sources: *cos }+ status: fact-checkeddiff --git a/content/population.yaml b/content/population.yamlnew file mode 100644index 000000000..4e3dd62de--- /dev/null+++ b/content/population.yaml@@ -0,0 +1,14 @@+# Jewish population, CBS Statistical Abstract table 2.1 (thousands, converted).+anchors:+ - date: 1948-11-08+ jews: 716700 # census day+ sources: [{ url: "https://www.cbs.gov.il/he/publications/doclib/2023/2.shnatonpopulation/st02_01.pdf", checked: 2026-10-09 }]+ status: fact-checked+ - date: 1948-12-31+ jews: 758700 # end of year+ sources: [{ url: "https://www.cbs.gov.il/he/publications/doclib/2023/2.shnatonpopulation/st02_01.pdf", checked: 2026-10-09 }]+ status: fact-checked+ - date: 1949-12-31+ jews: 1013900 # end of year+ sources: [{ url: "https://www.cbs.gov.il/he/publications/doclib/2023/2.shnatonpopulation/st02_01.pdf", checked: 2026-10-09 }]+ status: fact-checkeddiff --git a/content/rules.yaml b/content/rules.yamlnew file mode 100644index 000000000..3aaedd261--- /dev/null+++ b/content/rules.yaml@@ -0,0 +1,29 @@+# Game rules. Values are game balance, except where a comment cites a source.+start: 1948-05-15 # first day covered by the CBS 1948 immigration series (aliyah.yaml)+start_rung: 5 # the war is under way when the slice opens+attention_per_turn: 4+attention_cost: { set_policy: 1, allocate_budget: 2, choose_event_option: 1, set_mobilization: 1, security_order: 1 }+rung_attention_step: 0.25+rung_min_mobilization: [0.02, 0.05, 0.15, 0.4, 0.8]+ceasefire_weeks: 52 # long enough that the historical armistice events end the war first+treasury_start: 20+fx_start: 40+tax_per_capita_per_year: 0.00012+spending_per_capita_per_year: 0.00016+exports_per_year: 30+imports_per_capita_per_year: 0.00008+mobilization_cost_per_year: 60+# Derived from CBS table 2.1 (1949): (end-1949 1,013.9k - end-1948 758.7k - 1949 immigrants 239,954) / average 1949 population 901.0k.+natural_increase_per_year: 0.0169+# Derived: CBS end-1948 Jewish population 758,700 minus 101,828 immigrants (15 May-31 Dec 1948) minus natural increase over+# 7.5 months at the rate above. Checked against the 8 Nov 1948 census by the calibration test.+initial_population: { veterans: 649400 }+budget_start:+ defense_minister: 0.45+ finance_minister: 0.05+ immigration_minister: 0.15+ labour_minister: 0.10+ health_minister: 0.07+ education_minister: 0.06+ agriculture_minister: 0.07+ interior_minister: 0.05diff --git a/sim/Statecraft.Sim.Tests/RealContentTests.cs b/sim/Statecraft.Sim.Tests/RealContentTests.csnew file mode 100644index 000000000..f26bf7f47--- /dev/null+++ b/sim/Statecraft.Sim.Tests/RealContentTests.cs@@ -0,0 +1,70 @@+using System;+using System.IO;+using System.Linq;+using Statecraft.Sim;++/// <summary>Checks the real content/ folder at the repository root.</summary>+public class RealContentTests+{+ public static string ContentRoot()+ {+ var dir = new DirectoryInfo(AppContext.BaseDirectory);+ while (dir != null && !File.Exists(Path.Combine(dir.FullName, "content", "people.yaml"))) dir = dir.Parent;+ return Path.Combine(dir?.FullName ?? throw new DirectoryNotFoundException("content/people.yaml not found above test dir"), "content");+ }++ static readonly Content C = ContentLoader.Load(ContentRoot());+ static readonly DateTime Checked = new DateTime(2026, 10, 9);++ [Fact]+ public void EveryHistoricalRecordIsSourcedAndFactChecked()+ {+ foreach (var p in C.People)+ {+ Assert.True(p.Status == "fact-checked", $"people[{p.Id}] status {p.Status}");+ foreach (var t in p.Offices) Assert.True(t.Sources.Count > 0, $"people[{p.Id}].offices.{t.Office} has no source");+ }+ foreach (var l in C.Legislatures) { Assert.Equal("fact-checked", l.Status); Assert.NotEmpty(l.Sources); }+ foreach (var g in C.Governments) { Assert.Equal("fact-checked", g.Status); Assert.NotEmpty(g.Sources); }+ foreach (var a in C.Aliyah) { Assert.Equal("fact-checked", a.Status); Assert.NotEmpty(a.Sources); }+ foreach (var a in C.PopulationAnchors) { Assert.Equal("fact-checked", a.Status); Assert.NotEmpty(a.Sources); }+ foreach (var e in C.Events) { Assert.Equal("fact-checked", e.Status); Assert.NotEmpty(e.Sources); }+ var all = C.People.SelectMany(p => p.Offices.SelectMany(t => t.Sources))+ .Concat(C.Legislatures.SelectMany(l => l.Sources)).Concat(C.Governments.SelectMany(g => g.Sources))+ .Concat(C.Aliyah.SelectMany(a => a.Sources)).Concat(C.PopulationAnchors.SelectMany(a => a.Sources))+ .Concat(C.Events.SelectMany(e => e.Sources));+ Assert.All(all, s => { Assert.StartsWith("https://", s.Url); Assert.Equal(Checked, s.Checked); });+ }++ [Fact]+ public void OpenQuestionsAreExactlyTheKnownOnes()+ {+ var open = C.Legislatures.SelectMany(l => l.OpenQuestions.Select(q => $"{l.Id}.{q}")).OrderBy(x => x).ToArray();+ Assert.Equal(new[] { "first_knesset.budget_approval", "provisional_state_council.budget_approval" }, open);+ }++ [Fact]+ public void EveryEventTextResolvesOnItsStartDate()+ {+ foreach (var e in C.Events)+ {+ Offices.Fill(C, e.Title, e.From);+ Offices.Fill(C, e.Text, e.From);+ foreach (var o in e.Options) Offices.Fill(C, o.Text, e.From);+ }+ }++ [Fact]+ public void SpotChecksAgainstVerifiedFacts()+ {+ Assert.Equal("ben_gurion", Offices.Holder(C, "defense_minister", new DateTime(1948, 6, 1))!.Id);+ Assert.Equal("dori", Offices.Holder(C, "chief_of_staff", new DateTime(1949, 11, 8))!.Id);+ Assert.Equal("yadin", Offices.Holder(C, "chief_of_staff", new DateTime(1949, 11, 9))!.Id);+ Assert.Equal("dov_yosef", Offices.Holder(C, "rationing_minister", new DateTime(1949, 6, 1))!.Id);+ Assert.Equal((30, 37), PoliticsSystem.CoalitionSeats(C, new DateTime(1948, 6, 1)));+ Assert.Equal((73, 120), PoliticsSystem.CoalitionSeats(C, new DateTime(1949, 6, 1)));+ Assert.Equal(101828, C.Aliyah[0].Origins.Values.Sum());+ Assert.Equal(239954, C.Aliyah[1].Origins.Values.Sum());+ Assert.Equal(13, C.Actors.Count);+ }+}diff --git a/sim/Statecraft.Sim/Content.cs b/sim/Statecraft.Sim/Content.csindex 5e57c0249..62e4c6e68 100644--- a/sim/Statecraft.Sim/Content.cs+++ b/sim/Statecraft.Sim/Content.cs@@ -46,6 +46,8 @@ namespace Statecraft.Simpublic int Size { get; set; }public bool BudgetApproval { get; set; }public Dictionary<string, int> Seats { get; set; } = new Dictionary<string, int>();+ /// <summary>Fields of this record not yet verified (spec section 5 "open fact"). Kept explicit and tested.</summary>+ public List<string> OpenQuestions { get; set; } = new List<string>();public List<Source> Sources { get; set; } = new List<Source>();public string Status { get; set; } = "draft";}