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.

content: title_he_form marks a person whose Hebrew office titles are feminine; Golda Meir (refs #558) (#661)

Eyal Golan28a903b1d216
diff --git a/CHANGELOG.md b/CHANGELOG.md
index c53d9d94c..afe463569 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -21,6 +21,11 @@ adds a line under **Unreleased**; CI's `Changelog` job checks this (see `CONTRIB
(Q-CUT-8). Every golden moves; the cutover re-pins them once.
### Added
+- `title_he_form: feminine` in `people.yaml` (refs #558): a person so marked takes the offices' feminine Hebrew title
+ (`title_he_f`, שרת העבודה) through `Office.TitleHeFor`, sourced in `biography_sources.title_he_form`. The loader
+ refuses any other value, a blank, a missing source, and a marked person holding an office without `title_he_f`.
+ Golda Meir is marked; she is the only woman in the Knesset's government position records for 1948-1956 (KNS_Person,
+ checked 15 October 2026). Display only: no golden moves.
- A person's sign-off beside a status (refs #375, #564, #611; owner, 15 October 2026: "Yes, humans only"): every status
row takes `reviewed_by` (the reviewer's GitHub handle, never an email) and `reviewed_on` (the day), both or neither.
The sim's loader, the map's readers (localities, the 1945 populations, units) and `tools/routes_1948.py` refuse a
diff --git a/content/people.yaml b/content/people.yaml
index dc7ceeb28..a8b20be90 100644
--- a/content/people.yaml
+++ b/content/people.yaml
@@ -19,7 +19,11 @@
# measured on each picture; the event card keeps it in view (playtest 2, P2-5). For people in office from 1948 to 1952,
# the Hebrew name cites the Knesset's person record (KNS_Person) and birth and death dates cite the Knesset member pages
# (Internet Archive copies, as the live pages return a bot challenge) or the President's Office pages. Wikipedia stays
-# only for a value those records do not give or give differently (issue #457).
+# only for a value those records do not give or give differently (issue #457). title_he_form: feminine marks a person
+# whose Hebrew office titles take the offices.yaml title_he_f (שרת העבודה), sourced like the other biography values; it
+# is left out for the masculine title_he. Every person in the Knesset's government position records for governments 0-7
+# (KNS_PersonToPosition) was checked against KNS_Person.GenderDesc on 2026-10-15: Golda Meir is the only woman. The
+# people outside those records (the Presidents and the Chiefs of Staff) are men.
people:
- id: ben_gurion
name: David Ben-Gurion
@@ -559,10 +563,13 @@ people:
- id: golda_meir
name: Golda Meir
name_he: גולדה מאיר
+ title_he_form: feminine
born: 1898-05-03
died: 1978-12-08
biography_sources:
name_he: [{ url: "https://knesset.gov.il/Odata/ParliamentInfo.svc/KNS_Person(2448)", checked: 2026-10-14 }]
+ # The same Knesset record gives GenderDesc נקבה (GenderID 250).
+ title_he_form: [{ url: "https://knesset.gov.il/Odata/ParliamentInfo.svc/KNS_Person(2448)", checked: 2026-10-15 }]
born: &golda_meir_bio [{ url: "https://web.archive.org/web/20170930230625/http://www.knesset.gov.il:80/mk/heb/mk.asp?mk_individual_id_t=685", checked: 2026-10-14 }]
died: *golda_meir_bio
living: false
diff --git a/content/schema/people.schema.json b/content/schema/people.schema.json
index 7800c8b7f..6c9e575fd 100644
--- a/content/schema/people.schema.json
+++ b/content/schema/people.schema.json
@@ -32,6 +32,7 @@
"id": { "$ref": "#/definitions/id", "description": "Unique across people." },
"name": { "type": "string", "minLength": 1 },
"name_he": { "type": "string" },
+ "title_he_form": { "enum": ["feminine"], "description": "feminine: the person's Hebrew office titles take the offices' title_he_f (שרת העבודה). Leave out for the masculine title_he. Source it in biography_sources.title_he_form." },
"born": { "$ref": "#/definitions/date" },
"died": { "$ref": "#/definitions/date", "description": "Every office term must end by this day." },
"biography_sources": {
@@ -40,6 +41,7 @@
"additionalProperties": false,
"properties": {
"name_he": { "$ref": "#/definitions/sources" },
+ "title_he_form": { "$ref": "#/definitions/sources" },
"born": { "$ref": "#/definitions/sources" },
"died": { "$ref": "#/definitions/sources" }
}
diff --git a/sim/Statecraft.Sim.Tests/FeminineTitleTests.cs b/sim/Statecraft.Sim.Tests/FeminineTitleTests.cs
new file mode 100644
index 000000000..967cf9506
--- /dev/null
+++ b/sim/Statecraft.Sim.Tests/FeminineTitleTests.cs
@@ -0,0 +1,88 @@
+using System;
+using System.Collections.Generic;
+using System.Linq;
+using Statecraft.Sim;
+
+/// <summary>people.yaml's title_he_form (#558): a person marked feminine is shown with the offices' feminine Hebrew title
+/// (title_he_f, שרת העבודה), everyone else with title_he.</summary>
+public class FeminineTitleTests
+{
+ const string Src = "[{ url: 'https://example.org/he', checked: 2026-10-15 }]";
+
+ /// <summary>The fixture with Hebrew titles on the Prime Minister (both forms) and Defense (masculine only), and the
+ /// given lines after Pm One's name.</summary>
+ static Dictionary<string, string> Files(string pmOneLines, bool pmFeminine = true) => new Dictionary<string, string>
+ {
+ ["offices.yaml"] = Fixture.Files["offices.yaml"]
+ .Replace(" title: Prime Minister\n", " title: Prime Minister\n title_he: ראש הממשלה\n title_he_sources: " + Src + "\n"
+ + (pmFeminine ? " title_he_f: ראשת הממשלה\n title_he_f_sources: " + Src + "\n" : ""))
+ .Replace(" title: Minister of Defense\n", " title: Minister of Defense\n title_he: שר הביטחון\n title_he_sources: " + Src + "\n title_he_f: שרת הביטחון\n title_he_f_sources: " + Src + "\n"),
+ ["people.yaml"] = Fixture.Files["people.yaml"].Replace(" name: Pm One\n", " name: Pm One\n" + pmOneLines),
+ };
+
+ const string Feminine = " title_he_form: feminine\n biography_sources:\n title_he_form: " + Src + "\n";
+
+ static Content Load(Dictionary<string, string> files) => ContentLoader.Load(Fixture.Write(files));
+
+ [Fact]
+ public void AFeminineMarkedPersonGetsTheFeminineTitleAndOthersTheMasculine()
+ {
+ var c = Load(Files(Feminine));
+ var pm = c.Offices.Single(o => o.Id == "prime_minister");
+ var defense = c.Offices.Single(o => o.Id == "defense_minister");
+ var finance = c.Offices.Single(o => o.Id == "finance_minister");
+ var (pmOne, defTwo) = (c.People.Single(p => p.Id == "pm_one"), c.People.Single(p => p.Id == "def_two"));
+ Assert.Equal(TitleHeForms.Feminine, pmOne.TitleHeForm);
+ Assert.Equal("", defTwo.TitleHeForm);
+ Assert.Equal("ראשת הממשלה", pm.TitleHeFor(pmOne));
+ Assert.Equal("שרת הביטחון", defense.TitleHeFor(pmOne));
+ Assert.Equal("שר הביטחון", defense.TitleHeFor(defTwo));
+ Assert.Equal("ראש הממשלה", pm.TitleHeFor(null)); // a vacant seat
+ Assert.Equal("", finance.TitleHeFor(defTwo)); // no Hebrew title: the UI keeps the English
+ }
+
+ [Theory]
+ // Not an allowed value, or blank: an error, never a silent masculine.
+ [InlineData(" title_he_form: female\n biography_sources:\n title_he_form: " + Src + "\n", true, "people.yaml", "people[pm_one].title_he_form")]
+ [InlineData(" title_he_form: masculine\n biography_sources:\n title_he_form: " + Src + "\n", true, "people.yaml", "people[pm_one].title_he_form")]
+ [InlineData(" title_he_form:\n biography_sources:\n title_he_form: " + Src + "\n", true, "people.yaml", "people[pm_one].title_he_form")]
+ [InlineData(" title_he_form: ''\n biography_sources:\n title_he_form: " + Src + "\n", true, "people.yaml", "people[pm_one].title_he_form")]
+ // Sourced like every biography value, and a source needs the value.
+ [InlineData(" title_he_form: feminine\n", true, "people.yaml", "people[pm_one].biography_sources.title_he_form")]
+ [InlineData(" biography_sources:\n title_he_form: " + Src + "\n", true, "people.yaml", "people[pm_one].title_he_form")]
+ [InlineData(" title_he_form: feminine\n biography_sources:\n title_he_form: [{ url: 'https://example.org/he' }]\n", true, "people.yaml", "people[pm_one].biography_sources.title_he_form[0]")]
+ // She holds the Prime Minister's office, which has no feminine title.
+ [InlineData(Feminine, false, "offices.yaml", "offices[prime_minister].title_he_f")]
+ public void ABadTitleHeFormNamesFileAndField(string lines, bool pmFeminine, string file, string field)
+ {
+ var ex = Assert.Throws<ContentException>(() => Load(Files(lines, pmFeminine)));
+ Assert.Equal(file, ex.File);
+ Assert.Equal(field, ex.Field);
+ }
+
+ // ---- the real content ------------------------------------------------------------------------------------------
+
+ static readonly Content C = ContentLoader.Load(RealContentTests.ContentRoot());
+
+ /// <summary>Every person in the Knesset's government position records for governments 0-7 was checked against
+ /// KNS_Person.GenderDesc (2026-10-15): Golda Meir is the only woman, and the only women's titles are hers.</summary>
+ [Fact]
+ public void GoldaMeirIsTheOnlyFeminineMarkedPersonAndHoldsEveryFeminineTitle()
+ {
+ var women = C.People.Where(p => p.TitleHeForm == TitleHeForms.Feminine).ToList();
+ Assert.Equal(new[] { "golda_meir" }, women.Select(p => p.Id));
+ // A title_he_f no marked person holds would be shown to no one: the two lists stay equal.
+ Assert.Equal(C.Offices.Where(o => o.TitleHeF != "").Select(o => o.Id).OrderBy(x => x, StringComparer.Ordinal),
+ women.SelectMany(p => p.Offices.Select(t => t.Office)).Distinct().OrderBy(x => x, StringComparer.Ordinal));
+ }
+
+ [Fact]
+ public void GoldaMeirIsShownAsShrat()
+ {
+ var golda = C.People.Single(p => p.Id == "golda_meir");
+ Assert.Equal("שרת העבודה", C.Offices.Single(o => o.Id == "labour_minister").TitleHeFor(golda));
+ Assert.Equal("שרת החוץ", C.Offices.Single(o => o.Id == "foreign_minister").TitleHeFor(golda));
+ Assert.Equal("שר החוץ", C.Offices.Single(o => o.Id == "foreign_minister").TitleHeFor(C.People.Single(p => p.Id == "sharett")));
+ Assert.Equal("שר העבודה", C.Offices.Single(o => o.Id == "labour_minister").TitleHeFor(C.People.Single(p => p.Id == "namir")));
+ }
+}
diff --git a/sim/Statecraft.Sim.Tests/SchemaTests.cs b/sim/Statecraft.Sim.Tests/SchemaTests.cs
index a91a27a91..21389ee9b 100644
--- a/sim/Statecraft.Sim.Tests/SchemaTests.cs
+++ b/sim/Statecraft.Sim.Tests/SchemaTests.cs
@@ -215,7 +215,8 @@ public class SchemaTests
{
var people = LoadSchema("people.schema.json");
var keys = At(people, "/definitions/person/properties/biography_sources/properties").EnumerateObject().Select(p => p.Name);
- Assert.Equal(new[] { "born", "died", "name_he" }, keys.OrderBy(k => k, StringComparer.Ordinal)); // ContentLoader.Validate allows these three
+ Assert.Equal(new[] { "born", "died", "name_he", "title_he_form" }, keys.OrderBy(k => k, StringComparer.Ordinal)); // ContentLoader.Validate allows these four
+ Assert.Equal(new[] { TitleHeForms.Feminine }, At(people, "/definitions/person/properties/title_he_form/enum").EnumerateArray().Select(x => x.GetString()!));
var statuses = (HashSet<string>)typeof(ContentLoader).GetField("Statuses", BindingFlags.NonPublic | BindingFlags.Static)!.GetValue(null)!;
var inPeople = At(people, "/definitions/person/properties/status/enum").EnumerateArray().Select(x => x.GetString()!);
var inEvent = At(LoadSchema("event.schema.json"), "/properties/status/enum").EnumerateArray().Select(x => x.GetString()!);
@@ -250,6 +251,14 @@ people:
public void AWrongFieldNameInPeopleFails() =>
Assert.Contains(Errors("people.schema.json", GoodPerson.Replace("competence", "competance")), e => e.Contains("competance") && e.Contains("unknown field"));
+ [Fact]
+ public void TitleHeFormIsFeminineOrLeftOut()
+ {
+ var feminine = GoodPerson.Replace(" living: false\n", " living: false\n title_he_form: feminine\n");
+ Assert.Empty(Errors("people.schema.json", feminine));
+ Assert.NotEmpty(Errors("people.schema.json", feminine.Replace("feminine", "female")));
+ }
+
[Fact]
public void AWrongFieldNameInATermFails() =>
Assert.Contains(Errors("people.schema.json", GoodPerson.Replace("from:", "form:")), e => e.Contains("form") && e.Contains("unknown field"));
diff --git a/sim/Statecraft.Sim/Content.cs b/sim/Statecraft.Sim/Content.cs
index 7f537690e..f819e6264 100644
--- a/sim/Statecraft.Sim/Content.cs
+++ b/sim/Statecraft.Sim/Content.cs
@@ -70,6 +70,10 @@ namespace Statecraft.Sim
/// <summary>True when the file has the key at all, even blank: a blank flag is an error, not a review.</summary>
[YamlIgnore] public bool TitleHeFReviewGiven => titleHeFReview != null;
string? titleHeFReview;
+ /// <summary>The Hebrew title to show for <paramref name="holder"/>: <see cref="TitleHeF"/> when the person's
+ /// <see cref="Person.TitleHeForm"/> is feminine (the loader makes sure every office such a person holds has one),
+ /// else <see cref="TitleHe"/>. Empty when the office has no Hebrew title (the UI then keeps the English).</summary>
+ public string TitleHeFor(Person? holder) => holder?.TitleHeForm == TitleHeForms.Feminine ? TitleHeF : TitleHe;
/// <summary>Historical record only: no Cabinet seat, player appointment or gameplay responsibility. Defaults false for existing offices.</summary>
public bool HistoricalOnly { get; set; }
/// <summary>True when several people may hold the office on the same day (Minister without Portfolio, a second
@@ -148,14 +152,28 @@ namespace Statecraft.Sim
public double? FocusY { get; set; }
}
+ /// <summary>The values of people.yaml's `title_he_form`.</summary>
+ public static class TitleHeForms
+ {
+ /// <summary>The person's Hebrew office titles take the feminine form, <see cref="Office.TitleHeF"/> (שרת העבודה).</summary>
+ public const string Feminine = "feminine";
+ }
+
public sealed class Person
{
public string Id { get; set; } = "";
public string Name { get; set; } = "";
public string NameHe { get; set; } = "";
+ /// <summary>"feminine" when the person's Hebrew office titles take the feminine form (<see cref="Office.TitleHeF"/>),
+ /// sourced in biography_sources.title_he_form; empty (the key left out) for the masculine <see cref="Office.TitleHe"/>.
+ /// Display only: no rule reads it.</summary>
+ public string TitleHeForm { get => titleHeForm ?? ""; set => titleHeForm = value ?? ""; }
+ /// <summary>True when the file has the key at all, even blank: a blank form is an error, not the masculine.</summary>
+ [YamlIgnore] public bool TitleHeFormGiven => titleHeForm != null;
+ string? titleHeForm;
/// <summary>Biographical birth date; optional until the sourced person data is complete.</summary>
public DateTime? Born { get; set; }
- /// <summary>Sources for each biography value (name_he, born, died), separate from dated office-term sources.</summary>
+ /// <summary>Sources for each biography value (name_he, title_he_form, born, died), separate from dated office-term sources.</summary>
public Dictionary<string, List<Source>> BiographySources { get; set; } = new Dictionary<string, List<Source>>();
/// <summary>Required (null only when missing, which is a load error): a living person is excluded from release builds.</summary>
public bool? Living { get; set; }
diff --git a/sim/Statecraft.Sim/ContentLoader.cs b/sim/Statecraft.Sim/ContentLoader.cs
index 1ab64717b..ae9581958 100644
--- a/sim/Statecraft.Sim/ContentLoader.cs
+++ b/sim/Statecraft.Sim/ContentLoader.cs
@@ -225,6 +225,28 @@ namespace Statecraft.Sim
if (!SaveText.IsEncodable(s)) throw new ContentException(file, field, "must be valid text (no lone surrogate)");
}
+ /// <summary>A person's title_he_form: left out, or feminine with its source; and then every office the person holds
+ /// has a feminine title_he_f, so the UI never falls back to the masculine title for her.</summary>
+ static void TitleHeForm(Content c, Person p)
+ {
+ var at = $"people[{p.Id}].title_he_form";
+ var sourced = p.BiographySources.ContainsKey("title_he_form");
+ if (!p.TitleHeFormGiven)
+ {
+ if (sourced) throw new ContentException("people.yaml", at, "required: biography_sources.title_he_form is set but title_he_form is not");
+ return;
+ }
+ if (p.TitleHeForm != TitleHeForms.Feminine)
+ throw new ContentException("people.yaml", at, $"must be {TitleHeForms.Feminine}, or left out for the masculine title_he");
+ if (!sourced) throw new ContentException("people.yaml", $"people[{p.Id}].biography_sources.title_he_form", "required: a feminine title_he_form needs a source (url and checked)");
+ foreach (var t in p.Offices)
+ {
+ var o = c.Offices.FirstOrDefault(x => x.Id == t.Office);
+ if (o != null && o.TitleHeF == "")
+ throw new ContentException("offices.yaml", $"offices[{o.Id}].title_he_f", $"required: {p.Id} holds this office and has title_he_form: {TitleHeForms.Feminine}");
+ }
+ }
+
/// <summary>A Hebrew display name (#558): when set it holds Hebrew letters and has at least one source, each an https URL
/// with its checked date; sources without a name are an error. Empty means no sourced Hebrew name (the UI keeps the English).</summary>
static void HebrewName(string file, string at, string key, string value, List<Source> sources, string review, bool reviewGiven)
@@ -683,13 +705,14 @@ namespace Statecraft.Sim
foreach (var kv in p.BiographySources)
{
var field = $"people[{p.Id}].biography_sources.{kv.Key}";
- if (kv.Key != "name_he" && kv.Key != "born" && kv.Key != "died")
- throw new ContentException("people.yaml", field, "unknown field (must be name_he, born or died)");
+ if (kv.Key != "name_he" && kv.Key != "title_he_form" && kv.Key != "born" && kv.Key != "died")
+ throw new ContentException("people.yaml", field, "unknown field (must be name_he, title_he_form, born or died)");
if (kv.Value == null) throw new ContentException("people.yaml", field, "must be a list");
for (int i = 0; i < kv.Value.Count; i++)
if (kv.Value[i] == null || string.IsNullOrWhiteSpace(kv.Value[i].Url) || kv.Value[i].Checked == default)
throw new ContentException("people.yaml", FormattableString.Invariant($"{field}[{i}]"), "needs a url and a checked date");
}
+ TitleHeForm(c, p);
foreach (var t in p.Offices)
{
if (string.IsNullOrEmpty(t.Office)) throw new ContentException("people.yaml", $"people[{p.Id}].offices", "office term without an office");