@mailwoman/corpus 11.1.0 → 11.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (474) hide show
  1. package/README.md +20 -14
  2. package/data/address-source-register.json +618 -13
  3. package/data/builds/v0.8.19-overlay/OVERLAY_PLAN.json +4778 -0
  4. package/data/builds/v0.8.19-rebuild/inputs.json +128 -0
  5. package/data/builds/v0.8.20-overlay/OVERLAY_PLAN.json +3595 -0
  6. package/data/builds/v0.8.20-rebuild/inputs.json +131 -0
  7. package/data/builds/v0.8.21-overlay/OVERLAY_PLAN.json +72 -0
  8. package/data/corpus-source-inputs.json +104 -2
  9. package/data/holdout/evaluation-groups.v0.8.18.json +90511 -0
  10. package/data/holdout/evaluation-groups.v0.8.19.json +100537 -0
  11. package/data/holdout/evaluation-groups.v0.8.20.json +129215 -0
  12. package/data/holdout/evaluation-groups.v0.8.21.json +173286 -0
  13. package/data/holdout/probe-text-collisions.v0.8.20.json +1478 -0
  14. package/data/license-decisions.json +393 -3
  15. package/data/licenses/PROVENANCE.md +15 -9
  16. package/data/licenses/au-acnc-cc-by-3.0-au.md +37 -0
  17. package/data/licenses/es-sanidad-aviso-legal.md +26 -0
  18. package/data/licenses/it-miur-iodl-2.0.md +41 -0
  19. package/data/licenses/nz-charities-cc-by-3.0-nz.md +36 -0
  20. package/data/region-slot-second-level.json +966 -0
  21. package/data/source-additions.json +126 -6
  22. package/data/source-resolutions.json +97 -0
  23. package/data/training-configs/v8.7.0-base-c6-90k-usgs-structures-s42.yaml +801 -0
  24. package/data/training-configs/v8.7.0-base-c6-90k-usgs-structures-s43.yaml +726 -0
  25. package/data/training-configs/v8.8.0-base-c6-90k-v0820-county-s42.yaml +944 -0
  26. package/data/training-configs/v8.9.0-base-c6-90k-v0821-s42.yaml +848 -0
  27. package/data/training-manifests/v0.8.19-retention-overlay.json +4553 -0
  28. package/data/training-manifests/v0.8.20-retention-overlay.json +4579 -0
  29. package/data/training-manifests/v0.8.21-retention-overlay.effective.json +2521 -0
  30. package/data/training-manifests/v0.8.21-retention-overlay.json +4579 -0
  31. package/lib/adapters/cordis/adapter.ts +10 -2
  32. package/lib/adapters/gleif/adapter.ts +23 -5
  33. package/lib/adapters/osm/adapter.ts +2 -2
  34. package/lib/adapters/street/repetition.ts +87 -0
  35. package/lib/adapters/street/unit.ts +14 -0
  36. package/lib/adapters/wof/admin/json/adapter.ts +34 -21
  37. package/lib/adapters/wof/admin/json/dual-role.ts +274 -0
  38. package/lib/adapters/wof/admin/json/explore.ts +4 -4
  39. package/lib/adapters/wof/admin/json/region-codes.ts +74 -3
  40. package/lib/adapters/wof/json-rows.ts +36 -21
  41. package/lib/adapters/wof/postalcode-json/adapter.ts +10 -28
  42. package/lib/adapters/wof/sample.ts +15 -3
  43. package/lib/adapters/wof/stored-records.ts +162 -0
  44. package/lib/adapters.ts +18 -6
  45. package/lib/au/adapters/acnc-register/adapter.ts +40 -0
  46. package/lib/au/evaluation/acnc-register.ts +144 -0
  47. package/lib/build/align/range.ts +9 -0
  48. package/lib/build/align/totals.ts +23 -0
  49. package/lib/build/align.ts +74 -4
  50. package/lib/build/budget.ts +11 -45
  51. package/lib/build/checkpoint.ts +11 -0
  52. package/lib/build/component-check.ts +99 -3
  53. package/lib/build/manifest.ts +4 -0
  54. package/lib/build/parallel.ts +8 -34
  55. package/lib/build/region-names.ts +609 -0
  56. package/lib/build/source-record.ts +7 -0
  57. package/lib/build/types.ts +20 -0
  58. package/lib/build/worker.ts +3 -1
  59. package/lib/build.ts +3 -6
  60. package/lib/de/recipes/locale.ts +3 -2
  61. package/lib/env.ts +0 -6
  62. package/lib/es/adapters/sanidad-centros-ap/adapter.ts +40 -0
  63. package/lib/es/evaluation/sanidad-centros-ap.ts +164 -0
  64. package/lib/evaluation/corpus-adapter.ts +153 -0
  65. package/lib/evaluation/source.ts +209 -0
  66. package/lib/evaluation/sources.ts +25 -0
  67. package/lib/fr/adapters/laposte-poincont/adapter.ts +381 -0
  68. package/lib/fr/recipes/unit-line-guideline.ts +9 -4
  69. package/lib/fr/structures/laposte.ts +139 -0
  70. package/lib/fr/tools/fetch/laposte-poincont.ts +234 -0
  71. package/lib/it/adapters/miur-scuole/adapter.ts +39 -0
  72. package/lib/it/evaluation/miur-scuole.ts +125 -0
  73. package/lib/jp/adapters/wof-admin/adapter.ts +4 -4
  74. package/lib/nc/adapters/opt-nc/adapter.ts +237 -0
  75. package/lib/nc/structures/opt-nc.ts +101 -0
  76. package/lib/nc/tools/fetch/opt-nc.ts +249 -0
  77. package/lib/nz/adapters/charities-register/adapter.ts +40 -0
  78. package/lib/nz/evaluation/charities-register.ts +149 -0
  79. package/lib/recipes/bare/postcode.ts +14 -11
  80. package/lib/recipes/deepseek/batches.ts +8 -8
  81. package/lib/recipes/po/box/cedex/recipe.ts +12 -1
  82. package/lib/recipes/po/box/cedex/us.ts +43 -2
  83. package/lib/recipes/scaffold.ts +1 -1
  84. package/lib/recipes/sources.ts +16 -0
  85. package/lib/recipes.ts +2 -0
  86. package/lib/registers.ts +28 -2
  87. package/lib/{post-offices → structures}/source.ts +49 -16
  88. package/lib/structures/sources.ts +26 -0
  89. package/lib/synthesizers/house-venue.ts +11 -6
  90. package/lib/synthesizers/tail.ts +27 -3
  91. package/lib/tools/audit.ts +1 -1
  92. package/lib/tools/fetch/storage.ts +18 -4
  93. package/lib/tools/fetch.ts +10 -2
  94. package/lib/tools/overlay/kryptonite.ts +6 -2
  95. package/lib/tools/overlay/split/attribute.ts +14 -2
  96. package/lib/tools/overlay/split/overlay.ts +36 -7
  97. package/lib/tools/postcode/triples.ts +3 -3
  98. package/lib/tools/region-slot-census.run.ts +184 -0
  99. package/lib/training/config/load.ts +19 -0
  100. package/lib/training/config/schema.ts +6 -0
  101. package/lib/tw/registers.ts +15 -4
  102. package/lib/tw/structures/chunghwa-post.ts +191 -0
  103. package/lib/tw/tools/fetch/chunghwa-post.ts +174 -0
  104. package/lib/us/adapters/state/ny-notaries/adapter.ts +7 -2
  105. package/lib/us/adapters/state/tx-notaries/adapter.ts +126 -21
  106. package/lib/us/adapters/usgov/nad/adapter.ts +111 -31
  107. package/lib/us/adapters/usgov/nppes/adapter.ts +8 -11
  108. package/lib/us/adapters/usgov/{usgs-post-offices → usgs-structures}/adapter.ts +65 -35
  109. package/lib/us/recipes/county.ts +474 -0
  110. package/lib/us/street-unit.ts +15 -5
  111. package/lib/us/structures/usgs/layers.ts +171 -0
  112. package/lib/us/structures/usgs/national-map.ts +95 -0
  113. package/lib/us/tools/fetch/usgs/gnis.ts +288 -0
  114. package/lib/us/tools/fetch/usgs/structures.ts +362 -0
  115. package/lib/utils/align.ts +2 -2
  116. package/lib/utils/evaluation-groups.ts +172 -0
  117. package/lib/utils/split.ts +40 -4
  118. package/lib/utils/tokenize.ts +7 -7
  119. package/lib/utils/validation-groups.ts +292 -0
  120. package/lib/utils/wof-json.ts +96 -134
  121. package/out/adapters/cordis/adapter.d.ts +3 -1
  122. package/out/adapters/cordis/adapter.d.ts.map +1 -1
  123. package/out/adapters/cordis/adapter.js +8 -2
  124. package/out/adapters/cordis/adapter.js.map +1 -1
  125. package/out/adapters/gleif/adapter.d.ts.map +1 -1
  126. package/out/adapters/gleif/adapter.js +19 -5
  127. package/out/adapters/gleif/adapter.js.map +1 -1
  128. package/out/adapters/osm/adapter.js +2 -2
  129. package/out/adapters/osm/adapter.js.map +1 -1
  130. package/out/adapters/street/repetition.d.ts +19 -0
  131. package/out/adapters/street/repetition.d.ts.map +1 -0
  132. package/out/adapters/street/repetition.js +71 -0
  133. package/out/adapters/street/repetition.js.map +1 -0
  134. package/out/adapters/street/unit.d.ts +10 -0
  135. package/out/adapters/street/unit.d.ts.map +1 -1
  136. package/out/adapters/street/unit.js +6 -0
  137. package/out/adapters/street/unit.js.map +1 -1
  138. package/out/adapters/wof/admin/json/adapter.d.ts +8 -0
  139. package/out/adapters/wof/admin/json/adapter.d.ts.map +1 -1
  140. package/out/adapters/wof/admin/json/adapter.js +26 -22
  141. package/out/adapters/wof/admin/json/adapter.js.map +1 -1
  142. package/out/adapters/wof/admin/json/dual-role.d.ts +83 -0
  143. package/out/adapters/wof/admin/json/dual-role.d.ts.map +1 -0
  144. package/out/adapters/wof/admin/json/dual-role.js +183 -0
  145. package/out/adapters/wof/admin/json/dual-role.js.map +1 -0
  146. package/out/adapters/wof/admin/json/explore.d.ts.map +1 -1
  147. package/out/adapters/wof/admin/json/explore.js +4 -4
  148. package/out/adapters/wof/admin/json/explore.js.map +1 -1
  149. package/out/adapters/wof/admin/json/region-codes.d.ts +16 -0
  150. package/out/adapters/wof/admin/json/region-codes.d.ts.map +1 -1
  151. package/out/adapters/wof/admin/json/region-codes.js +62 -3
  152. package/out/adapters/wof/admin/json/region-codes.js.map +1 -1
  153. package/out/adapters/wof/json-rows.d.ts +28 -6
  154. package/out/adapters/wof/json-rows.d.ts.map +1 -1
  155. package/out/adapters/wof/json-rows.js +9 -15
  156. package/out/adapters/wof/json-rows.js.map +1 -1
  157. package/out/adapters/wof/postalcode-json/adapter.d.ts +1 -1
  158. package/out/adapters/wof/postalcode-json/adapter.d.ts.map +1 -1
  159. package/out/adapters/wof/postalcode-json/adapter.js +9 -26
  160. package/out/adapters/wof/postalcode-json/adapter.js.map +1 -1
  161. package/out/adapters/wof/sample.d.ts +8 -1
  162. package/out/adapters/wof/sample.d.ts.map +1 -1
  163. package/out/adapters/wof/sample.js +12 -4
  164. package/out/adapters/wof/sample.js.map +1 -1
  165. package/out/adapters/wof/stored-records.d.ts +62 -0
  166. package/out/adapters/wof/stored-records.d.ts.map +1 -0
  167. package/out/adapters/wof/stored-records.js +91 -0
  168. package/out/adapters/wof/stored-records.js.map +1 -0
  169. package/out/adapters.d.ts +1 -1
  170. package/out/adapters.d.ts.map +1 -1
  171. package/out/adapters.js +15 -3
  172. package/out/adapters.js.map +1 -1
  173. package/out/au/adapters/acnc-register/adapter.d.ts +9 -0
  174. package/out/au/adapters/acnc-register/adapter.d.ts.map +1 -0
  175. package/out/au/adapters/acnc-register/adapter.js +37 -0
  176. package/out/au/adapters/acnc-register/adapter.js.map +1 -0
  177. package/out/au/evaluation/acnc-register.d.ts +56 -0
  178. package/out/au/evaluation/acnc-register.d.ts.map +1 -0
  179. package/out/au/evaluation/acnc-register.js +84 -0
  180. package/out/au/evaluation/acnc-register.js.map +1 -0
  181. package/out/build/align/range.d.ts.map +1 -1
  182. package/out/build/align/range.js +9 -0
  183. package/out/build/align/range.js.map +1 -1
  184. package/out/build/align/totals.d.ts +5 -0
  185. package/out/build/align/totals.d.ts.map +1 -1
  186. package/out/build/align/totals.js +15 -0
  187. package/out/build/align/totals.js.map +1 -1
  188. package/out/build/align.d.ts +26 -0
  189. package/out/build/align.d.ts.map +1 -1
  190. package/out/build/align.js +35 -2
  191. package/out/build/align.js.map +1 -1
  192. package/out/build/budget.d.ts +9 -26
  193. package/out/build/budget.d.ts.map +1 -1
  194. package/out/build/budget.js +10 -31
  195. package/out/build/budget.js.map +1 -1
  196. package/out/build/checkpoint.d.ts +11 -0
  197. package/out/build/checkpoint.d.ts.map +1 -1
  198. package/out/build/checkpoint.js.map +1 -1
  199. package/out/build/component-check.d.ts +55 -1
  200. package/out/build/component-check.d.ts.map +1 -1
  201. package/out/build/component-check.js +65 -3
  202. package/out/build/component-check.js.map +1 -1
  203. package/out/build/manifest.d.ts.map +1 -1
  204. package/out/build/manifest.js +4 -0
  205. package/out/build/manifest.js.map +1 -1
  206. package/out/build/parallel.d.ts.map +1 -1
  207. package/out/build/parallel.js +8 -24
  208. package/out/build/parallel.js.map +1 -1
  209. package/out/build/region-names.d.ts +120 -0
  210. package/out/build/region-names.d.ts.map +1 -0
  211. package/out/build/region-names.js +430 -0
  212. package/out/build/region-names.js.map +1 -0
  213. package/out/build/source-record.d.ts.map +1 -1
  214. package/out/build/source-record.js +4 -0
  215. package/out/build/source-record.js.map +1 -1
  216. package/out/build/types.d.ts +20 -0
  217. package/out/build/types.d.ts.map +1 -1
  218. package/out/build/worker.js +3 -1
  219. package/out/build/worker.js.map +1 -1
  220. package/out/build.d.ts +0 -1
  221. package/out/build.d.ts.map +1 -1
  222. package/out/build.js +3 -5
  223. package/out/build.js.map +1 -1
  224. package/out/de/recipes/locale.d.ts.map +1 -1
  225. package/out/de/recipes/locale.js +3 -2
  226. package/out/de/recipes/locale.js.map +1 -1
  227. package/out/env.d.ts +0 -2
  228. package/out/env.d.ts.map +1 -1
  229. package/out/env.js +0 -5
  230. package/out/env.js.map +1 -1
  231. package/out/es/adapters/sanidad-centros-ap/adapter.d.ts +9 -0
  232. package/out/es/adapters/sanidad-centros-ap/adapter.d.ts.map +1 -0
  233. package/out/es/adapters/sanidad-centros-ap/adapter.js +36 -0
  234. package/out/es/adapters/sanidad-centros-ap/adapter.js.map +1 -0
  235. package/out/es/evaluation/sanidad-centros-ap.d.ts +34 -0
  236. package/out/es/evaluation/sanidad-centros-ap.d.ts.map +1 -0
  237. package/out/es/evaluation/sanidad-centros-ap.js +128 -0
  238. package/out/es/evaluation/sanidad-centros-ap.js.map +1 -0
  239. package/out/evaluation/corpus-adapter.d.ts +60 -0
  240. package/out/evaluation/corpus-adapter.d.ts.map +1 -0
  241. package/out/evaluation/corpus-adapter.js +100 -0
  242. package/out/evaluation/corpus-adapter.js.map +1 -0
  243. package/out/evaluation/source.d.ts +134 -0
  244. package/out/evaluation/source.d.ts.map +1 -0
  245. package/out/evaluation/source.js +80 -0
  246. package/out/evaluation/source.js.map +1 -0
  247. package/out/evaluation/sources.d.ts +6 -0
  248. package/out/evaluation/sources.d.ts.map +1 -0
  249. package/out/evaluation/sources.js +22 -0
  250. package/out/evaluation/sources.js.map +1 -0
  251. package/out/fr/adapters/laposte-poincont/adapter.d.ts +110 -0
  252. package/out/fr/adapters/laposte-poincont/adapter.d.ts.map +1 -0
  253. package/out/fr/adapters/laposte-poincont/adapter.js +315 -0
  254. package/out/fr/adapters/laposte-poincont/adapter.js.map +1 -0
  255. package/out/fr/recipes/unit-line-guideline.d.ts.map +1 -1
  256. package/out/fr/recipes/unit-line-guideline.js +8 -4
  257. package/out/fr/recipes/unit-line-guideline.js.map +1 -1
  258. package/out/fr/structures/laposte.d.ts +27 -0
  259. package/out/fr/structures/laposte.d.ts.map +1 -0
  260. package/out/fr/structures/laposte.js +96 -0
  261. package/out/fr/structures/laposte.js.map +1 -0
  262. package/out/fr/tools/fetch/laposte-poincont.d.ts +95 -0
  263. package/out/fr/tools/fetch/laposte-poincont.d.ts.map +1 -0
  264. package/out/fr/tools/fetch/laposte-poincont.js +135 -0
  265. package/out/fr/tools/fetch/laposte-poincont.js.map +1 -0
  266. package/out/it/adapters/miur-scuole/adapter.d.ts +9 -0
  267. package/out/it/adapters/miur-scuole/adapter.d.ts.map +1 -0
  268. package/out/it/adapters/miur-scuole/adapter.js +35 -0
  269. package/out/it/adapters/miur-scuole/adapter.js.map +1 -0
  270. package/out/it/evaluation/miur-scuole.d.ts +53 -0
  271. package/out/it/evaluation/miur-scuole.d.ts.map +1 -0
  272. package/out/it/evaluation/miur-scuole.js +68 -0
  273. package/out/it/evaluation/miur-scuole.js.map +1 -0
  274. package/out/jp/adapters/wof-admin/adapter.js +4 -4
  275. package/out/nc/adapters/opt-nc/adapter.d.ts +84 -0
  276. package/out/nc/adapters/opt-nc/adapter.d.ts.map +1 -0
  277. package/out/nc/adapters/opt-nc/adapter.js +173 -0
  278. package/out/nc/adapters/opt-nc/adapter.js.map +1 -0
  279. package/out/nc/structures/opt-nc.d.ts +12 -0
  280. package/out/nc/structures/opt-nc.d.ts.map +1 -0
  281. package/out/nc/structures/opt-nc.js +64 -0
  282. package/out/nc/structures/opt-nc.js.map +1 -0
  283. package/out/nc/tools/fetch/opt-nc.d.ts +81 -0
  284. package/out/nc/tools/fetch/opt-nc.d.ts.map +1 -0
  285. package/out/nc/tools/fetch/opt-nc.js +162 -0
  286. package/out/nc/tools/fetch/opt-nc.js.map +1 -0
  287. package/out/nz/adapters/charities-register/adapter.d.ts +9 -0
  288. package/out/nz/adapters/charities-register/adapter.d.ts.map +1 -0
  289. package/out/nz/adapters/charities-register/adapter.js +36 -0
  290. package/out/nz/adapters/charities-register/adapter.js.map +1 -0
  291. package/out/nz/evaluation/charities-register.d.ts +60 -0
  292. package/out/nz/evaluation/charities-register.d.ts.map +1 -0
  293. package/out/nz/evaluation/charities-register.js +84 -0
  294. package/out/nz/evaluation/charities-register.js.map +1 -0
  295. package/out/recipes/bare/postcode.d.ts +2 -1
  296. package/out/recipes/bare/postcode.d.ts.map +1 -1
  297. package/out/recipes/bare/postcode.js +14 -11
  298. package/out/recipes/bare/postcode.js.map +1 -1
  299. package/out/recipes/deepseek/batches.d.ts +11 -1
  300. package/out/recipes/deepseek/batches.d.ts.map +1 -1
  301. package/out/recipes/deepseek/batches.js +8 -7
  302. package/out/recipes/deepseek/batches.js.map +1 -1
  303. package/out/recipes/po/box/cedex/recipe.d.ts.map +1 -1
  304. package/out/recipes/po/box/cedex/recipe.js +12 -1
  305. package/out/recipes/po/box/cedex/recipe.js.map +1 -1
  306. package/out/recipes/po/box/cedex/us.d.ts +12 -0
  307. package/out/recipes/po/box/cedex/us.d.ts.map +1 -1
  308. package/out/recipes/po/box/cedex/us.js +36 -2
  309. package/out/recipes/po/box/cedex/us.js.map +1 -1
  310. package/out/recipes/scaffold.d.ts +1 -1
  311. package/out/recipes/sources.d.ts.map +1 -1
  312. package/out/recipes/sources.js +16 -0
  313. package/out/recipes/sources.js.map +1 -1
  314. package/out/recipes.d.ts.map +1 -1
  315. package/out/recipes.js +2 -0
  316. package/out/recipes.js.map +1 -1
  317. package/out/registers.d.ts +28 -2
  318. package/out/registers.d.ts.map +1 -1
  319. package/out/registers.js +28 -2
  320. package/out/registers.js.map +1 -1
  321. package/out/{post-offices → structures}/source.d.ts +34 -16
  322. package/out/structures/source.d.ts.map +1 -0
  323. package/out/structures/source.js +39 -0
  324. package/out/structures/source.js.map +1 -0
  325. package/out/structures/sources.d.ts +6 -0
  326. package/out/structures/sources.d.ts.map +1 -0
  327. package/out/structures/sources.js +23 -0
  328. package/out/structures/sources.js.map +1 -0
  329. package/out/synthesizers/house-venue.d.ts.map +1 -1
  330. package/out/synthesizers/house-venue.js +2 -1
  331. package/out/synthesizers/house-venue.js.map +1 -1
  332. package/out/synthesizers/tail.d.ts +15 -1
  333. package/out/synthesizers/tail.d.ts.map +1 -1
  334. package/out/synthesizers/tail.js +8 -3
  335. package/out/synthesizers/tail.js.map +1 -1
  336. package/out/tools/audit.js +1 -1
  337. package/out/tools/audit.js.map +1 -1
  338. package/out/tools/fetch/storage.d.ts +10 -2
  339. package/out/tools/fetch/storage.d.ts.map +1 -1
  340. package/out/tools/fetch/storage.js +18 -4
  341. package/out/tools/fetch/storage.js.map +1 -1
  342. package/out/tools/fetch.d.ts +10 -2
  343. package/out/tools/fetch.d.ts.map +1 -1
  344. package/out/tools/fetch.js +10 -2
  345. package/out/tools/fetch.js.map +1 -1
  346. package/out/tools/overlay/kryptonite.d.ts.map +1 -1
  347. package/out/tools/overlay/kryptonite.js +5 -2
  348. package/out/tools/overlay/kryptonite.js.map +1 -1
  349. package/out/tools/overlay/split/attribute.d.ts +7 -1
  350. package/out/tools/overlay/split/attribute.d.ts.map +1 -1
  351. package/out/tools/overlay/split/attribute.js +4 -1
  352. package/out/tools/overlay/split/attribute.js.map +1 -1
  353. package/out/tools/overlay/split/overlay.d.ts +10 -0
  354. package/out/tools/overlay/split/overlay.d.ts.map +1 -1
  355. package/out/tools/overlay/split/overlay.js +17 -4
  356. package/out/tools/overlay/split/overlay.js.map +1 -1
  357. package/out/tools/postcode/triples.js +3 -3
  358. package/out/tools/postcode/triples.js.map +1 -1
  359. package/out/tools/region-slot-census.run.d.ts +2 -0
  360. package/out/tools/region-slot-census.run.d.ts.map +1 -0
  361. package/out/tools/region-slot-census.run.js +134 -0
  362. package/out/tools/region-slot-census.run.js.map +1 -0
  363. package/out/training/config/load.d.ts.map +1 -1
  364. package/out/training/config/load.js +10 -0
  365. package/out/training/config/load.js.map +1 -1
  366. package/out/training/config/schema.d.ts +13 -0
  367. package/out/training/config/schema.d.ts.map +1 -1
  368. package/out/training/config/schema.js +6 -0
  369. package/out/training/config/schema.js.map +1 -1
  370. package/out/tw/registers.d.ts +9 -0
  371. package/out/tw/registers.d.ts.map +1 -1
  372. package/out/tw/registers.js +11 -4
  373. package/out/tw/registers.js.map +1 -1
  374. package/out/tw/structures/chunghwa-post.d.ts +39 -0
  375. package/out/tw/structures/chunghwa-post.d.ts.map +1 -0
  376. package/out/tw/structures/chunghwa-post.js +150 -0
  377. package/out/tw/structures/chunghwa-post.js.map +1 -0
  378. package/out/tw/tools/fetch/chunghwa-post.d.ts +55 -0
  379. package/out/tw/tools/fetch/chunghwa-post.d.ts.map +1 -0
  380. package/out/tw/tools/fetch/chunghwa-post.js +110 -0
  381. package/out/tw/tools/fetch/chunghwa-post.js.map +1 -0
  382. package/out/us/adapters/state/ny-notaries/adapter.d.ts.map +1 -1
  383. package/out/us/adapters/state/ny-notaries/adapter.js +7 -2
  384. package/out/us/adapters/state/ny-notaries/adapter.js.map +1 -1
  385. package/out/us/adapters/state/tx-notaries/adapter.d.ts +42 -0
  386. package/out/us/adapters/state/tx-notaries/adapter.d.ts.map +1 -1
  387. package/out/us/adapters/state/tx-notaries/adapter.js +92 -19
  388. package/out/us/adapters/state/tx-notaries/adapter.js.map +1 -1
  389. package/out/us/adapters/usgov/nad/adapter.d.ts +35 -2
  390. package/out/us/adapters/usgov/nad/adapter.d.ts.map +1 -1
  391. package/out/us/adapters/usgov/nad/adapter.js +90 -27
  392. package/out/us/adapters/usgov/nad/adapter.js.map +1 -1
  393. package/out/us/adapters/usgov/nppes/adapter.d.ts.map +1 -1
  394. package/out/us/adapters/usgov/nppes/adapter.js +8 -11
  395. package/out/us/adapters/usgov/nppes/adapter.js.map +1 -1
  396. package/out/us/adapters/usgov/usgs-structures/adapter.d.ts +87 -0
  397. package/out/us/adapters/usgov/usgs-structures/adapter.d.ts.map +1 -0
  398. package/out/us/adapters/usgov/{usgs-post-offices → usgs-structures}/adapter.js +36 -27
  399. package/out/us/adapters/usgov/usgs-structures/adapter.js.map +1 -0
  400. package/out/us/recipes/county.d.ts +124 -0
  401. package/out/us/recipes/county.d.ts.map +1 -0
  402. package/out/us/recipes/county.js +295 -0
  403. package/out/us/recipes/county.js.map +1 -0
  404. package/out/us/street-unit.d.ts +10 -3
  405. package/out/us/street-unit.d.ts.map +1 -1
  406. package/out/us/street-unit.js +14 -6
  407. package/out/us/street-unit.js.map +1 -1
  408. package/out/us/structures/usgs/layers.d.ts +57 -0
  409. package/out/us/structures/usgs/layers.d.ts.map +1 -0
  410. package/out/us/structures/usgs/layers.js +121 -0
  411. package/out/us/structures/usgs/layers.js.map +1 -0
  412. package/out/us/structures/usgs/national-map.d.ts +14 -0
  413. package/out/us/structures/usgs/national-map.d.ts.map +1 -0
  414. package/out/us/{post-offices/usgs-national-map.js → structures/usgs/national-map.js} +16 -14
  415. package/out/us/structures/usgs/national-map.js.map +1 -0
  416. package/out/us/tools/fetch/usgs/gnis.d.ts +118 -0
  417. package/out/us/tools/fetch/usgs/gnis.d.ts.map +1 -0
  418. package/out/us/tools/fetch/usgs/gnis.js +177 -0
  419. package/out/us/tools/fetch/usgs/gnis.js.map +1 -0
  420. package/out/us/tools/fetch/usgs/structures.d.ts +99 -0
  421. package/out/us/tools/fetch/usgs/structures.d.ts.map +1 -0
  422. package/out/us/tools/fetch/usgs/structures.js +233 -0
  423. package/out/us/tools/fetch/usgs/structures.js.map +1 -0
  424. package/out/utils/align.js.map +1 -1
  425. package/out/utils/evaluation-groups.d.ts +98 -0
  426. package/out/utils/evaluation-groups.d.ts.map +1 -0
  427. package/out/utils/evaluation-groups.js +92 -0
  428. package/out/utils/evaluation-groups.js.map +1 -0
  429. package/out/utils/split.d.ts +26 -1
  430. package/out/utils/split.d.ts.map +1 -1
  431. package/out/utils/split.js +28 -3
  432. package/out/utils/split.js.map +1 -1
  433. package/out/utils/tokenize.d.ts +3 -3
  434. package/out/utils/tokenize.d.ts.map +1 -1
  435. package/out/utils/tokenize.js.map +1 -1
  436. package/out/utils/validation-groups.d.ts +168 -0
  437. package/out/utils/validation-groups.d.ts.map +1 -0
  438. package/out/utils/validation-groups.js +135 -0
  439. package/out/utils/validation-groups.js.map +1 -0
  440. package/out/utils/wof-json.d.ts +31 -57
  441. package/out/utils/wof-json.d.ts.map +1 -1
  442. package/out/utils/wof-json.js +81 -98
  443. package/out/utils/wof-json.js.map +1 -1
  444. package/package.json +18 -18
  445. package/lib/adapters/wof/record-cache.ts +0 -118
  446. package/lib/build/heap.ts +0 -60
  447. package/lib/post-offices/sources.ts +0 -18
  448. package/lib/us/post-offices/usgs-national-map.ts +0 -89
  449. package/lib/us/tools/fetch/usgs-post-offices.ts +0 -362
  450. package/out/adapters/wof/record-cache.d.ts +0 -22
  451. package/out/adapters/wof/record-cache.d.ts.map +0 -1
  452. package/out/adapters/wof/record-cache.js +0 -89
  453. package/out/adapters/wof/record-cache.js.map +0 -1
  454. package/out/build/heap.d.ts +0 -26
  455. package/out/build/heap.d.ts.map +0 -1
  456. package/out/build/heap.js +0 -52
  457. package/out/build/heap.js.map +0 -1
  458. package/out/post-offices/source.d.ts.map +0 -1
  459. package/out/post-offices/source.js +0 -21
  460. package/out/post-offices/source.js.map +0 -1
  461. package/out/post-offices/sources.d.ts +0 -13
  462. package/out/post-offices/sources.d.ts.map +0 -1
  463. package/out/post-offices/sources.js +0 -8
  464. package/out/post-offices/sources.js.map +0 -1
  465. package/out/us/adapters/usgov/usgs-post-offices/adapter.d.ts +0 -66
  466. package/out/us/adapters/usgov/usgs-post-offices/adapter.d.ts.map +0 -1
  467. package/out/us/adapters/usgov/usgs-post-offices/adapter.js.map +0 -1
  468. package/out/us/post-offices/usgs-national-map.d.ts +0 -14
  469. package/out/us/post-offices/usgs-national-map.d.ts.map +0 -1
  470. package/out/us/post-offices/usgs-national-map.js.map +0 -1
  471. package/out/us/tools/fetch/usgs-post-offices.d.ts +0 -99
  472. package/out/us/tools/fetch/usgs-post-offices.d.ts.map +0 -1
  473. package/out/us/tools/fetch/usgs-post-offices.js +0 -246
  474. package/out/us/tools/fetch/usgs-post-offices.js.map +0 -1
