The location gate rejects on evidence only: a place gate is empty for a role with no place the gazetteer resolved, an any group whose country and place members are all empty passes whatever remote says, and a role place that holds one of a country or place gate's places (Øresund, Sweden, Europe) meets it.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
WolfandClaude Fable 5.1 committed 2026-10-05 09:25:43 +02:00
1 parent 1127d06f03
commit 3388b97cf4
4 files changed
+150 -22

No files matched your search

+2 -1
View File
@@ -328,8 +328,9 @@ def test_a_place_gate_matches_over_the_gazetteer(store: Store,
several: dict[str, str]) -> None:
found = gates(store, Gate(field="place", values=["Malmö", "Lund", "oberkochen"],
mode="any"))
# "Remote (SE)" is placed at Sweden, which holds Malmö: no evidence against.
assert {uid for uid, g in found.items() if g == 1} == {
several["malmo"], several["lund"], several["zeiss"]}
several["malmo"], several["lund"], several["zeiss"], several["remote"]}
# ------------------------------------------------------------ unresolved texts