@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,848 @@
1
+ # v8.9.0-base-c6-90k-v0821-s42 is v8.8.0-base-c6-90k-v0820-county-s42.yaml on corpus v0.8.21. Every key and value is
2
+ # that config's except these:
3
+ #
4
+ # 1. `data.corpus_dir` is corpus v0.8.21,
5
+ # /data/corpus/versioned/v0.8.21-retention-overlay/corpus-v0.8.21-retention-overlay. Its MANIFEST.json has sha256
6
+ # 5a9f26e52b89492d35a1eeea942b81838c3345d5eab979f3467df70f45199d1b (read on the host copy under /mnt/mw,
7
+ # 2026-11-19), and its split, under packages/corpus/data/holdout/evaluation-groups.v0.8.21.json, is 889,624,742
8
+ # rows in 1,102 files: 889,265,391 train, 22,426 val and 336,925 test. Corpus v0.8.21 is v0.8.20 with one file
9
+ # replaced and new held-out groups:
10
+ # - `invented-house-venue-intl` is re-rendered by the recipe fix of 9b93bccef2 (lane AT). v0.8.20's render wrote
11
+ # every IN row as `Locality PIN, State`. The fixed recipe writes IN in both forms the codex `WRITTEN_LAYOUTS`
12
+ # table records. Of the 6,000 IN rows of the 18,000-row file
13
+ # (/mnt/mw/corpus/recipe-outputs-v0.8.21/invented-house-venue-intl-v0.8.21.labeled.jsonl, counted 2026-11-19),
14
+ # 2,975 end `locality, region, postcode` and 3,025 end `locality, postcode, region`. The other 12,000 rows are
15
+ # 6,000 PT and 6,000 MX;
16
+ # - 44,060 frozen development groups of `heldout-dev-v0.8.21` move from train to test, so this run trains on none
17
+ # of them.
18
+ # 2. `train.output_dir` and `train.trackio_run_name` name the run.
19
+ #
20
+ # Every receipt is v8.8.0's. `house-venue-exposure` names only its source, so its expected draws are the epoch times
21
+ # the source's share of the configured weights (`invented-house-venue: 2.0`), and the new file's row count doesn't
22
+ # move its floor. A comment in the body that cites "v8.8.0's header, point N" cites that config's header. Its points
23
+ # 2 to 4 give the county weights, the subregion class weight and the receipts.
24
+ #
25
+ # Before launch, on the admitted v0.8.21 manifest (HOLDOUT_AND_EVALUATION sections 4.4 item 5 and 8):
26
+ # - done 2026-11-19: point 1 records the manifest's sha256 and split counts;
27
+ # - done 2026-11-19: `required_validation_label_support` is re-derived from the v0.8.21 val draw, and
28
+ # `audits/validation/coverage.run.ts` finds every `required_validation_coverage` floor met on the re-split's 22,426
29
+ # val rows. The tightest are NG at 27 rows against 20, PF at 100, and LV at 177 rows with 123 street rows. DE fell
30
+ # from 2,027 val rows to 1,609, still above its 1,000. `val_rows` (36,864) stays above the 20,748-row draw;
31
+ # - done 2026-11-19: the epoch-mixture audit (seed 43, 1,000,000 draws) meets every receipt, with no floor changed.
32
+ # The tightest are `nz-charities-register-exposure`, 1,269 drawn against 1,200, and `ban-bl-exposure`, 449 against
33
+ # 408. It took 14 min 10 s of host CPU, and its report is
34
+ # /mnt/mw/audits/epoch-mixture-v8.9.0-base-c6-90k-v0821-s42.json.
35
+ #
36
+ # Run shape: from scratch, with no `train.init_from`, as v8.8.0. Why: the run repeats v8.8.0's recipe on a corpus
37
+ # that corrects one recipe output, so the change under test is that file. Control: the v8.8.0 seed 42 run, the same
38
+ # recipe and seed on v0.8.20. The new held-out groups are the second difference between the two corpora: they take
39
+ # 44,060 groups out of training, so a loss outside IN is read against them before the house-venue file.
40
+ #
41
+ # Seed 42, as v8.8.0, chosen on development only (v8.8.0's header).
42
+ #
43
+ # Prediction, written 2026-11-19 before the v0.8.21 manifest exists, against the v8.8.0 seed 42 run on the
44
+ # development role. The coordinator gave the IN counts. This config's author didn't re-measure them:
45
+ # - IN rows in the `Locality, State PIN` form: v8.7.0 seed 42 parses 216 of 218 exactly, v8.8.0 seed 42 parses 10.
46
+ # v8.9.0 recovers to at least 200 of 218. The `Locality PIN, State` rows v8.8.0 learned stay at or above
47
+ # v8.8.0's count less 5.
48
+ # - US rows with a `subregion` span and `country-US` hold at v8.8.0's values, within 2 rows and 0.005. No v0.8.21
49
+ # change touches a US source.
50
+ # - AU stays inside the v8.7.0 seed range: AU address rows with a `region` span between 1,229 and 1,391 of 1,717,
51
+ # and `country-AU` at or above 0.927.
52
+ # A result outside these ranges is attributed by country and row before anything else.
53
+ #
54
+ # Launch with `--fresh --device A100-40GB`: 90,000 steps, about $3.40 of Modal, as each v8.7.0 run billed.
55
+ #
56
+ # The receipt preflight, CPU only, on a copy of this config re-rooted at /mnt/mw (the launcher runs it before it
57
+ # starts a sandbox):
58
+ # node packages/mailwoman/tools/training/audits/epoch/mixture.run.ts \
59
+ # --config <re-rooted copy of packages/corpus/data/training-configs/v8.9.0-base-c6-90k-v0821-s42.yaml> \
60
+ # --json /mnt/mw/audits/epoch-mixture-v8.9.0-base-c6-90k-v0821-s42.json
61
+ #
62
+ # What a `pass` needs, and the steps after training, are v8.8.0's header's, with this run's corpus v0.8.21 in place
63
+ # of v0.8.20.
64
+
65
+ data:
66
+ corpus_dir: /data/corpus/versioned/v0.8.21-retention-overlay/corpus-v0.8.21-retention-overlay
67
+ tokenizer_dir: /data/models/tokenizer/v0.10.0-c6-isolated-punctuation
68
+ max_length: 128
69
+ # `NO` is quoted because YAML 1.1 reads a bare `NO` as false. A false key would match no Norwegian row.
70
+ country_weights:
71
+ {
72
+ 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,
73
+ 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,
74
+ 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,
75
+ 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,
76
+ 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,
77
+ 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,
78
+ 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,
79
+ 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,
80
+ 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,
81
+ 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,
82
+ 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,
83
+ 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,
84
+ 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,
85
+ 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,
86
+ 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,
87
+ 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,
88
+ 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,
89
+ 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,
90
+ }
91
+ source_weights:
92
+ invented-house-venue: 2.0
93
+ overture-latam: 6.0
94
+ # v8.6.2's header, point 1.
95
+ wof-admin: 15.0
96
+ wof-postalcode: 7.5
97
+ # 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
98
+ # v0.8.7-overlay, under the fr-native-postcode-locality floor of 10,000.
99
+ ban: 3.3
100
+ tiger: 4.0
101
+ usgov-nppes: 2.0
102
+ usgov-hrsa-fqhc: 2.0
103
+ usgov-nad: 1.0
104
+ # v7.2.0's weight. us-professional-licensing-3 is elected under the US factual-data reading.
105
+ state-tx-notaries: 1.5
106
+ state-ny-notaries: 2.0
107
+ state-ia-contractors: 0.0
108
+ usgov-imls-pls: 0.0
109
+ deepseek-kryptonite: 3.0
110
+ invented-intersection: 1.0
111
+ rendered-de: 6.0
112
+ rendered-fr-order: 3.0
113
+ rendered-fr-admin-split: 6.0
114
+ spliced-unit: 0.0 # Replaced by spliced-unit-v30.
115
+ spliced-unit-v30: 1.5
116
+ invented-po-box-cedex: 1.5
117
+ invented-postal-guideline: 1.5
118
+ invented-postal-unit-guideline: 2.5
119
+ spliced-affix: 2.0
120
+ spliced-country: 2.0
121
+ overture: 3.0
122
+ gnaf: 6.0
123
+ invented-anchor-absorption: 6.0
124
+ fragment-fr-bare-street: 0.0 # Replaced by fragment-fr-bare-street-v22.
125
+ fragment-fr-bare-street-v22: 12.0
126
+ rendered-si-bare-village: 12.0
127
+ rendered-no-street-led: 0.0
128
+ rendered-cz-pcfirst-preposition: 0.0 # Replaced by rendered-cz-pcfirst-preposition-v21.
129
+ rendered-cz-pcfirst-preposition-v21: 12.0
130
+ rendered-nl-postcode: 6.0
131
+ fragment-assay: 6.0
132
+ fragment-fr: 12.0
133
+ fragment-no: 12.0
134
+ rendered-gb-os-open: 6.0
135
+ rendered-pt: 6.0
136
+ rendered-ch: 6.0
137
+ rendered-hr: 6.0
138
+ rendered-sk: 6.0
139
+ rendered-lu: 6.0
140
+ spliced-sub-venue: 12.0
141
+ spliced-suffix-boundary: 2.5
142
+ # Replaced by osm-pk, osm-vn and osm-bd, the 2026-10-02 refresh of the same extracts.
143
+ osm: 0.0
144
+ # Han-script rows for the CJK character family. v7.1.0's header, point 2, states why.
145
+ osm-cn: 0.0
146
+ source_reps:
147
+ rendered-sg-register: 1.0
148
+ rendered-pk-register: 1.0
149
+ rendered-bd-register: 8.0
150
+ spliced-trailing-region-es-v28: 8.0
151
+ invented-po-box-military: 8.0
152
+ codex-bare-postcode: 1.0
153
+ spliced-trailing-region-us: 1.0
154
+ spliced-trailing-region-ca-bare: 4.0
155
+ osm-ru: 0.2
156
+ osm-in: 2.0
157
+ osm-id: 2.0
158
+ osm-ng: 4.0
159
+ osm-vn: 1.0
160
+ osm-pk: 1.0
161
+ osm-bd: 2.0
162
+ # v8.3.2's header, point 3.
163
+ ban-gp: 0.15
164
+ ban-mq: 0.15
165
+ ban-re: 0.08
166
+ ban-gf: 0.3
167
+ ban-yt: 0.3
168
+ ban-nc: 0.3
169
+ ban-pm: 2.0
170
+ ban-bl: 1.0
171
+ ban-mf: 1.0
172
+ ban-pf: 1.0
173
+ ro-retea-scolara: 2.0
174
+ lv-varis: 0.1
175
+ # v8.3.2's header, point 4.
176
+ cordis: 0.2
177
+ fr-finess-overseas: 4.0
178
+ fr-annuaire-education-overseas: 4.0
179
+ gleif-lei: 0.03
180
+ # v8.3.2's header, point 2, and v8.4.0's header, point 1, for the source's v0.8.12 rows.
181
+ geonames-features: 0.12
182
+ # v8.6.1's header, point 2.
183
+ wikidata-vital-places: 0.4
184
+ # v8.7.0's header, point 1.
185
+ usgov-usgs-structures: 0.075
186
+ # v8.7.0's header, point 3.
187
+ fr-laposte-poincont: 0.25
188
+ nc-opt-agences: 4.0
189
+ # v8.7.0's header, point 4.
190
+ es-sanidad-centros-ap: 0.2
191
+ it-miur-scuole: 0.2
192
+ au-acnc-register: 0.2
193
+ nz-charities-register: 0.2
194
+ # v8.8.0's header, point 2.
195
+ rendered-us-county: 5.0
196
+ rendered-us-city-county: 0.55
197
+ rendered-us-city-state: 1.0
198
+ # The country-gap sources each take one pass over their rows.
199
+ adressur-fo: 1.0
200
+ ads: 1.0
201
+ bsp-gu: 1.0
202
+ gbpa-bs: 1.0
203
+ ide-uy: 1.0
204
+ landregistry-im: 1.0
205
+ llv-li: 1.0
206
+ opendata-az: 1.0
207
+ osm-ae: 1.0
208
+ osm-al: 1.0
209
+ osm-am: 1.0
210
+ osm-ao: 1.0
211
+ osm-ar: 1.0
212
+ osm-aw: 1.0
213
+ osm-az: 1.0
214
+ osm-ba: 1.0
215
+ osm-bb: 1.0
216
+ osm-bh: 1.0
217
+ osm-bm: 1.0
218
+ osm-bn: 1.0
219
+ osm-bs: 1.0
220
+ osm-bt: 1.0
221
+ osm-bw: 1.0
222
+ osm-by: 1.0
223
+ osm-bz: 1.0
224
+ osm-cd: 1.0
225
+ osm-ci: 1.0
226
+ osm-cl: 1.0
227
+ osm-co: 1.0
228
+ osm-cr: 1.0
229
+ osm-cu: 1.0
230
+ osm-cw: 1.0
231
+ osm-do: 1.0
232
+ osm-dz: 1.0
233
+ osm-ec: 1.0
234
+ osm-eg: 1.0
235
+ osm-ge: 1.0
236
+ osm-gg: 1.0
237
+ osm-gh: 1.0
238
+ osm-gl: 1.0
239
+ osm-gt: 1.0
240
+ osm-hk: 1.0
241
+ osm-ht: 1.0
242
+ osm-iq: 1.0
243
+ osm-ir: 1.0
244
+ osm-je: 1.0
245
+ osm-jm: 1.0
246
+ osm-jo: 1.0
247
+ osm-ke: 1.0
248
+ osm-kg: 1.0
249
+ osm-kh: 1.0
250
+ osm-kw: 1.0
251
+ osm-kz: 1.0
252
+ osm-lb: 1.0
253
+ osm-lk: 1.0
254
+ osm-lr: 1.0
255
+ osm-ma: 1.0
256
+ osm-md: 1.0
257
+ osm-me: 1.0
258
+ osm-mg: 1.0
259
+ osm-mk: 1.0
260
+ osm-mm: 1.0
261
+ osm-mn: 1.0
262
+ osm-mo: 1.0
263
+ osm-mt: 1.0
264
+ osm-mv: 1.0
265
+ osm-my: 1.0
266
+ osm-mz: 1.0
267
+ osm-na: 1.0
268
+ osm-np: 1.0
269
+ osm-om: 1.0
270
+ osm-pa: 1.0
271
+ osm-pe: 1.0
272
+ osm-pf: 1.0
273
+ osm-ph: 1.0
274
+ osm-pr: 1.0
275
+ osm-py: 1.0
276
+ osm-qa: 1.0
277
+ osm-rs: 1.0
278
+ osm-rw: 1.0
279
+ osm-sa: 1.0
280
+ osm-sm: 1.0
281
+ osm-sn: 1.0
282
+ osm-sr: 1.0
283
+ osm-sv: 1.0
284
+ osm-th: 1.0
285
+ osm-tj: 1.0
286
+ osm-tm: 1.0
287
+ osm-tn: 1.0
288
+ osm-tt: 1.0
289
+ osm-tz: 1.0
290
+ osm-ua: 1.0
291
+ osm-ug: 1.0
292
+ osm-uz: 1.0
293
+ osm-ve: 1.0
294
+ osm-vi: 1.0
295
+ osm-zm: 1.0
296
+ osm-zw: 1.0
297
+ ryhti-ax: 1.0
298
+ required_corpus_receipts:
299
+ # Each receipt stops the run when the epoch-mixture audit draws fewer matching rows than `min_draws`.
300
+ - name: us-city-state-postcode
301
+ min_draws: 300
302
+ source: spliced-trailing-region-us
303
+ country: US
304
+ component_sequence:
305
+ - locality
306
+ - region
307
+ - postcode
308
+ - name: ca-region-code-tail
309
+ min_draws: 600
310
+ source: spliced-trailing-region-ca-bare
311
+ country: CA
312
+ - name: us-secondary-unit-current-generation
313
+ min_draws: 1200
314
+ source: spliced-unit-v30
315
+ country: US
316
+ - name: bare-postcode-czech
317
+ min_draws: 150
318
+ source: codex-bare-postcode
319
+ country: CZ
320
+ - name: cz-postcode-first-current-generation
321
+ min_draws: 600
322
+ source: rendered-cz-pcfirst-preposition-v21
323
+ country: CZ
324
+ - name: fr-bare-street-current-generation
325
+ min_draws: 600
326
+ source: fragment-fr-bare-street-v22
327
+ country: FR
328
+ - name: sg-registers
329
+ min_draws: 600
330
+ source: rendered-sg-register
331
+ country: SG
332
+ - name: pk-house-line
333
+ min_draws: 600
334
+ source: rendered-pk-register
335
+ country: PK
336
+ - name: bd-trailing-postcode
337
+ min_draws: 300
338
+ source: rendered-bd-register
339
+ country: BD
340
+ - name: es-trailing-region-local-surfaces
341
+ min_draws: 300
342
+ source: spliced-trailing-region-es-v28
343
+ country: ES
344
+ - name: us-military-po-box
345
+ min_draws: 300
346
+ source: invented-po-box-military
347
+ country: US
348
+ # 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
349
+ # floor sits at the same 1,000 as the other rendered locales.
350
+ - name: gb-os-open-rows
351
+ min_draws: 600
352
+ source: rendered-gb-os-open
353
+ country: GB
354
+ - name: pt-native-order
355
+ min_draws: 600
356
+ source: rendered-pt
357
+ country: PT
358
+ - name: ch-native-order
359
+ min_draws: 600
360
+ source: rendered-ch
361
+ country: CH
362
+ - name: hr-native-order
363
+ min_draws: 600
364
+ source: rendered-hr
365
+ country: HR
366
+ - name: sk-native-order
367
+ min_draws: 600
368
+ source: rendered-sk
369
+ country: SK
370
+ - name: lu-native-order
371
+ min_draws: 600
372
+ source: rendered-lu
373
+ country: LU
374
+ - name: br-overture-rooftops
375
+ min_draws: 600
376
+ source: overture-latam
377
+ country: BR
378
+ - name: mx-overture-rooftops
379
+ min_draws: 600
380
+ source: overture-latam
381
+ country: MX
382
+ # The OSM receipts copied from v7.1.0.
383
+ - name: osm-ru-exposure
384
+ min_draws: 28068
385
+ source: osm-ru
386
+ country: RU
387
+ - name: osm-in-exposure
388
+ min_draws: 7242
389
+ source: osm-in
390
+ country: IN
391
+ - name: osm-id-exposure
392
+ min_draws: 7452
393
+ source: osm-id
394
+ country: ID
395
+ - name: osm-ng-exposure
396
+ min_draws: 1884
397
+ source: osm-ng
398
+ country: NG
399
+ - name: osm-vn-exposure
400
+ min_draws: 4812
401
+ source: osm-vn
402
+ country: VN
403
+ - name: osm-pk-exposure
404
+ min_draws: 5586
405
+ source: osm-pk
406
+ country: PK
407
+ - name: osm-bd-exposure
408
+ min_draws: 1560
409
+ source: osm-bd
410
+ country: BD
411
+ # The address-system sources, each at 90% of its expected draws over the 1,000,000-row epoch, rounded down to
412
+ # a multiple of 10. The draws are the v0.8.2 epoch-mixture audit's, run locally on the re-rooted manifest.
413
+ - name: ban-gp-exposure
414
+ min_draws: 1602
415
+ source: ban-gp
416
+ country: GP
417
+ - name: ban-mq-exposure
418
+ min_draws: 1320
419
+ source: ban-mq
420
+ country: MQ
421
+ - name: ban-re-exposure
422
+ min_draws: 1758
423
+ source: ban-re
424
+ country: RE
425
+ - name: ban-gf-exposure
426
+ min_draws: 1122
427
+ source: ban-gf
428
+ country: GF
429
+ - name: ban-yt-exposure
430
+ min_draws: 918
431
+ source: ban-yt
432
+ country: YT
433
+ - name: ban-nc-exposure
434
+ min_draws: 1014
435
+ source: ban-nc
436
+ country: NC
437
+ - name: ban-pm-exposure
438
+ min_draws: 438
439
+ source: ban-pm
440
+ country: PM
441
+ - name: ban-bl-exposure
442
+ min_draws: 408
443
+ source: ban-bl
444
+ country: BL
445
+ - name: ban-mf-exposure
446
+ min_draws: 504
447
+ source: ban-mf
448
+ country: MF
449
+ - name: ban-pf-exposure
450
+ min_draws: 480
451
+ source: ban-pf
452
+ country: PF
453
+ - name: ro-retea-scolara-exposure
454
+ min_draws: 2190
455
+ source: ro-retea-scolara
456
+ country: RO
457
+ - name: lv-varis-exposure
458
+ min_draws: 3462
459
+ source: lv-varis
460
+ country: LV
461
+ # v8.3.2's header, point 4.
462
+ - name: cordis-exposure
463
+ min_draws: 4390
464
+ source: cordis
465
+ - name: fr-finess-overseas-exposure
466
+ min_draws: 618
467
+ source: fr-finess-overseas
468
+ - name: fr-annuaire-education-overseas-exposure
469
+ min_draws: 684
470
+ source: fr-annuaire-education-overseas
471
+ - name: gleif-lei-exposure
472
+ min_draws: 15860
473
+ source: gleif-lei
474
+ # v8.4.0's header, point 2.
475
+ - name: geonames-features-exposure
476
+ min_draws: 14860
477
+ source: geonames-features
478
+ component_sequence:
479
+ - venue
480
+ # v8.6.1's header, point 2: a presence floor under the expected draws.
481
+ - name: wikidata-vital-places-exposure
482
+ min_draws: 5000
483
+ source: wikidata-vital-places
484
+ # v8.7.0's header, point 2.
485
+ - name: us-structures-exposure
486
+ min_fraction_of_expected: 0.9
487
+ source: usgov-usgs-structures
488
+ country: US
489
+ - name: us-structures-venue-street
490
+ min_fraction_of_expected: 0.9
491
+ source: usgov-usgs-structures
492
+ country: US
493
+ component_sequence:
494
+ - venue
495
+ - street
496
+ # v8.7.0's header, point 3.
497
+ - name: fr-laposte-counters-exposure
498
+ min_fraction_of_expected: 0.9
499
+ source: fr-laposte-poincont
500
+ - name: nc-opt-agencies-exposure
501
+ min_fraction_of_expected: 0.5
502
+ source: nc-opt-agences
503
+ country: NC
504
+ # v8.7.0's header, point 4.
505
+ - name: es-sanidad-centros-ap-exposure
506
+ min_fraction_of_expected: 0.9
507
+ source: es-sanidad-centros-ap
508
+ country: ES
509
+ - name: it-miur-scuole-exposure
510
+ min_fraction_of_expected: 0.9
511
+ source: it-miur-scuole
512
+ country: IT
513
+ - name: au-acnc-register-exposure
514
+ min_fraction_of_expected: 0.9
515
+ source: au-acnc-register
516
+ country: AU
517
+ - name: nz-charities-register-exposure
518
+ min_fraction_of_expected: 0.9
519
+ source: nz-charities-register
520
+ country: NZ
521
+ # v8.8.0's header, point 4: the three county sources.
522
+ - name: us-county-exposure
523
+ min_fraction_of_expected: 0.9
524
+ source: rendered-us-county
525
+ country: US
526
+ component_sequence:
527
+ - subregion
528
+ - region
529
+ - name: us-city-county-exposure
530
+ min_fraction_of_expected: 0.9
531
+ source: rendered-us-city-county
532
+ country: US
533
+ component_sequence:
534
+ - locality
535
+ - subregion
536
+ - region
537
+ - name: us-city-state-exposure
538
+ min_fraction_of_expected: 0.9
539
+ source: rendered-us-city-state
540
+ country: US
541
+ component_sequence:
542
+ - locality
543
+ - region
544
+ # v8.8.0's header, point 4: the relabels. The NAD county relabel takes no receipt (that point states why).
545
+ - name: us-nppes-exposure
546
+ min_fraction_of_expected: 0.8
547
+ source: usgov-nppes
548
+ country: US
549
+ - name: us-nppes-po-box
550
+ min_draws: 1
551
+ source: usgov-nppes
552
+ country: US
553
+ component_sequence:
554
+ - po_box
555
+ - name: us-ny-notaries-po-box
556
+ min_fraction_of_expected: 0.5
557
+ source: state-ny-notaries
558
+ country: US
559
+ component_sequence:
560
+ - po_box
561
+ - name: us-kryptonite-retag
562
+ min_fraction_of_expected: 0.9
563
+ source: deepseek-kryptonite
564
+ country: US
565
+ - name: wof-admin-exposure
566
+ min_fraction_of_expected: 0.9
567
+ source: wof-admin
568
+ # v8.8.0's header, point 4: the re-rendered recipe outputs.
569
+ - name: us-pmb-street-split
570
+ min_fraction_of_expected: 0.8
571
+ source: invented-po-box-cedex
572
+ country: US
573
+ component_sequence:
574
+ - street
575
+ - street_suffix
576
+ - po_box
577
+ - name: fr-residence-lotissement-venue
578
+ min_fraction_of_expected: 0.8
579
+ source: invented-postal-unit-guideline
580
+ country: FR
581
+ component_sequence:
582
+ - venue
583
+ - house_number
584
+ - street
585
+ - name: house-venue-exposure
586
+ min_fraction_of_expected: 0.9
587
+ source: invented-house-venue
588
+ # #2750. The move copies a train row whose postcode sits on its layout's native side of the locality-and-region
589
+ # block, so these four receipts floor that native population in the D-rule locales. They match the drawn row
590
+ # before augmentation, so they read the same in all three arms. Each floor is a presence floor, set well under the
591
+ # source's share of a 1,000,000-row epoch rather than fitted to an audit. A shortfall stops the run for a
592
+ # diagnosis, and the floor stays where it is.
593
+ - name: us-native-locality-region-postcode
594
+ min_draws: 6000
595
+ country: US
596
+ component_sequence:
597
+ - locality
598
+ - region
599
+ - postcode
600
+ - name: fr-native-postcode-locality
601
+ min_draws: 6000
602
+ source: ban
603
+ country: FR
604
+ component_sequence:
605
+ - postcode
606
+ - locality
607
+ - name: de-native-postcode-locality
608
+ min_draws: 600
609
+ source: rendered-de
610
+ country: DE
611
+ component_sequence:
612
+ - postcode
613
+ - locality
614
+ - name: gb-native-locality-postcode
615
+ min_draws: 300
616
+ source: rendered-gb-os-open
617
+ country: GB
618
+ component_sequence:
619
+ - locality
620
+ - postcode
621
+ # #2750 keeps the producers that write another form rather than mixing order: G-NAF's postcode before the street,
622
+ # fr-order variants A, B and D, and nl-postcode orders 1 and 2. The move skips gnaf and the CZ pcfirst sources.
623
+ # These floor their presence so a rebuild that dropped one is caught before a GPU is allocated.
624
+ - name: au-gnaf-rows
625
+ min_draws: 600
626
+ source: gnaf
627
+ country: AU
628
+ - name: fr-order-kept-variants
629
+ min_draws: 600
630
+ source: rendered-fr-order
631
+ country: FR
632
+ - name: nl-postcode-rows
633
+ min_draws: 600
634
+ source: rendered-nl-postcode
635
+ country: NL
636
+ required_validation_coverage:
637
+ - country: GB
638
+ min_rows: 1000
639
+ min_street_rows: 1000
640
+ - country: FR
641
+ min_rows: 1000
642
+ min_street_rows: 1000
643
+ - country: DE
644
+ min_rows: 1000
645
+ min_street_rows: 1000
646
+ - country: US
647
+ min_rows: 1000
648
+ min_street_rows: 1000
649
+ - country: RU
650
+ min_rows: 20
651
+ min_street_rows: 10
652
+ - country: CN
653
+ min_rows: 20
654
+ min_street_rows: 10
655
+ - country: IN
656
+ min_rows: 20
657
+ min_street_rows: 10
658
+ - country: ID
659
+ min_rows: 20
660
+ min_street_rows: 10
661
+ - country: NG
662
+ min_rows: 20
663
+ min_street_rows: 10
664
+ - country: PK
665
+ min_rows: 20
666
+ min_street_rows: 10
667
+ - country: BD
668
+ min_rows: 20
669
+ min_street_rows: 10
670
+ - country: VN
671
+ min_rows: 20
672
+ min_street_rows: 10
673
+ # Presence floors for the address-system sources' countries.
674
+ - country: RO
675
+ min_rows: 20
676
+ min_street_rows: 10
677
+ - country: LV
678
+ min_rows: 20
679
+ min_street_rows: 10
680
+ - country: GP
681
+ min_rows: 20
682
+ min_street_rows: 10
683
+ - country: MQ
684
+ min_rows: 20
685
+ min_street_rows: 10
686
+ - country: GF
687
+ min_rows: 20
688
+ min_street_rows: 10
689
+ - country: RE
690
+ min_rows: 20
691
+ min_street_rows: 10
692
+ - country: YT
693
+ min_rows: 20
694
+ min_street_rows: 10
695
+ - country: NC
696
+ min_rows: 20
697
+ min_street_rows: 10
698
+ - country: PF
699
+ min_rows: 20
700
+ min_street_rows: 10
701
+ # PM has no entry. The hashed place holdout (6ff893e25) leaves it no held-out place, so its val split held 1 row on
702
+ # v0.8.1, and a country with no held-out split gets no floor, as BL and MF got none in v7.2.0.
703
+ # Half of each label's rows in the 20,748-row val draw of v0.8.21-retention-overlay, rounded down, measured
704
+ # 2026-11-19 by audits/label/support.run.ts on this config re-rooted at /mnt/mw. Measured counts: locality 18,235,
705
+ # street 16,155, house_number 14,804, postcode 14,754, region 4,806, venue 3,915, street_prefix 2,594, country
706
+ # 2,441, street_suffix 1,771, unit 369. dependent_locality 1,312, subregion 360 and po_box 47 take no floor, as
707
+ # the v0.8.2 floors set none for them.
708
+ required_validation_label_support:
709
+ - {label: postcode, split: val, min_rows: 7377}
710
+ - {label: locality, split: val, min_rows: 9117}
711
+ - {label: street, split: val, min_rows: 8077}
712
+ - {label: house_number, split: val, min_rows: 7402}
713
+ - {label: region, split: val, min_rows: 2403}
714
+ - {label: street_suffix, split: val, min_rows: 885}
715
+ - {label: street_prefix, split: val, min_rows: 1297}
716
+ - {label: venue, split: val, min_rows: 1957}
717
+ - {label: unit, split: val, min_rows: 184}
718
+ - {label: country, split: val, min_rows: 1220}
719
+ augment_exclude_sources:
720
+ - spliced-suffix-boundary
721
+ # This source teaches a postcode with no other token, such as `119 00`, so augmentation would add tokens the row
722
+ # mustn't contain.
723
+ - codex-bare-postcode
724
+ # On WOF rows the region and directional rewrites expand a word inside a place name (`AL MANĀMAH` to
725
+ # `Alabama MANĀMAH`) under the original label, and the build already renders a `drop-commas` variant.
726
+ - wof-admin
727
+ - wof-postalcode
728
+ # The same rewrites would expand a word inside a landmark's name under the `venue` label.
729
+ - wikidata-vital-places
730
+ train_rows_per_epoch: 1000000
731
+ # The validation draw is sized to hold the venue and country rows the label floors above require.
732
+ val_rows: 36864
733
+ coarse_filter: true
734
+ augment_directional_prob: 0.3
735
+ augment_region_prob: 0.3
736
+ augment_glue_prob: 0.25
737
+ augment_ordinal_prob: 0.3
738
+ augment_punct_drop_prob: 0.3
739
+ augment_postcode_move_prob: 0.0
740
+ anchor_lookup_path: /data/anchor/pilot-anchor-lookup-v2-2026-08-05.json
741
+ gazetteer_lexicon_path: /data/gazetteer/anchor-lexicon-v1.json
742
+ country_lexicon_path: /data/gazetteer/country-surface-lexicon-v1.json
743
+ gazetteer_choreography: true
744
+ affix_relabel_lexicon_path: /data/gazetteer/affix-relabel-lexicon-v2.json
745
+ anchor_paint_mode: postal
746
+ anchor_value_mode: posterior_latlon
747
+ street_type_lexicon_path: /data/gazetteer/street-type-lexicon-v3.json
748
+ locality_surface_lexicon_path: /data/gazetteer/locality-surface-lexicon-v7.json
749
+
750
+ model:
751
+ hidden_size: 384
752
+ use_span_boundary_head: true
753
+ span_boundary_loss_weight: 0.5
754
+ num_hidden_layers: 6
755
+ num_attention_heads: 6
756
+ intermediate_size: 1536
757
+ max_position_embeddings: 128
758
+ type_vocab_size: 1
759
+ hidden_dropout_prob: 0.1
760
+ attention_probs_dropout_prob: 0.1
761
+ use_crf: true
762
+ crf_loss_weight: 0.0
763
+ crf_normalization: per_sequence
764
+ label_smoothing: 0.1
765
+ use_locale_conditioning: true
766
+ locale_loss_weight: 0.3
767
+ use_address_system_head: true
768
+ address_system_loss_weight: 0.3
769
+ use_locale_hint: true
770
+ locale_hint_drop_prob: 0.5
771
+ locale_hint_noise_prob: 0.05
772
+ use_postcode_anchor: true
773
+ use_gazetteer_anchor: true
774
+ gazetteer_feature_dim: 5
775
+ use_country_anchor: true
776
+ country_feature_dim: 2
777
+ use_street_type_anchor: true
778
+ street_type_feature_dim: 1
779
+ use_locality_surface_anchor: true
780
+ locality_surface_feature_dim: 2
781
+ country_ambiguous_scale: 0.5
782
+ class_weights:
783
+ O: 0.5
784
+ B-country: 3.5
785
+ I-country: 3.5
786
+ B-region: 1.5
787
+ I-region: 1.5
788
+ B-locality: 2.0
789
+ I-locality: 2.0
790
+ B-dependent_locality: 1.0
791
+ I-dependent_locality: 1.0
792
+ B-postcode: 1.5
793
+ I-postcode: 1.5
794
+ # v8.8.0's header, point 3.
795
+ B-subregion: 1.0
796
+ I-subregion: 1.0
797
+ B-cedex: 1.0
798
+ I-cedex: 1.0
799
+ B-venue: 1.5
800
+ I-venue: 1.5
801
+ B-street: 2.0
802
+ I-street: 2.0
803
+ B-house_number: 1.5
804
+ I-house_number: 1.5
805
+ B-street_prefix: 1.5
806
+ I-street_prefix: 1.5
807
+ B-street_suffix: 1.5
808
+ I-street_suffix: 1.5
809
+ B-unit: 1.5
810
+ I-unit: 1.5
811
+ B-po_box: 1.5
812
+ I-po_box: 1.5
813
+ B-intersection_a: 1.0
814
+ I-intersection_a: 1.0
815
+ B-intersection_b: 1.0
816
+ I-intersection_b: 1.0
817
+ use_phrase_priors: true
818
+ phrase_feature_dim: 10
819
+
820
+ train:
821
+ output_dir: /data/output-v890-base-c6-90k-v0821-s42/checkpoints
822
+ seed: 42
823
+ batch_size: 128
824
+ eval_batch_size: 128
825
+ grad_accum_steps: 1
826
+ learning_rate: 5.0e-4
827
+ weight_decay: 0.01
828
+ warmup_steps: 1000
829
+ grad_clip_norm: 1.0
830
+ max_steps: 90000
831
+ eval_every_steps: 2000
832
+ save_every_steps: 5000
833
+ log_every_steps: 100
834
+ precision: bf16
835
+ num_workers: 0
836
+ csv_log_path: "{output_dir}/../train_log.csv"
837
+ lr_schedule: cosine
838
+ gazetteer_curriculum: true
839
+ evidence_curriculum: true
840
+ evidence_noise_prob: 0.15
841
+ fisher_capture: true
842
+ fisher_capture_last_n_steps: 2000
843
+ trackio_project: mailwoman
844
+ trackio_run_name: v890-base-c6-90k-v0821-s42
845
+
846
+ eval:
847
+ golden_dir: /data/eval/golden/v0.1.3
848
+ val_jsonl: ""