@@ -0,0 +1,801 @@
1
+ # v8.7.0-base-c6-90k-usgs-structures-s42 is v8.6.3-base-c6-90k-v0818-wof15-s42.yaml, the recipe shipped as model
2
+ # 10.8.0, with the USGS National Structures Dataset added. Every key and value is that config's except these:
3
+ #
4
+ # 1. `source_reps` gains `usgov-usgs-structures: 0.075`. The adapter yields 421,480 base rows from the 2026-11-13 pull
5
+ # of 473,903 features: schools, post offices, fire, police and ambulance stations, hospitals, courthouses, town
6
+ # halls and cemeteries, each its name as `venue` before its street address. 134,810 of them have no house number
7
+ # (`venue, street, locality, region, postcode`), a shape #2893 measured at 1,822 training rows on
8
+ # v0.8.8-nppes-overlay. The weight is the convention for a venue source added since v8.3.2: a `source_reps` target,
9
+ # so its draws follow its row count, at the 0.12 that `geonames-features`, the comparable venue source, takes over
10
+ # its 2,244,301 base and variant rows. A rebuilt source holds about five times its base rows (cordis 4.94,
11
+ # gleif-lei 5.06 on v0.8.10). The v0.8.19 rebuild holds 3,083,904 structure rows, 7.3 per base row, and at 0.12
12
+ # the epoch-mixture audit drew 32,124 of every 1,000,000, 3.2%. The shipped model 10.8.0 already parses the
13
+ # source's shapes: 40 of 40 post offices, 20 of 20 schools, 10 of 10 fire and 10 of 10 police stations, with the
14
+ # name as `venue` and every address part correct (probed 2026-11-16). The weight is therefore 0.075. It draws
15
+ # about 20,077 an epoch, 2.0%, the share this point first planned. Both receipts of point 2 scale with it.
16
+ # 2. Two receipts floor the source, stated as 90% of their expected draws (`min_fraction_of_expected`, #2391) rather
17
+ # than as a count read from an audit, so a later change to the reps target or the row count moves them.
18
+ # `us-structures-venue-street` floors the shape with no house number.
19
+ # 3. `source_reps` gains the two other venue sources the planned corpus adds. `fr-laposte-poincont` takes 0.25: La
20
+ # Poste's 2026-11-08 list holds 19,858 counters (bureaux de poste, agences postales, relais poste), each its label as
21
+ # `venue` before its address. The rebuild holds 83,415 of its rows, so 0.25 draws about 1,810 an epoch, about one
22
+ # draw per base record. Its rows hold the venue-led capitals `BIS`/`TER` house numbers 10.8.0 splits wrongly (30 of
23
+ # 30 probed rows, 2026-11-16), and that shape is otherwise almost absent from the corpus.
24
+ # `nc-opt-agences` takes 4.0, the weight of `fr-finess-overseas` and
25
+ # `fr-annuaire-education-overseas` (v8.3.2's header, point 4), the venue sources of the overseas territories.
26
+ # OPT-NC lists 49 agencies, so at 0.12 the run would draw a few dozen of their rows, under three per epoch, and the
27
+ # source wouldn't train. Each source takes a receipt in the shape of point 2. La Poste's is at 90% of its expected
28
+ # draws. OPT-NC's is at 50%, because at about 85 expected draws an epoch a 90% floor sits one standard deviation
29
+ # under the expectation and refuses about one seed in six.
30
+ # 4. `source_reps` gains four public-body registers first added as evaluation sources, each at 0.2:
31
+ # `es-sanidad-centros-ap` (5,964 base rows from the 2026 primary-care catalogue), `it-miur-scuole` (21,373 from the
32
+ # 2026/27 state-school register), `au-acnc-register` (30,843 from the 2026-11-14 ACNC register) and
33
+ # `nz-charities-register` (15,584 from the 2026-11-14 Charities Register). Each row is a street, house number,
34
+ # postcode and locality (AU adds the state, NZ the suburb) with no venue. The corpus already covers the four
35
+ # countries through their national address registers: Catastro, ANNCSU through OpenAddresses and Overture, G-NAF,
36
+ # and LINZ through OpenAddresses. The comparable source is cordis, another register of organizations' addresses in
37
+ # covered countries. It takes 0.2 over a rebuild holding about five times its base rows (v8.3.2's header,
38
+ # point 4). At 0.2 the run draws each source about once per base record: some 74,000 rows together, near 0.6% of
39
+ # the 11.52 M. A floor per source at 90% of its expected draws (`min_fraction_of_expected`)
40
+ # stops the run if a rebuild drops one.
41
+ # 5. `train.output_dir` and `train.trackio_run_name` name the run.
42
+ # 6. `data.anchor_paint_mode` is `postal`: the encoder's postcode finders read the `postal` family of
43
+ # `@mailwoman/postcode` through `recognize-core` (#3064, pull request 3101), the artifact serving reads. 10.8.0
44
+ # trained under `shaped`, which the encoder now refuses. On 72,209 rows of this config, 672 gain an anchored span
45
+ # and none loses or moves one (`docs/engineering/reference/training-row-encoder.mdx`). The model card of a model
46
+ # trained on this config declares `requires.anchor.span_mode: "postal"`, and leaves `requires.query_shape` unset.
47
+ #
48
+ # The corpus is /data/corpus/versioned/v0.8.19-retention-overlay/corpus-v0.8.19-retention-overlay. Its
49
+ # MANIFEST.json has sha256 26eb4ec63dfd9d9032c5ae58464fdee6c2c6152bd7177634ec74f85430c7e12f. It is the overlay
50
+ # v0.8.19-overlay (packages/corpus/data/builds/v0.8.19-overlay/OVERLAY_PLAN.json) on v0.8.18-retention-overlay: the
51
+ # 14 v0.8.18 sources packages/corpus/data/builds/v0.8.19-rebuild/inputs.json rebuilds are replaced by the rebuild's
52
+ # files, and this source, fr-laposte-poincont, nc-opt-agences and the four registers are added. The rebuild's cordis
53
+ # and gleif-lei label a repetition index after the number as part of the house number (`20 BIS` and `RUE LOUIS
54
+ # PHILIPPE`, as BAN labels it). That relabels their rows in FR, MC, MU, NC, TN and VN and admits 20 cordis and 313
55
+ # gleif-lei rows the earlier split refused. Its split is the
56
+ # evaluation-group policy (HOLDOUT_AND_EVALUATION section 4.6). `validation/quota.run.ts --config <this file>` over the
57
+ # overlay manifest chose 15,365 validation groups (24,012 rows in 247 countries), and `resplit.run.ts --evaluation-groups
58
+ # packages/corpus/data/holdout/evaluation-groups.v0.8.18.json --validation-groups <that list>` sent the frozen groups'
59
+ # rows to test, the chosen groups to val, and every other row to train: 886,878,119 train, 24,245 val and 221,680 test
60
+ # rows of 887,124,044. The overlap audit finds none of heldout-dev-v0.8.18's 86,845 rows or heldout-confirm-v0.8.18's
61
+ # 33,402 rows in train or val. The frozen source record is
62
+ # packages/corpus/data/training-manifests/v0.8.19-retention-overlay.json.
63
+ #
64
+ # The validation floors. `required_validation_coverage` keeps its declared floors: the quota sizes val from them, and
65
+ # every one is met on the re-split (GB 2,139 rows, FR 2,003, DE 2,026, US 2,003). NG keeps its whole pool of 58 rows
66
+ # with 27 street rows, PF 105 with 105 and CN 178 with 62. `required_validation_label_support` is re-derived from the
67
+ # re-split by its own rule, half of each label's rows in the val draw, rounded down. The draw is the 22,210 val rows
68
+ # `country_weights` and the source weights admit.
69
+ #
70
+ # Run shape: from scratch, with no `train.init_from`. Why: a fine-tune can't introduce a source the base never saw.
71
+ #
72
+ # Control: the v8.6.3 seed 42 run, shipped as 10.8.0.
73
+ #
74
+ # Prediction, written 2026-11-16 after the launch (run 74eaf854986e4211, at step 400) and before any checkpoint or
75
+ # evaluation existed, against the shipped model 10.8.0:
76
+ # - La Poste, venue before a capitals `BIS`/`TER` house number (`LAGNIEU, 11 BIS ROUTE DU PORT, 01150 LAGNIEU`):
77
+ # 10.8.0 labels the house number `11 BIS` in 0 of the 30 probed rows. v8.7.0 labels it in at least 20 of 30.
78
+ # - GB postcodes written in lower case (`sw1a 1aa`): the `postal` anchor paints 570 more GB rows of the 72,209 rows
79
+ # probed. v8.7.0's GB postcode F1 on heldout-dev-v0.8.18 is no lower than 10.8.0's.
80
+ # - USGS post offices, schools, fire and police stations: 10.8.0 already parses the 80 probed rows correctly. v8.7.0
81
+ # keeps at least 78 of 80.
82
+ # - Taiwan venue-led post offices (`臺北北門郵局, 100003 臺北市中正區…`) stay at 0 of 40: no source of this run
83
+ # holds the shape.
84
+ # - Release spec v8 on heldout-dev-v0.8.18 and heldout-confirm-v0.8.18: no country's exact-parse rate falls more
85
+ # than 0.01 below 10.8.0's, and the overall rate moves by less than ±0.005. The run trains on 5.31 M rows the old
86
+ # policy held out and spreads each epoch's partial source reads across row groups, so a larger move is evidence
87
+ # about one of those two changes and is attributed by country before anything else.
88
+ #
89
+ # Launch with `--fresh --device A100-40GB`: 90,000 steps.
90
+
91
+ data:
92
+ corpus_dir: /data/corpus/versioned/v0.8.19-retention-overlay/corpus-v0.8.19-retention-overlay
93
+ tokenizer_dir: /data/models/tokenizer/v0.10.0-c6-isolated-punctuation
94
+ max_length: 128
95
+ # `NO` is quoted because YAML 1.1 reads a bare `NO` as false. A false key would match no Norwegian row.
96
+ country_weights:
97
+ {
98
+ AD: 1.0, AE: 1.0, AF: 1.0, AG: 1.0, AI: 1.0, AL: 1.0, AM: 1.0, AO: 1.0, AR: 1.0, AS: 1.0, AT: 1.0, AU: 1.0,
99
+ AW: 1.0, AX: 1.0, AZ: 1.0, BA: 1.0, BB: 1.0, BD: 1.0, BE: 1.0, BF: 1.0, BG: 1.0, BH: 1.0, BI: 1.0, BJ: 1.0,
100
+ BL: 1.0, BM: 1.0, BN: 1.0, BQ: 1.0, BR: 1.0, BS: 1.0, BT: 1.0, BW: 1.0, BY: 1.0, BZ: 1.0, CA: 1.0, CD: 1.0,
101
+ CF: 1.0, CG: 1.0, CH: 1.0, CI: 1.0, CK: 1.0, CL: 1.0, CN: 1.0, CO: 1.0, CR: 1.0, CU: 1.0, CV: 1.0, CW: 1.0,
102
+ CY: 1.0, CZ: 1.0, DE: 1.0, DJ: 1.0, DK: 1.0, DM: 1.0, DO: 1.0, DZ: 1.0, EC: 1.0, EE: 1.0, EG: 1.0, ER: 1.0,
103
+ ES: 1.0, ET: 1.0, FI: 1.0, FK: 1.0, FM: 1.0, FO: 1.0, FR: 1.0, GB: 1.0, GD: 1.0, GE: 1.0, GF: 1.0, GG: 1.0,
104
+ GH: 1.0, GI: 1.0, GL: 1.0, GM: 1.0, GN: 1.0, GP: 1.0, GR: 1.0, GT: 1.0, GU: 1.0, GW: 1.0, HK: 1.0, HN: 1.0,
105
+ HR: 1.0, HT: 1.0, HU: 1.0, ID: 1.0, IE: 1.0, IL: 1.0, IM: 1.0, IN: 1.0, IO: 1.0, IQ: 1.0, IR: 1.0, IS: 1.0,
106
+ IT: 1.0, JE: 1.0, JM: 1.0, JO: 1.0, JP: 1.0, KE: 1.0, KG: 1.0, KH: 1.0, KM: 1.0, KN: 1.0, KR: 1.0, KW: 1.0,
107
+ KY: 1.0, KZ: 1.0, LA: 1.0, LB: 1.0, LC: 1.0, LI: 1.0, LK: 1.0, LR: 1.0, LS: 1.0, LT: 1.0, LU: 1.0, LV: 1.0,
108
+ MA: 1.0, MC: 1.0, MD: 1.0, ME: 1.0, MF: 1.0, MG: 1.0, MH: 1.0, MK: 1.0, ML: 1.0, MM: 1.0, MN: 1.0, MO: 1.0,
109
+ MP: 1.0, MQ: 1.0, MS: 1.0, MT: 1.0, MU: 1.0, MV: 1.0, MW: 1.0, MX: 1.0, MY: 1.0, MZ: 1.0, NA: 1.0, NC: 1.0,
110
+ NE: 1.0, NG: 1.0, NI: 1.0, NL: 1.0, "NO": 1.0, NP: 1.0, NZ: 1.0, OM: 1.0, PA: 1.0, PE: 1.0, PF: 1.0, PG: 1.0,
111
+ PH: 1.0, PK: 1.0, PL: 1.0, PM: 1.0, PR: 1.0, PT: 1.0, PY: 1.0, QA: 1.0, RE: 1.0, RO: 1.0, RS: 1.0, RU: 1.0,
112
+ RW: 1.0, SA: 1.0, SB: 1.0, SC: 1.0, SD: 1.0, SE: 1.0, SG: 1.0, SH: 1.0, SI: 1.0, SK: 1.0, SM: 1.0, SN: 1.0,
113
+ SO: 1.0, SR: 1.0, ST: 1.0, SV: 1.0, SX: 1.0, SZ: 1.0, TC: 1.0, TH: 1.0, TJ: 1.0, TK: 1.0, TM: 1.0, TN: 1.0,
114
+ TO: 1.0, TR: 1.0, TT: 1.0, TW: 1.0, TZ: 1.0, UA: 1.0, UG: 1.0, UM: 1.0, US: 1.0, UY: 1.0, UZ: 1.0, VA: 1.0,
115
+ VC: 1.0, VE: 1.0, VG: 1.0, VI: 1.0, VN: 1.0, VU: 1.0, WF: 1.0, YT: 1.0, ZA: 1.0, ZM: 1.0, ZW: 1.0,
116
+ }
117
+ source_weights:
118
+ invented-house-venue: 2.0
119
+ overture-latam: 6.0
120
+ # v8.6.2's header, point 1.
121
+ wof-admin: 15.0
122
+ wof-postalcode: 7.5
123
+ # 3.3 rather than 3.0: at 3.0, with the WOF weights above, ban drew 9,989 of 1,000,000 audited rows on the
124
+ # v0.8.7-overlay, under the fr-native-postcode-locality floor of 10,000.
125
+ ban: 3.3
126
+ tiger: 4.0
127
+ usgov-nppes: 2.0
128
+ usgov-hrsa-fqhc: 2.0
129
+ usgov-nad: 1.0
130
+ # v7.2.0's weight. us-professional-licensing-3 is elected under the US factual-data reading.
131
+ state-tx-notaries: 1.5
132
+ state-ny-notaries: 2.0
133
+ state-ia-contractors: 0.0
134
+ usgov-imls-pls: 0.0
135
+ deepseek-kryptonite: 3.0
136
+ invented-intersection: 1.0
137
+ rendered-de: 6.0
138
+ rendered-fr-order: 3.0
139
+ rendered-fr-admin-split: 6.0
140
+ spliced-unit: 0.0 # Replaced by spliced-unit-v30.
141
+ spliced-unit-v30: 1.5
142
+ invented-po-box-cedex: 1.5
143
+ invented-postal-guideline: 1.5
144
+ invented-postal-unit-guideline: 2.5
145
+ spliced-affix: 2.0
146
+ spliced-country: 2.0
147
+ overture: 3.0
148
+ gnaf: 6.0
149
+ invented-anchor-absorption: 6.0
150
+ fragment-fr-bare-street: 0.0 # Replaced by fragment-fr-bare-street-v22.
151
+ fragment-fr-bare-street-v22: 12.0
152
+ rendered-si-bare-village: 12.0
153
+ rendered-no-street-led: 0.0
154
+ rendered-cz-pcfirst-preposition: 0.0 # Replaced by rendered-cz-pcfirst-preposition-v21.
155
+ rendered-cz-pcfirst-preposition-v21: 12.0
156
+ rendered-nl-postcode: 6.0
157
+ fragment-assay: 6.0
158
+ fragment-fr: 12.0
159
+ fragment-no: 12.0
160
+ rendered-gb-os-open: 6.0
161
+ rendered-pt: 6.0
162
+ rendered-ch: 6.0
163
+ rendered-hr: 6.0
164
+ rendered-sk: 6.0
165
+ rendered-lu: 6.0
166
+ spliced-sub-venue: 12.0
167
+ spliced-suffix-boundary: 2.5
168
+ # Replaced by osm-pk, osm-vn and osm-bd, the 2026-10-02 refresh of the same extracts.
169
+ osm: 0.0
170
+ # Han-script rows for the CJK character family. v7.1.0's header, point 2, states why.
171
+ osm-cn: 0.0
172
+ source_reps:
173
+ rendered-sg-register: 1.0
174
+ rendered-pk-register: 1.0
175
+ rendered-bd-register: 8.0
176
+ spliced-trailing-region-es-v28: 8.0
177
+ invented-po-box-military: 8.0
178
+ codex-bare-postcode: 1.0
179
+ spliced-trailing-region-us: 1.0
180
+ spliced-trailing-region-ca-bare: 4.0
181
+ osm-ru: 0.2
182
+ osm-in: 2.0
183
+ osm-id: 2.0
184
+ osm-ng: 4.0
185
+ osm-vn: 1.0
186
+ osm-pk: 1.0
187
+ osm-bd: 2.0
188
+ # v8.3.2's header, point 3.
189
+ ban-gp: 0.15
190
+ ban-mq: 0.15
191
+ ban-re: 0.08
192
+ ban-gf: 0.3
193
+ ban-yt: 0.3
194
+ ban-nc: 0.3
195
+ ban-pm: 2.0
196
+ ban-bl: 1.0
197
+ ban-mf: 1.0
198
+ ban-pf: 1.0
199
+ ro-retea-scolara: 2.0
200
+ lv-varis: 0.1
201
+ # v8.3.2's header, point 4.
202
+ cordis: 0.2
203
+ fr-finess-overseas: 4.0
204
+ fr-annuaire-education-overseas: 4.0
205
+ gleif-lei: 0.03
206
+ # v8.3.2's header, point 2, and v8.4.0's header, point 1, for the source's v0.8.12 rows.
207
+ geonames-features: 0.12
208
+ # v8.6.1's header, point 2.
209
+ wikidata-vital-places: 0.4
210
+ # This config's header, point 1.
211
+ usgov-usgs-structures: 0.075
212
+ # This config's header, point 3.
213
+ fr-laposte-poincont: 0.25
214
+ nc-opt-agences: 4.0
215
+ # This config's header, point 4.
216
+ es-sanidad-centros-ap: 0.2
217
+ it-miur-scuole: 0.2
218
+ au-acnc-register: 0.2
219
+ nz-charities-register: 0.2
220
+ # The country-gap sources each take one pass over their rows.
221
+ adressur-fo: 1.0
222
+ ads: 1.0
223
+ bsp-gu: 1.0
224
+ gbpa-bs: 1.0
225
+ ide-uy: 1.0
226
+ landregistry-im: 1.0
227
+ llv-li: 1.0
228
+ opendata-az: 1.0
229
+ osm-ae: 1.0
230
+ osm-al: 1.0
231
+ osm-am: 1.0
232
+ osm-ao: 1.0
233
+ osm-ar: 1.0
234
+ osm-aw: 1.0
235
+ osm-az: 1.0
236
+ osm-ba: 1.0
237
+ osm-bb: 1.0
238
+ osm-bh: 1.0
239
+ osm-bm: 1.0
240
+ osm-bn: 1.0
241
+ osm-bs: 1.0
242
+ osm-bt: 1.0
243
+ osm-bw: 1.0
244
+ osm-by: 1.0
245
+ osm-bz: 1.0
246
+ osm-cd: 1.0
247
+ osm-ci: 1.0
248
+ osm-cl: 1.0
249
+ osm-co: 1.0
250
+ osm-cr: 1.0
251
+ osm-cu: 1.0
252
+ osm-cw: 1.0
253
+ osm-do: 1.0
254
+ osm-dz: 1.0
255
+ osm-ec: 1.0
256
+ osm-eg: 1.0
257
+ osm-ge: 1.0
258
+ osm-gg: 1.0
259
+ osm-gh: 1.0
260
+ osm-gl: 1.0
261
+ osm-gt: 1.0
262
+ osm-hk: 1.0
263
+ osm-ht: 1.0
264
+ osm-iq: 1.0
265
+ osm-ir: 1.0
266
+ osm-je: 1.0
267
+ osm-jm: 1.0
268
+ osm-jo: 1.0
269
+ osm-ke: 1.0
270
+ osm-kg: 1.0
271
+ osm-kh: 1.0
272
+ osm-kw: 1.0
273
+ osm-kz: 1.0
274
+ osm-lb: 1.0
275
+ osm-lk: 1.0
276
+ osm-lr: 1.0
277
+ osm-ma: 1.0
278
+ osm-md: 1.0
279
+ osm-me: 1.0
280
+ osm-mg: 1.0
281
+ osm-mk: 1.0
282
+ osm-mm: 1.0
283
+ osm-mn: 1.0
284
+ osm-mo: 1.0
285
+ osm-mt: 1.0
286
+ osm-mv: 1.0
287
+ osm-my: 1.0
288
+ osm-mz: 1.0
289
+ osm-na: 1.0
290
+ osm-np: 1.0
291
+ osm-om: 1.0
292
+ osm-pa: 1.0
293
+ osm-pe: 1.0
294
+ osm-pf: 1.0
295
+ osm-ph: 1.0
296
+ osm-pr: 1.0
297
+ osm-py: 1.0
298
+ osm-qa: 1.0
299
+ osm-rs: 1.0
300
+ osm-rw: 1.0
301
+ osm-sa: 1.0
302
+ osm-sm: 1.0
303
+ osm-sn: 1.0
304
+ osm-sr: 1.0
305
+ osm-sv: 1.0
306
+ osm-th: 1.0
307
+ osm-tj: 1.0
308
+ osm-tm: 1.0
309
+ osm-tn: 1.0
310
+ osm-tt: 1.0
311
+ osm-tz: 1.0
312
+ osm-ua: 1.0
313
+ osm-ug: 1.0
314
+ osm-uz: 1.0
315
+ osm-ve: 1.0
316
+ osm-vi: 1.0
317
+ osm-zm: 1.0
318
+ osm-zw: 1.0
319
+ ryhti-ax: 1.0
320
+ required_corpus_receipts:
321
+ # Each receipt stops the run when the epoch-mixture audit draws fewer matching rows than `min_draws`.
322
+ - name: us-city-state-postcode
323
+ min_draws: 300
324
+ source: spliced-trailing-region-us
325
+ country: US
326
+ component_sequence:
327
+ - locality
328
+ - region
329
+ - postcode
330
+ - name: ca-region-code-tail
331
+ min_draws: 600
332
+ source: spliced-trailing-region-ca-bare
333
+ country: CA
334
+ - name: us-secondary-unit-current-generation
335
+ min_draws: 1200
336
+ source: spliced-unit-v30
337
+ country: US
338
+ - name: bare-postcode-czech
339
+ min_draws: 150
340
+ source: codex-bare-postcode
341
+ country: CZ
342
+ - name: cz-postcode-first-current-generation
343
+ min_draws: 600
344
+ source: rendered-cz-pcfirst-preposition-v21
345
+ country: CZ
346
+ - name: fr-bare-street-current-generation
347
+ min_draws: 600
348
+ source: fragment-fr-bare-street-v22
349
+ country: FR
350
+ - name: sg-registers
351
+ min_draws: 600
352
+ source: rendered-sg-register
353
+ country: SG
354
+ - name: pk-house-line
355
+ min_draws: 600
356
+ source: rendered-pk-register
357
+ country: PK
358
+ - name: bd-trailing-postcode
359
+ min_draws: 300
360
+ source: rendered-bd-register
361
+ country: BD
362
+ - name: es-trailing-region-local-surfaces
363
+ min_draws: 300
364
+ source: spliced-trailing-region-es-v28
365
+ country: ES
366
+ - name: us-military-po-box
367
+ min_draws: 300
368
+ source: invented-po-box-military
369
+ country: US
370
+ # GB rows come from OS OpenData now. rendered-gb drew 24,314 of the 1,000,000 audited rows at weight 6.0, and this
371
+ # floor sits at the same 1,000 as the other rendered locales.
372
+ - name: gb-os-open-rows
373
+ min_draws: 600
374
+ source: rendered-gb-os-open
375
+ country: GB
376
+ - name: pt-native-order
377
+ min_draws: 600
378
+ source: rendered-pt
379
+ country: PT
380
+ - name: ch-native-order
381
+ min_draws: 600
382
+ source: rendered-ch
383
+ country: CH
384
+ - name: hr-native-order
385
+ min_draws: 600
386
+ source: rendered-hr
387
+ country: HR
388
+ - name: sk-native-order
389
+ min_draws: 600
390
+ source: rendered-sk
391
+ country: SK
392
+ - name: lu-native-order
393
+ min_draws: 600
394
+ source: rendered-lu
395
+ country: LU
396
+ - name: br-overture-rooftops
397
+ min_draws: 600
398
+ source: overture-latam
399
+ country: BR
400
+ - name: mx-overture-rooftops
401
+ min_draws: 600
402
+ source: overture-latam
403
+ country: MX
404
+ # The OSM receipts copied from v7.1.0.
405
+ - name: osm-ru-exposure
406
+ min_draws: 28068
407
+ source: osm-ru
408
+ country: RU
409
+ - name: osm-in-exposure
410
+ min_draws: 7242
411
+ source: osm-in
412
+ country: IN
413
+ - name: osm-id-exposure
414
+ min_draws: 7452
415
+ source: osm-id
416
+ country: ID
417
+ - name: osm-ng-exposure
418
+ min_draws: 1884
419
+ source: osm-ng
420
+ country: NG
421
+ - name: osm-vn-exposure
422
+ min_draws: 4812
423
+ source: osm-vn
424
+ country: VN
425
+ - name: osm-pk-exposure
426
+ min_draws: 5586
427
+ source: osm-pk
428
+ country: PK
429
+ - name: osm-bd-exposure
430
+ min_draws: 1560
431
+ source: osm-bd
432
+ country: BD
433
+ # The address-system sources, each at 90% of its expected draws over the 1,000,000-row epoch, rounded down to
434
+ # a multiple of 10. The draws are the v0.8.2 epoch-mixture audit's, run locally on the re-rooted manifest.
435
+ - name: ban-gp-exposure
436
+ min_draws: 1602
437
+ source: ban-gp
438
+ country: GP
439
+ - name: ban-mq-exposure
440
+ min_draws: 1320
441
+ source: ban-mq
442
+ country: MQ
443
+ - name: ban-re-exposure
444
+ min_draws: 1758
445
+ source: ban-re
446
+ country: RE
447
+ - name: ban-gf-exposure
448
+ min_draws: 1122
449
+ source: ban-gf
450
+ country: GF
451
+ - name: ban-yt-exposure
452
+ min_draws: 918
453
+ source: ban-yt
454
+ country: YT
455
+ - name: ban-nc-exposure
456
+ min_draws: 1014
457
+ source: ban-nc
458
+ country: NC
459
+ - name: ban-pm-exposure
460
+ min_draws: 438
461
+ source: ban-pm
462
+ country: PM
463
+ - name: ban-bl-exposure
464
+ min_draws: 408
465
+ source: ban-bl
466
+ country: BL
467
+ - name: ban-mf-exposure
468
+ min_draws: 504
469
+ source: ban-mf
470
+ country: MF
471
+ - name: ban-pf-exposure
472
+ min_draws: 480
473
+ source: ban-pf
474
+ country: PF
475
+ - name: ro-retea-scolara-exposure
476
+ min_draws: 2190
477
+ source: ro-retea-scolara
478
+ country: RO
479
+ - name: lv-varis-exposure
480
+ min_draws: 3462
481
+ source: lv-varis
482
+ country: LV
483
+ # v8.3.2's header, point 4.
484
+ - name: cordis-exposure
485
+ min_draws: 4390
486
+ source: cordis
487
+ - name: fr-finess-overseas-exposure
488
+ min_draws: 618
489
+ source: fr-finess-overseas
490
+ - name: fr-annuaire-education-overseas-exposure
491
+ min_draws: 684
492
+ source: fr-annuaire-education-overseas
493
+ - name: gleif-lei-exposure
494
+ min_draws: 15860
495
+ source: gleif-lei
496
+ # v8.4.0's header, point 2.
497
+ - name: geonames-features-exposure
498
+ min_draws: 14860
499
+ source: geonames-features
500
+ component_sequence:
501
+ - venue
502
+ # v8.6.1's header, point 2: a presence floor under the expected draws.
503
+ - name: wikidata-vital-places-exposure
504
+ min_draws: 5000
505
+ source: wikidata-vital-places
506
+ # This config's header, point 2.
507
+ - name: us-structures-exposure
508
+ min_fraction_of_expected: 0.9
509
+ source: usgov-usgs-structures
510
+ country: US
511
+ - name: us-structures-venue-street
512
+ min_fraction_of_expected: 0.9
513
+ source: usgov-usgs-structures
514
+ country: US
515
+ component_sequence:
516
+ - venue
517
+ - street
518
+ # This config's header, point 3.
519
+ - name: fr-laposte-counters-exposure
520
+ min_fraction_of_expected: 0.9
521
+ source: fr-laposte-poincont
522
+ - name: nc-opt-agencies-exposure
523
+ min_fraction_of_expected: 0.5
524
+ source: nc-opt-agences
525
+ country: NC
526
+ # This config's header, point 4.
527
+ - name: es-sanidad-centros-ap-exposure
528
+ min_fraction_of_expected: 0.9
529
+ source: es-sanidad-centros-ap
530
+ country: ES
531
+ - name: it-miur-scuole-exposure
532
+ min_fraction_of_expected: 0.9
533
+ source: it-miur-scuole
534
+ country: IT
535
+ - name: au-acnc-register-exposure
536
+ min_fraction_of_expected: 0.9
537
+ source: au-acnc-register
538
+ country: AU
539
+ - name: nz-charities-register-exposure
540
+ min_fraction_of_expected: 0.9
541
+ source: nz-charities-register
542
+ country: NZ
543
+ # #2750. The move copies a train row whose postcode sits on its layout's native side of the locality-and-region
544
+ # block, so these four receipts floor that native population in the D-rule locales. They match the drawn row
545
+ # before augmentation, so they read the same in all three arms. Each floor is a presence floor, set well under the
546
+ # source's share of a 1,000,000-row epoch rather than fitted to an audit. A shortfall stops the run for a
547
+ # diagnosis, and the floor stays where it is.
548
+ - name: us-native-locality-region-postcode
549
+ min_draws: 6000
550
+ country: US
551
+ component_sequence:
552
+ - locality
553
+ - region
554
+ - postcode
555
+ - name: fr-native-postcode-locality
556
+ min_draws: 6000
557
+ source: ban
558
+ country: FR
559
+ component_sequence:
560
+ - postcode
561
+ - locality
562
+ - name: de-native-postcode-locality
563
+ min_draws: 600
564
+ source: rendered-de
565
+ country: DE
566
+ component_sequence:
567
+ - postcode
568
+ - locality
569
+ - name: gb-native-locality-postcode
570
+ min_draws: 300
571
+ source: rendered-gb-os-open
572
+ country: GB
573
+ component_sequence:
574
+ - locality
575
+ - postcode
576
+ # #2750 keeps the producers that write another form rather than mixing order: G-NAF's postcode before the street,
577
+ # fr-order variants A, B and D, and nl-postcode orders 1 and 2. The move skips gnaf and the CZ pcfirst sources.
578
+ # These floor their presence so a rebuild that dropped one is caught before a GPU is allocated.
579
+ - name: au-gnaf-rows
580
+ min_draws: 600
581
+ source: gnaf
582
+ country: AU
583
+ - name: fr-order-kept-variants
584
+ min_draws: 600
585
+ source: rendered-fr-order
586
+ country: FR
587
+ - name: nl-postcode-rows
588
+ min_draws: 600
589
+ source: rendered-nl-postcode
590
+ country: NL
591
+ required_validation_coverage:
592
+ - country: GB
593
+ min_rows: 1000
594
+ min_street_rows: 1000
595
+ - country: FR
596
+ min_rows: 1000
597
+ min_street_rows: 1000
598
+ - country: DE
599
+ min_rows: 1000
600
+ min_street_rows: 1000
601
+ - country: US
602
+ min_rows: 1000
603
+ min_street_rows: 1000
604
+ - country: RU
605
+ min_rows: 20
606
+ min_street_rows: 10
607
+ - country: CN
608
+ min_rows: 20
609
+ min_street_rows: 10
610
+ - country: IN
611
+ min_rows: 20
612
+ min_street_rows: 10
613
+ - country: ID
614
+ min_rows: 20
615
+ min_street_rows: 10
616
+ - country: NG
617
+ min_rows: 20
618
+ min_street_rows: 10
619
+ - country: PK
620
+ min_rows: 20
621
+ min_street_rows: 10
622
+ - country: BD
623
+ min_rows: 20
624
+ min_street_rows: 10
625
+ - country: VN
626
+ min_rows: 20
627
+ min_street_rows: 10
628
+ # Presence floors for the address-system sources' countries.
629
+ - country: RO
630
+ min_rows: 20
631
+ min_street_rows: 10
632
+ - country: LV
633
+ min_rows: 20
634
+ min_street_rows: 10
635
+ - country: GP
636
+ min_rows: 20
637
+ min_street_rows: 10
638
+ - country: MQ
639
+ min_rows: 20
640
+ min_street_rows: 10
641
+ - country: GF
642
+ min_rows: 20
643
+ min_street_rows: 10
644
+ - country: RE
645
+ min_rows: 20
646
+ min_street_rows: 10
647
+ - country: YT
648
+ min_rows: 20
649
+ min_street_rows: 10
650
+ - country: NC
651
+ min_rows: 20
652
+ min_street_rows: 10
653
+ - country: PF
654
+ min_rows: 20
655
+ min_street_rows: 10
656
+ # PM has no entry. The hashed place holdout (6ff893e25) leaves it no held-out place, so its val split held 1 row on
657
+ # v0.8.1, and a country with no held-out split gets no floor, as BL and MF got none in v7.2.0.
658
+ # Half of each label's rows in the 22,208-row val draw of v0.8.19-retention-overlay. Measured counts: locality
659
+ # 19,303, street 16,755, postcode 15,353, house_number 15,308, region 5,623, venue 4,042, country 2,843,
660
+ # street_prefix 2,712, street_suffix 1,774, unit 401. dependent_locality 1,651, subregion 596 and po_box 52 take no
661
+ # floor, as the v0.8.2 floors set none for them.
662
+ required_validation_label_support:
663
+ - {label: postcode, split: val, min_rows: 7677}
664
+ - {label: locality, split: val, min_rows: 9650}
665
+ - {label: street, split: val, min_rows: 8379}
666
+ - {label: house_number, split: val, min_rows: 7656}
667
+ - {label: region, split: val, min_rows: 2810}
668
+ - {label: street_suffix, split: val, min_rows: 887}
669
+ - {label: street_prefix, split: val, min_rows: 1353}
670
+ - {label: venue, split: val, min_rows: 2018}
671
+ - {label: unit, split: val, min_rows: 201}
672
+ - {label: country, split: val, min_rows: 1422}
673
+ augment_exclude_sources:
674
+ - spliced-suffix-boundary
675
+ # This source teaches a postcode with no other token, such as `119 00`, so augmentation would add tokens the row
676
+ # mustn't contain.
677
+ - codex-bare-postcode
678
+ # On WOF rows the region and directional rewrites expand a word inside a place name (`AL MANĀMAH` to
679
+ # `Alabama MANĀMAH`) under the original label, and the build already renders a `drop-commas` variant.
680
+ - wof-admin
681
+ - wof-postalcode
682
+ # The same rewrites would expand a word inside a landmark's name under the `venue` label.
683
+ - wikidata-vital-places
684
+ train_rows_per_epoch: 1000000
685
+ # The validation draw is sized to hold the venue and country rows the label floors above require.
686
+ val_rows: 36864
687
+ coarse_filter: true
688
+ augment_directional_prob: 0.3
689
+ augment_region_prob: 0.3
690
+ augment_glue_prob: 0.25
691
+ augment_ordinal_prob: 0.3
692
+ augment_punct_drop_prob: 0.3
693
+ augment_postcode_move_prob: 0.0
694
+ anchor_lookup_path: /data/anchor/pilot-anchor-lookup-v2-2026-08-05.json
695
+ gazetteer_lexicon_path: /data/gazetteer/anchor-lexicon-v1.json
696
+ country_lexicon_path: /data/gazetteer/country-surface-lexicon-v1.json
697
+ gazetteer_choreography: true
698
+ affix_relabel_lexicon_path: /data/gazetteer/affix-relabel-lexicon-v2.json
699
+ anchor_paint_mode: postal
700
+ anchor_value_mode: posterior_latlon
701
+ street_type_lexicon_path: /data/gazetteer/street-type-lexicon-v3.json
702
+ locality_surface_lexicon_path: /data/gazetteer/locality-surface-lexicon-v7.json
703
+
704
+ model:
705
+ hidden_size: 384
706
+ use_span_boundary_head: true
707
+ span_boundary_loss_weight: 0.5
708
+ num_hidden_layers: 6
709
+ num_attention_heads: 6
710
+ intermediate_size: 1536
711
+ max_position_embeddings: 128
712
+ type_vocab_size: 1
713
+ hidden_dropout_prob: 0.1
714
+ attention_probs_dropout_prob: 0.1
715
+ use_crf: true
716
+ crf_loss_weight: 0.0
717
+ crf_normalization: per_sequence
718
+ label_smoothing: 0.1
719
+ use_locale_conditioning: true
720
+ locale_loss_weight: 0.3
721
+ use_address_system_head: true
722
+ address_system_loss_weight: 0.3
723
+ use_locale_hint: true
724
+ locale_hint_drop_prob: 0.5
725
+ locale_hint_noise_prob: 0.05
726
+ use_postcode_anchor: true
727
+ use_gazetteer_anchor: true
728
+ gazetteer_feature_dim: 5
729
+ use_country_anchor: true
730
+ country_feature_dim: 2
731
+ use_street_type_anchor: true
732
+ street_type_feature_dim: 1
733
+ use_locality_surface_anchor: true
734
+ locality_surface_feature_dim: 2
735
+ country_ambiguous_scale: 0.5
736
+ class_weights:
737
+ O: 0.5
738
+ B-country: 3.5
739
+ I-country: 3.5
740
+ B-region: 1.5
741
+ I-region: 1.5
742
+ B-locality: 2.0
743
+ I-locality: 2.0
744
+ B-dependent_locality: 1.0
745
+ I-dependent_locality: 1.0
746
+ B-postcode: 1.5
747
+ I-postcode: 1.5
748
+ B-subregion: 0.3
749
+ I-subregion: 0.3
750
+ B-cedex: 1.0
751
+ I-cedex: 1.0
752
+ B-venue: 1.5
753
+ I-venue: 1.5
754
+ B-street: 2.0
755
+ I-street: 2.0
756
+ B-house_number: 1.5
757
+ I-house_number: 1.5
758
+ B-street_prefix: 1.5
759
+ I-street_prefix: 1.5
760
+ B-street_suffix: 1.5
761
+ I-street_suffix: 1.5
762
+ B-unit: 1.5
763
+ I-unit: 1.5
764
+ B-po_box: 1.5
765
+ I-po_box: 1.5
766
+ B-intersection_a: 1.0
767
+ I-intersection_a: 1.0
768
+ B-intersection_b: 1.0
769
+ I-intersection_b: 1.0
770
+ use_phrase_priors: true
771
+ phrase_feature_dim: 10
772
+
773
+ train:
774
+ output_dir: /data/output-v870-base-c6-90k-usgs-structures-s42/checkpoints
775
+ seed: 42
776
+ batch_size: 128
777
+ eval_batch_size: 128
778
+ grad_accum_steps: 1
779
+ learning_rate: 5.0e-4
780
+ weight_decay: 0.01
781
+ warmup_steps: 1000
782
+ grad_clip_norm: 1.0
783
+ max_steps: 90000
784
+ eval_every_steps: 2000
785
+ save_every_steps: 5000
786
+ log_every_steps: 100
787
+ precision: bf16
788
+ num_workers: 0
789
+ csv_log_path: "{output_dir}/../train_log.csv"
790
+ lr_schedule: cosine
791
+ gazetteer_curriculum: true
792
+ evidence_curriculum: true
793
+ evidence_noise_prob: 0.15
794
+ fisher_capture: true
795
+ fisher_capture_last_n_steps: 2000
796
+ trackio_project: mailwoman
797
+ trackio_run_name: v870-base-c6-90k-usgs-structures-s42
798
+
799
+ eval:
800
+ golden_dir: /data/eval/golden/v0.1.3
801
+ val_jsonl: ""