Skip to content

A Civilization-style strategy game about governing Israel from 15 May 1948. Real ministers, real map, every fact sourced. Unity + deterministic C# sim.

test+content: document calibration tolerance, explicit independent anchors, aliyah and population provenance

eyalgolanc01225d1bd05
diff --git a/content/aliyah.yaml b/content/aliyah.yaml
index 3c8011e70..558945013 100644
--- a/content/aliyah.yaml
+++ b/content/aliyah.yaml
@@ -17,6 +17,7 @@ series:
status: fact-checked
# 1950 and 1951 rows parsed from the raw HTML of the JVL table (right-to-left; the row label follows the data). Each
# row sums exactly to the CBS total: 170,563 (1950) and 175,279 (1951), as in CBS Publication 1365, Table 1.
+ # The totals come from CBS 1365; the regional split comes from the JVL table.
- from: 1950-01-01
to: 1950-12-31
origins: { asia: 57565, africa: 26162, europe: 81195, america_oceania: 1954, unknown: 3687 }
diff --git a/content/population.yaml b/content/population.yaml
index 0c9ab5c15..500daf875 100644
--- a/content/population.yaml
+++ b/content/population.yaml
@@ -12,6 +12,8 @@ anchors:
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-checked
+ # The 1950 anchor inherits the simulated 1949 state, including the -0.5% end-1949 consistency drift; no parameter was
+ # fitted to it.
- date: 1950-12-31
jews: 1203000 # end of year (1,203.0 thousand)
sources: [{ url: "https://www.cbs.gov.il/he/publications/doclib/2023/2.shnatonpopulation/st02_01.pdf", checked: 2026-10-10 }]
diff --git a/sim/Statecraft.Sim.Tests/CalibrationTests.cs b/sim/Statecraft.Sim.Tests/CalibrationTests.cs
index cd88089b3..797aa687d 100644
--- a/sim/Statecraft.Sim.Tests/CalibrationTests.cs
+++ b/sim/Statecraft.Sim.Tests/CalibrationTests.cs
@@ -14,6 +14,8 @@ using Statecraft.Sim;
/// </summary>
public class CalibrationTests
{
+ // The M1 value. The largest observed margin is 2.3%, at the 1948-11-08 anchor. The 1951 undershoot (-1.2%) is a known
+ // limit of a constant natural-increase rate with no emigration.
const double Tolerance = 0.03;
static readonly Content C = ContentLoader.Load(RealContentTests.ContentRoot());
@@ -29,8 +31,9 @@ public class CalibrationTests
static readonly DateTime End = new DateTime(1952, 1, 1);
- static string Kind(DateTime d) =>
- d == new DateTime(1948, 11, 8) || d.Year >= 1950 ? "independent" : "consistency";
+ static readonly DateTime[] IndependentAnchors = { new DateTime(1948, 11, 8), new DateTime(1950, 12, 31), new DateTime(1951, 12, 31) };
+
+ static string Kind(DateTime d) => IndependentAnchors.Contains(d) ? "independent" : "consistency";
[Fact]
public void HistoricalPlaythroughMatchesCbsPopulationAnchors()