Read remote: place tokens, the Anywhere place and a remote area's overlap in places
remote:country:DK is a remote role whose area overlaps Denmark: what lies in it, what it lies in, Anywhere. remote:anywhere is Anywhere alone and remote:any the viewing agent's scope. Anywhere is a continent outside the tree with no alias. Remote parts of a line are no town, and the suggestions offer the remote tokens after the countries. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
d47f4f5a59
commit
189cf81350
2 files changed
+250
-28
No files matched your search
@@ -50,7 +50,7 @@ def names(text: str) -> list[str]:
|
||||
def test_the_seed_holds_the_dictionaries_in_code() -> None:
|
||||
seeds, includes = seed()
|
||||
kinds = Counter(s.kind for s in seeds)
|
||||
assert {s.key for s in seeds if s.kind == "continent"} == {"europe", "asia-pacific"}
|
||||
assert {s.key for s in seeds if s.kind == "continent"} == {"europe", "asia-pacific", "world"}
|
||||
assert kinds["country"] == sum(1 for line in _COUNTRY_NAMES.split("\n") if line)
|
||||
keys = {(s.kind, s.key) for s in seeds}
|
||||
assert {("region", key) for key in places.REGIONS} <= keys
|
||||
|
||||
Reference in new issue
Block a user