Answer stability round 1: bind the locality so population still weighs an address, test the field paths agree, and restate why birth-number sits under sex

This commit is contained in:
2026-10-05 00:38:20 +02:00
committed by Lillem4n
parent 06c17411d6
commit 1afcbc1a83
6 changed files with 39 additions and 25 deletions
+4 -4
View File
@@ -1,13 +1,13 @@
{
"format": "{street-number} {street}\n{locality}, {region} {postal-code}",
"street": "{.street as s}{s.name}",
"street": "{.locality as l}{l.street.name}",
"street-number": [
"{int(10,99)}",
{ "format": "{int(100,999)}", "weight": 2 },
{ "format": "{int(1000,9999)}", "weight": 0.5 },
{ "format": "{int(10,99)}{int(100,999)}", "weight": 0.3 }
],
"locality": "{s..locality.name}",
"region": "{s..locality..municipality..region.abbr}",
"postal-code": "{s..locality.postal-code.code}"
"locality": "{l.name}",
"region": "{l..municipality..region.abbr}",
"postal-code": "{l.postal-code.code}"
}