@mailwoman/core 5.8.0 → 5.10.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 (483) hide show
  1. package/data/chromium-i18n/ssl-address/AC.json +2 -2
  2. package/data/chromium-i18n/ssl-address/AD.json +8 -8
  3. package/data/chromium-i18n/ssl-address/AE.json +8 -8
  4. package/data/chromium-i18n/ssl-address/AF.json +2 -2
  5. package/data/chromium-i18n/ssl-address/AG.json +1 -1
  6. package/data/chromium-i18n/ssl-address/AI.json +2 -2
  7. package/data/chromium-i18n/ssl-address/AL.json +2 -2
  8. package/data/chromium-i18n/ssl-address/AM.json +8 -8
  9. package/data/chromium-i18n/ssl-address/AO.json +1 -1
  10. package/data/chromium-i18n/ssl-address/AQ.json +1 -1
  11. package/data/chromium-i18n/ssl-address/AR.json +8 -8
  12. package/data/chromium-i18n/ssl-address/AS.json +6 -6
  13. package/data/chromium-i18n/ssl-address/AT.json +3 -3
  14. package/data/chromium-i18n/ssl-address/AU.json +13 -13
  15. package/data/chromium-i18n/ssl-address/AW.json +1 -1
  16. package/data/chromium-i18n/ssl-address/AX.json +4 -4
  17. package/data/chromium-i18n/ssl-address/AZ.json +3 -3
  18. package/data/chromium-i18n/ssl-address/BA.json +2 -2
  19. package/data/chromium-i18n/ssl-address/BB.json +3 -3
  20. package/data/chromium-i18n/ssl-address/BD.json +3 -3
  21. package/data/chromium-i18n/ssl-address/BE.json +3 -3
  22. package/data/chromium-i18n/ssl-address/BF.json +1 -6
  23. package/data/chromium-i18n/ssl-address/BG.json +3 -3
  24. package/data/chromium-i18n/ssl-address/BH.json +3 -3
  25. package/data/chromium-i18n/ssl-address/BI.json +1 -1
  26. package/data/chromium-i18n/ssl-address/BJ.json +1 -1
  27. package/data/chromium-i18n/ssl-address/BL.json +4 -4
  28. package/data/chromium-i18n/ssl-address/BM.json +3 -3
  29. package/data/chromium-i18n/ssl-address/BN.json +3 -3
  30. package/data/chromium-i18n/ssl-address/BO.json +1 -1
  31. package/data/chromium-i18n/ssl-address/BQ.json +1 -1
  32. package/data/chromium-i18n/ssl-address/BR.json +13 -13
  33. package/data/chromium-i18n/ssl-address/BS.json +5 -5
  34. package/data/chromium-i18n/ssl-address/BT.json +3 -3
  35. package/data/chromium-i18n/ssl-address/BV.json +1 -1
  36. package/data/chromium-i18n/ssl-address/BW.json +1 -1
  37. package/data/chromium-i18n/ssl-address/BY.json +4 -4
  38. package/data/chromium-i18n/ssl-address/BZ.json +1 -1
  39. package/data/chromium-i18n/ssl-address/CA.json +9 -9
  40. package/data/chromium-i18n/ssl-address/CC.json +3 -3
  41. package/data/chromium-i18n/ssl-address/CD.json +1 -1
  42. package/data/chromium-i18n/ssl-address/CF.json +1 -1
  43. package/data/chromium-i18n/ssl-address/CG.json +1 -1
  44. package/data/chromium-i18n/ssl-address/CH.json +5 -5
  45. package/data/chromium-i18n/ssl-address/CI.json +1 -6
  46. package/data/chromium-i18n/ssl-address/CK.json +1 -1
  47. package/data/chromium-i18n/ssl-address/CL.json +9 -9
  48. package/data/chromium-i18n/ssl-address/CM.json +1 -1
  49. package/data/chromium-i18n/ssl-address/CN.json +14 -14
  50. package/data/chromium-i18n/ssl-address/CO.json +8 -4
  51. package/data/chromium-i18n/ssl-address/CR.json +3 -3
  52. package/data/chromium-i18n/ssl-address/CU.json +5 -5
  53. package/data/chromium-i18n/ssl-address/CV.json +6 -6
  54. package/data/chromium-i18n/ssl-address/CW.json +1 -1
  55. package/data/chromium-i18n/ssl-address/CX.json +3 -3
  56. package/data/chromium-i18n/ssl-address/CY.json +2 -2
  57. package/data/chromium-i18n/ssl-address/CZ.json +3 -3
  58. package/data/chromium-i18n/ssl-address/DE.json +3 -3
  59. package/data/chromium-i18n/ssl-address/DJ.json +1 -1
  60. package/data/chromium-i18n/ssl-address/DK.json +3 -3
  61. package/data/chromium-i18n/ssl-address/DM.json +1 -1
  62. package/data/chromium-i18n/ssl-address/DO.json +3 -3
  63. package/data/chromium-i18n/ssl-address/DZ.json +1 -8
  64. package/data/chromium-i18n/ssl-address/EC.json +4 -4
  65. package/data/chromium-i18n/ssl-address/EE.json +5 -4
  66. package/data/chromium-i18n/ssl-address/EG.json +8 -8
  67. package/data/chromium-i18n/ssl-address/EH.json +2 -2
  68. package/data/chromium-i18n/ssl-address/ER.json +1 -1
  69. package/data/chromium-i18n/ssl-address/ES.json +9 -9
  70. package/data/chromium-i18n/ssl-address/ET.json +1 -8
  71. package/data/chromium-i18n/ssl-address/FI.json +4 -4
  72. package/data/chromium-i18n/ssl-address/FJ.json +1 -1
  73. package/data/chromium-i18n/ssl-address/FK.json +3 -3
  74. package/data/chromium-i18n/ssl-address/FM.json +6 -6
  75. package/data/chromium-i18n/ssl-address/FO.json +4 -4
  76. package/data/chromium-i18n/ssl-address/FR.json +5 -5
  77. package/data/chromium-i18n/ssl-address/GA.json +1 -1
  78. package/data/chromium-i18n/ssl-address/GB.json +5 -5
  79. package/data/chromium-i18n/ssl-address/GD.json +1 -1
  80. package/data/chromium-i18n/ssl-address/GE.json +3 -3
  81. package/data/chromium-i18n/ssl-address/GF.json +4 -4
  82. package/data/chromium-i18n/ssl-address/GG.json +4 -4
  83. package/data/chromium-i18n/ssl-address/GH.json +1 -1
  84. package/data/chromium-i18n/ssl-address/GI.json +2 -2
  85. package/data/chromium-i18n/ssl-address/GL.json +2 -2
  86. package/data/chromium-i18n/ssl-address/GM.json +1 -1
  87. package/data/chromium-i18n/ssl-address/GN.json +1 -8
  88. package/data/chromium-i18n/ssl-address/GP.json +4 -4
  89. package/data/chromium-i18n/ssl-address/GQ.json +1 -1
  90. package/data/chromium-i18n/ssl-address/GR.json +3 -3
  91. package/data/chromium-i18n/ssl-address/GS.json +3 -3
  92. package/data/chromium-i18n/ssl-address/GT.json +2 -2
  93. package/data/chromium-i18n/ssl-address/GU.json +5 -5
  94. package/data/chromium-i18n/ssl-address/GW.json +2 -2
  95. package/data/chromium-i18n/ssl-address/GY.json +1 -1
  96. package/data/chromium-i18n/ssl-address/HK.json +8 -8
  97. package/data/chromium-i18n/ssl-address/HM.json +3 -3
  98. package/data/chromium-i18n/ssl-address/HN.json +3 -2
  99. package/data/chromium-i18n/ssl-address/HR.json +3 -3
  100. package/data/chromium-i18n/ssl-address/HT.json +3 -3
  101. package/data/chromium-i18n/ssl-address/HU.json +4 -4
  102. package/data/chromium-i18n/ssl-address/ID.json +7 -6
  103. package/data/chromium-i18n/ssl-address/IE.json +9 -9
  104. package/data/chromium-i18n/ssl-address/IL.json +3 -3
  105. package/data/chromium-i18n/ssl-address/IM.json +4 -4
  106. package/data/chromium-i18n/ssl-address/IN.json +11 -11
  107. package/data/chromium-i18n/ssl-address/IO.json +3 -3
  108. package/data/chromium-i18n/ssl-address/IQ.json +3 -3
  109. package/data/chromium-i18n/ssl-address/IR.json +7 -7
  110. package/data/chromium-i18n/ssl-address/IS.json +3 -3
  111. package/data/chromium-i18n/ssl-address/IT.json +10 -10
  112. package/data/chromium-i18n/ssl-address/JE.json +4 -4
  113. package/data/chromium-i18n/ssl-address/JM.json +6 -6
  114. package/data/chromium-i18n/ssl-address/JO.json +1 -8
  115. package/data/chromium-i18n/ssl-address/JP.json +11 -11
  116. package/data/chromium-i18n/ssl-address/KE.json +1 -8
  117. package/data/chromium-i18n/ssl-address/KG.json +1 -8
  118. package/data/chromium-i18n/ssl-address/KH.json +4 -3
  119. package/data/chromium-i18n/ssl-address/KI.json +2 -2
  120. package/data/chromium-i18n/ssl-address/KM.json +1 -1
  121. package/data/chromium-i18n/ssl-address/KN.json +5 -5
  122. package/data/chromium-i18n/ssl-address/KP.json +6 -6
  123. package/data/chromium-i18n/ssl-address/KR.json +15 -15
  124. package/data/chromium-i18n/ssl-address/KW.json +2 -2
  125. package/data/chromium-i18n/ssl-address/KY.json +7 -7
  126. package/data/chromium-i18n/ssl-address/KZ.json +2 -2
  127. package/data/chromium-i18n/ssl-address/LA.json +2 -2
  128. package/data/chromium-i18n/ssl-address/LB.json +2 -2
  129. package/data/chromium-i18n/ssl-address/LC.json +1 -1
  130. package/data/chromium-i18n/ssl-address/LI.json +3 -3
  131. package/data/chromium-i18n/ssl-address/LK.json +3 -3
  132. package/data/chromium-i18n/ssl-address/LR.json +1 -8
  133. package/data/chromium-i18n/ssl-address/LS.json +1 -8
  134. package/data/chromium-i18n/ssl-address/LT.json +5 -4
  135. package/data/chromium-i18n/ssl-address/LU.json +3 -3
  136. package/data/chromium-i18n/ssl-address/LV.json +5 -4
  137. package/data/chromium-i18n/ssl-address/LY.json +1 -1
  138. package/data/chromium-i18n/ssl-address/MA.json +2 -2
  139. package/data/chromium-i18n/ssl-address/MC.json +3 -3
  140. package/data/chromium-i18n/ssl-address/MD.json +3 -3
  141. package/data/chromium-i18n/ssl-address/ME.json +2 -2
  142. package/data/chromium-i18n/ssl-address/MF.json +4 -4
  143. package/data/chromium-i18n/ssl-address/MG.json +1 -8
  144. package/data/chromium-i18n/ssl-address/MH.json +6 -6
  145. package/data/chromium-i18n/ssl-address/MK.json +2 -2
  146. package/data/chromium-i18n/ssl-address/ML.json +1 -1
  147. package/data/chromium-i18n/ssl-address/MM.json +1 -8
  148. package/data/chromium-i18n/ssl-address/MN.json +3 -3
  149. package/data/chromium-i18n/ssl-address/MO.json +1 -8
  150. package/data/chromium-i18n/ssl-address/MP.json +6 -6
  151. package/data/chromium-i18n/ssl-address/MQ.json +4 -4
  152. package/data/chromium-i18n/ssl-address/MR.json +1 -1
  153. package/data/chromium-i18n/ssl-address/MS.json +1 -1
  154. package/data/chromium-i18n/ssl-address/MT.json +4 -4
  155. package/data/chromium-i18n/ssl-address/MU.json +3 -3
  156. package/data/chromium-i18n/ssl-address/MV.json +3 -3
  157. package/data/chromium-i18n/ssl-address/MW.json +1 -1
  158. package/data/chromium-i18n/ssl-address/MX.json +12 -12
  159. package/data/chromium-i18n/ssl-address/MY.json +12 -12
  160. package/data/chromium-i18n/ssl-address/MZ.json +5 -5
  161. package/data/chromium-i18n/ssl-address/NA.json +8 -1
  162. package/data/chromium-i18n/ssl-address/NC.json +4 -4
  163. package/data/chromium-i18n/ssl-address/NE.json +1 -8
  164. package/data/chromium-i18n/ssl-address/NF.json +3 -3
  165. package/data/chromium-i18n/ssl-address/NG.json +8 -8
  166. package/data/chromium-i18n/ssl-address/NI.json +8 -8
  167. package/data/chromium-i18n/ssl-address/NL.json +4 -4
  168. package/data/chromium-i18n/ssl-address/NO.json +3 -3
  169. package/data/chromium-i18n/ssl-address/NP.json +3 -3
  170. package/data/chromium-i18n/ssl-address/NR.json +5 -5
  171. package/data/chromium-i18n/ssl-address/NU.json +1 -1
  172. package/data/chromium-i18n/ssl-address/NZ.json +3 -3
  173. package/data/chromium-i18n/ssl-address/OM.json +2 -2
  174. package/data/chromium-i18n/ssl-address/PA.json +1 -7
  175. package/data/chromium-i18n/ssl-address/PE.json +7 -7
  176. package/data/chromium-i18n/ssl-address/PF.json +4 -4
  177. package/data/chromium-i18n/ssl-address/PG.json +2 -2
  178. package/data/chromium-i18n/ssl-address/PH.json +7 -7
  179. package/data/chromium-i18n/ssl-address/PK.json +4 -4
  180. package/data/chromium-i18n/ssl-address/PL.json +3 -3
  181. package/data/chromium-i18n/ssl-address/PM.json +3 -3
  182. package/data/chromium-i18n/ssl-address/PN.json +3 -3
  183. package/data/chromium-i18n/ssl-address/PR.json +6 -6
  184. package/data/chromium-i18n/ssl-address/PS.json +1 -1
  185. package/data/chromium-i18n/ssl-address/PT.json +3 -3
  186. package/data/chromium-i18n/ssl-address/PW.json +6 -6
  187. package/data/chromium-i18n/ssl-address/PY.json +2 -2
  188. package/data/chromium-i18n/ssl-address/QA.json +1 -1
  189. package/data/chromium-i18n/ssl-address/RE.json +4 -4
  190. package/data/chromium-i18n/ssl-address/RO.json +6 -5
  191. package/data/chromium-i18n/ssl-address/RS.json +3 -3
  192. package/data/chromium-i18n/ssl-address/RU.json +12 -12
  193. package/data/chromium-i18n/ssl-address/RW.json +1 -1
  194. package/data/chromium-i18n/ssl-address/SA.json +2 -2
  195. package/data/chromium-i18n/ssl-address/SB.json +1 -1
  196. package/data/chromium-i18n/ssl-address/SC.json +2 -2
  197. package/data/chromium-i18n/ssl-address/SD.json +3 -3
  198. package/data/chromium-i18n/ssl-address/SE.json +5 -5
  199. package/data/chromium-i18n/ssl-address/SG.json +3 -3
  200. package/data/chromium-i18n/ssl-address/SH.json +3 -3
  201. package/data/chromium-i18n/ssl-address/SI.json +3 -3
  202. package/data/chromium-i18n/ssl-address/SJ.json +3 -3
  203. package/data/chromium-i18n/ssl-address/SK.json +3 -3
  204. package/data/chromium-i18n/ssl-address/SL.json +1 -1
  205. package/data/chromium-i18n/ssl-address/SM.json +3 -3
  206. package/data/chromium-i18n/ssl-address/SN.json +2 -2
  207. package/data/chromium-i18n/ssl-address/SO.json +8 -8
  208. package/data/chromium-i18n/ssl-address/SR.json +4 -4
  209. package/data/chromium-i18n/ssl-address/SS.json +1 -1
  210. package/data/chromium-i18n/ssl-address/ST.json +1 -1
  211. package/data/chromium-i18n/ssl-address/SV.json +9 -9
  212. package/data/chromium-i18n/ssl-address/SX.json +1 -1
  213. package/data/chromium-i18n/ssl-address/SY.json +1 -6
  214. package/data/chromium-i18n/ssl-address/SZ.json +4 -4
  215. package/data/chromium-i18n/ssl-address/TA.json +2 -2
  216. package/data/chromium-i18n/ssl-address/TC.json +3 -3
  217. package/data/chromium-i18n/ssl-address/TD.json +1 -1
  218. package/data/chromium-i18n/ssl-address/TF.json +1 -1
  219. package/data/chromium-i18n/ssl-address/TG.json +1 -1
  220. package/data/chromium-i18n/ssl-address/TH.json +8 -8
  221. package/data/chromium-i18n/ssl-address/TJ.json +2 -2
  222. package/data/chromium-i18n/ssl-address/TK.json +1 -1
  223. package/data/chromium-i18n/ssl-address/TL.json +1 -1
  224. package/data/chromium-i18n/ssl-address/TM.json +1 -8
  225. package/data/chromium-i18n/ssl-address/TN.json +3 -3
  226. package/data/chromium-i18n/ssl-address/TO.json +1 -1
  227. package/data/chromium-i18n/ssl-address/TR.json +8 -8
  228. package/data/chromium-i18n/ssl-address/TT.json +1 -1
  229. package/data/chromium-i18n/ssl-address/TV.json +5 -5
  230. package/data/chromium-i18n/ssl-address/TW.json +13 -12
  231. package/data/chromium-i18n/ssl-address/TZ.json +2 -2
  232. package/data/chromium-i18n/ssl-address/UA.json +11 -11
  233. package/data/chromium-i18n/ssl-address/UG.json +1 -1
  234. package/data/chromium-i18n/ssl-address/UM.json +6 -6
  235. package/data/chromium-i18n/ssl-address/US.json +11 -11
  236. package/data/chromium-i18n/ssl-address/UY.json +7 -7
  237. package/data/chromium-i18n/ssl-address/UZ.json +4 -4
  238. package/data/chromium-i18n/ssl-address/VA.json +1 -8
  239. package/data/chromium-i18n/ssl-address/VC.json +3 -3
  240. package/data/chromium-i18n/ssl-address/VE.json +9 -9
  241. package/data/chromium-i18n/ssl-address/VG.json +2 -2
  242. package/data/chromium-i18n/ssl-address/VI.json +6 -6
  243. package/data/chromium-i18n/ssl-address/VN.json +8 -8
  244. package/data/chromium-i18n/ssl-address/VU.json +1 -1
  245. package/data/chromium-i18n/ssl-address/WF.json +3 -3
  246. package/data/chromium-i18n/ssl-address/WS.json +1 -1
  247. package/data/chromium-i18n/ssl-address/XK.json +1 -8
  248. package/data/chromium-i18n/ssl-address/YE.json +1 -1
  249. package/data/chromium-i18n/ssl-address/YT.json +3 -3
  250. package/data/chromium-i18n/ssl-address/ZA.json +3 -3
  251. package/data/chromium-i18n/ssl-address/ZM.json +1 -8
  252. package/data/chromium-i18n/ssl-address/ZW.json +1 -1
  253. package/out/api/headless.d.ts +7 -3
  254. package/out/api/headless.d.ts.map +1 -1
  255. package/out/api/headless.js +3 -4
  256. package/out/api/headless.js.map +1 -1
  257. package/out/api/index.d.ts +3 -3
  258. package/out/classification/Classification.d.ts +3 -3
  259. package/out/classification/CompositeClassifier.d.ts +3 -3
  260. package/out/classification/PhraseClassifier.d.ts +1 -1
  261. package/out/classification/SectionClassifier.d.ts +1 -1
  262. package/out/classification/WordClassifier.d.ts +1 -1
  263. package/out/classification/index.d.ts +7 -7
  264. package/out/classification/scheme.d.ts +1 -1
  265. package/out/coarse-placer/coarse-placer.d.ts +1 -1
  266. package/out/coarse-placer/tools/build-dataset.d.ts +18 -3
  267. package/out/coarse-placer/tools/build-dataset.d.ts.map +1 -1
  268. package/out/coarse-placer/tools/build-dataset.js +108 -111
  269. package/out/coarse-placer/tools/build-dataset.js.map +1 -1
  270. package/out/coarse-placer/tools/build-outlier-exposure.d.ts +18 -3
  271. package/out/coarse-placer/tools/build-outlier-exposure.d.ts.map +1 -1
  272. package/out/coarse-placer/tools/build-outlier-exposure.js +46 -52
  273. package/out/coarse-placer/tools/build-outlier-exposure.js.map +1 -1
  274. package/out/coarse-placer/tools/build-outlier-latin.d.ts +41 -1
  275. package/out/coarse-placer/tools/build-outlier-latin.d.ts.map +1 -1
  276. package/out/coarse-placer/tools/build-outlier-latin.js +74 -82
  277. package/out/coarse-placer/tools/build-outlier-latin.js.map +1 -1
  278. package/out/coarse-placer/tools/build-outlier-oa.d.ts +49 -1
  279. package/out/coarse-placer/tools/build-outlier-oa.d.ts.map +1 -1
  280. package/out/coarse-placer/tools/build-outlier-oa.js +100 -102
  281. package/out/coarse-placer/tools/build-outlier-oa.js.map +1 -1
  282. package/out/coarse-placer/tools/eval-latin-offmap.d.ts +30 -1
  283. package/out/coarse-placer/tools/eval-latin-offmap.d.ts.map +1 -1
  284. package/out/coarse-placer/tools/eval-latin-offmap.js +82 -83
  285. package/out/coarse-placer/tools/eval-latin-offmap.js.map +1 -1
  286. package/out/coarse-placer/tools/eval-openset.d.ts +23 -2
  287. package/out/coarse-placer/tools/eval-openset.d.ts.map +1 -1
  288. package/out/coarse-placer/tools/eval-openset.js +282 -287
  289. package/out/coarse-placer/tools/eval-openset.js.map +1 -1
  290. package/out/coarse-placer/tools/eval-quant-compare.d.ts +35 -1
  291. package/out/coarse-placer/tools/eval-quant-compare.d.ts.map +1 -1
  292. package/out/coarse-placer/tools/eval-quant-compare.js +87 -91
  293. package/out/coarse-placer/tools/eval-quant-compare.js.map +1 -1
  294. package/out/coarse-placer/tools/eval.d.ts +20 -2
  295. package/out/coarse-placer/tools/eval.d.ts.map +1 -1
  296. package/out/coarse-placer/tools/eval.js +104 -105
  297. package/out/coarse-placer/tools/eval.js.map +1 -1
  298. package/out/coarse-placer/tools/fnv-hash.d.ts +15 -0
  299. package/out/coarse-placer/tools/fnv-hash.d.ts.map +1 -0
  300. package/out/coarse-placer/tools/fnv-hash.js +22 -0
  301. package/out/coarse-placer/tools/fnv-hash.js.map +1 -0
  302. package/out/coarse-placer/tools/index.d.ts +23 -0
  303. package/out/coarse-placer/tools/index.d.ts.map +1 -0
  304. package/out/coarse-placer/tools/index.js +23 -0
  305. package/out/coarse-placer/tools/index.js.map +1 -0
  306. package/out/coarse-placer/tools/probe-frontier.d.ts +22 -3
  307. package/out/coarse-placer/tools/probe-frontier.d.ts.map +1 -1
  308. package/out/coarse-placer/tools/probe-frontier.js +92 -95
  309. package/out/coarse-placer/tools/probe-frontier.js.map +1 -1
  310. package/out/coarse-placer/tools/quantize.d.ts +34 -1
  311. package/out/coarse-placer/tools/quantize.d.ts.map +1 -1
  312. package/out/coarse-placer/tools/quantize.js +58 -60
  313. package/out/coarse-placer/tools/quantize.js.map +1 -1
  314. package/out/coarse-placer/tools/train.d.ts +25 -4
  315. package/out/coarse-placer/tools/train.d.ts.map +1 -1
  316. package/out/coarse-placer/tools/train.js +135 -137
  317. package/out/coarse-placer/tools/train.js.map +1 -1
  318. package/out/decoder/arbitrate-tree.d.ts +2 -2
  319. package/out/decoder/build-tree.d.ts +2 -2
  320. package/out/decoder/containment.d.ts +2 -2
  321. package/out/decoder/index.d.ts +12 -12
  322. package/out/decoder/proposals-to-tree.d.ts +2 -2
  323. package/out/decoder/resolve-proposal-overlaps.d.ts +1 -1
  324. package/out/decoder/serialize-json.d.ts +3 -3
  325. package/out/decoder/serialize-tuples.d.ts +2 -2
  326. package/out/decoder/serialize-xml.d.ts +1 -1
  327. package/out/decoder/types.d.ts +1 -1
  328. package/out/decoder/unknown-spans.d.ts +1 -1
  329. package/out/decoder/validate-tree.d.ts +2 -2
  330. package/out/env/index.d.ts +1 -0
  331. package/out/env/index.d.ts.map +1 -1
  332. package/out/env/schema.d.ts +1 -0
  333. package/out/env/schema.d.ts.map +1 -1
  334. package/out/env/schema.js +3 -2
  335. package/out/env/schema.js.map +1 -1
  336. package/out/errors/index.d.ts +1 -1
  337. package/out/filters/RelationshipFilter.d.ts.map +1 -1
  338. package/out/filters/RelationshipFilter.js.map +1 -1
  339. package/out/filters/index.d.ts +4 -4
  340. package/out/fs/node.d.ts +20 -0
  341. package/out/fs/node.d.ts.map +1 -0
  342. package/out/fs/node.js +33 -0
  343. package/out/fs/node.js.map +1 -0
  344. package/out/index.d.ts +11 -11
  345. package/out/kysley/client.d.ts +2 -2
  346. package/out/kysley/client.d.ts.map +1 -1
  347. package/out/kysley/client.js +1 -1
  348. package/out/kysley/client.js.map +1 -1
  349. package/out/kysley/dialect.d.ts +1 -1
  350. package/out/kysley/dialect.d.ts.map +1 -1
  351. package/out/kysley/dialect.js +1 -1
  352. package/out/kysley/dialect.js.map +1 -1
  353. package/out/kysley/driver.d.ts +1 -1
  354. package/out/kysley/driver.d.ts.map +1 -1
  355. package/out/lifecycle/index.d.ts +3 -3
  356. package/out/locale/index.d.ts +3 -3
  357. package/out/locale/locale.d.ts +1 -1
  358. package/out/locale/profiles/en-us.d.ts +1 -1
  359. package/out/locale/profiles/fr-fr.d.ts +1 -1
  360. package/out/locale/profiles/index.d.ts +3 -3
  361. package/out/locale/profiles/ja-jp.d.ts +1 -1
  362. package/out/locale/registry.d.ts +1 -1
  363. package/out/logging/index.d.ts +2 -2
  364. package/out/logging/shared.d.ts +1 -1
  365. package/out/logging/shared.js +1 -1
  366. package/out/parser/AddressParser.d.ts +1 -1
  367. package/out/parser/index.d.ts +3 -3
  368. package/out/parser/proposal-pipeline.d.ts +4 -4
  369. package/out/parser/solution-to-proposals.d.ts +2 -2
  370. package/out/pipeline/index.d.ts +8 -8
  371. package/out/pipeline/reconcile-lookups.d.ts +2 -2
  372. package/out/pipeline/reconcile.d.ts +3 -3
  373. package/out/pipeline/runtime-pipeline.d.ts +3 -3
  374. package/out/pipeline/span-logit-aggregation.d.ts +1 -1
  375. package/out/pipeline/types.d.ts +3 -3
  376. package/out/policy/defaults.d.ts +1 -1
  377. package/out/policy/from-config.d.ts +3 -3
  378. package/out/policy/index.d.ts +5 -5
  379. package/out/policy/input-shape-router.d.ts +1 -1
  380. package/out/policy/registry.d.ts +1 -1
  381. package/out/resolver/index.d.ts +2 -2
  382. package/out/resolver/index.d.ts.map +1 -1
  383. package/out/resolver/types.d.ts +52 -1
  384. package/out/resolver/types.d.ts.map +1 -1
  385. package/out/resolver/types.js.map +1 -1
  386. package/out/resources/LocaleIndex.d.ts +2 -2
  387. package/out/resources/ResourceMapCache.d.ts +1 -1
  388. package/out/resources/ResourceMapCache.d.ts.map +1 -1
  389. package/out/resources/ResourceMapCache.js +1 -1
  390. package/out/resources/ResourceMapCache.js.map +1 -1
  391. package/out/resources/git.d.ts.map +1 -1
  392. package/out/resources/git.js +1 -1
  393. package/out/resources/git.js.map +1 -1
  394. package/out/resources/index.d.ts +11 -12
  395. package/out/resources/index.d.ts.map +1 -1
  396. package/out/resources/index.js +0 -1
  397. package/out/resources/index.js.map +1 -1
  398. package/out/resources/languages/index.d.ts +2 -2
  399. package/out/resources/languages/types.gen.d.ts +1 -1
  400. package/out/resources/languages/types.gen.js +1 -1
  401. package/out/resources/libpostal.d.ts +1 -1
  402. package/out/resources/libpostal.d.ts.map +1 -1
  403. package/out/resources/libpostal.js +1 -1
  404. package/out/resources/libpostal.js.map +1 -1
  405. package/out/resources/whosonfirst/DataSourceCache.d.ts +1 -1
  406. package/out/resources/whosonfirst/PlacetypeDataSource.d.ts +1 -1
  407. package/out/resources/whosonfirst/index.d.ts +4 -4
  408. package/out/resources/whosonfirst/loader.d.ts +2 -2
  409. package/out/resources/whosonfirst/placetypes/Placetype.d.ts +1 -1
  410. package/out/resources/whosonfirst/placetypes/admin.d.ts +1 -1
  411. package/out/resources/whosonfirst/placetypes/graph.d.ts +2 -2
  412. package/out/resources/whosonfirst/placetypes/index.d.ts +6 -6
  413. package/out/resources/whosonfirst/placetypes/mermaid.d.ts +2 -2
  414. package/out/resources/whosonfirst/placetypes/tree.d.ts +2 -2
  415. package/out/scripting/index.d.ts +15 -0
  416. package/out/scripting/index.d.ts.map +1 -0
  417. package/out/scripting/index.js +34 -0
  418. package/out/scripting/index.js.map +1 -0
  419. package/out/{utils/scripting.d.ts → scripting/utils/index.d.ts} +6 -15
  420. package/out/scripting/utils/index.d.ts.map +1 -0
  421. package/out/{utils/scripting.js → scripting/utils/index.js} +15 -32
  422. package/out/scripting/utils/index.js.map +1 -0
  423. package/out/solver/HashMapSolver.d.ts +2 -2
  424. package/out/solver/Solution.d.ts +1 -1
  425. package/out/solver/SolutionMatch.d.ts +1 -1
  426. package/out/solver/index.d.ts +5 -5
  427. package/out/solver/mask.d.ts +1 -1
  428. package/out/solvers/index.d.ts +8 -8
  429. package/out/tokenization/Graph.d.ts +1 -1
  430. package/out/tokenization/Span.d.ts +5 -5
  431. package/out/tokenization/context.d.ts +1 -1
  432. package/out/tokenization/index.d.ts +5 -5
  433. package/out/tokenization/permutate.d.ts +1 -1
  434. package/out/tokenization/split.d.ts +1 -1
  435. package/out/{data/libpostal/resources-download.d.ts → tools/download-libpostal-resources.d.ts} +10 -5
  436. package/out/tools/download-libpostal-resources.d.ts.map +1 -0
  437. package/out/{data/libpostal/resources-download.js → tools/download-libpostal-resources.js} +20 -35
  438. package/out/tools/download-libpostal-resources.js.map +1 -0
  439. package/out/{data/chromium-i18n/ssl-address-download.d.ts → tools/download-ssl-address.d.ts} +17 -5
  440. package/out/tools/download-ssl-address.d.ts.map +1 -0
  441. package/out/{data/chromium-i18n/ssl-address-download.js → tools/download-ssl-address.js} +15 -29
  442. package/out/tools/download-ssl-address.js.map +1 -0
  443. package/out/tools/generate-language-types.d.ts +23 -0
  444. package/out/tools/generate-language-types.d.ts.map +1 -0
  445. package/out/tools/generate-language-types.js +137 -0
  446. package/out/tools/generate-language-types.js.map +1 -0
  447. package/out/tools/index.d.ts +13 -0
  448. package/out/tools/index.d.ts.map +1 -0
  449. package/out/tools/index.js +13 -0
  450. package/out/tools/index.js.map +1 -0
  451. package/out/types/classifier.d.ts +2 -2
  452. package/out/types/index.d.ts +3 -3
  453. package/out/types/mapping.d.ts +2 -2
  454. package/out/utils/hash.d.ts +13 -0
  455. package/out/utils/hash.d.ts.map +1 -0
  456. package/out/utils/hash.js +23 -0
  457. package/out/utils/hash.js.map +1 -0
  458. package/out/utils/index.d.ts +8 -6
  459. package/out/utils/index.d.ts.map +1 -1
  460. package/out/utils/index.js +5 -3
  461. package/out/utils/index.js.map +1 -1
  462. package/out/utils/jsonl.d.ts +16 -0
  463. package/out/utils/jsonl.d.ts.map +1 -0
  464. package/out/utils/jsonl.js +38 -0
  465. package/out/utils/jsonl.js.map +1 -0
  466. package/out/utils/stats.d.ts +19 -0
  467. package/out/utils/stats.d.ts.map +1 -0
  468. package/out/utils/stats.js +30 -0
  469. package/out/utils/stats.js.map +1 -0
  470. package/out/vitest.config.js +3 -3
  471. package/package.json +309 -42
  472. package/data/chromium-i18n/ssl-address-download.ts +0 -106
  473. package/data/libpostal/resources-download.ts +0 -118
  474. package/out/data/chromium-i18n/ssl-address-download.d.ts.map +0 -1
  475. package/out/data/chromium-i18n/ssl-address-download.js.map +0 -1
  476. package/out/data/libpostal/resources-download.d.ts.map +0 -1
  477. package/out/data/libpostal/resources-download.js.map +0 -1
  478. package/out/resources/fs.d.ts +0 -12
  479. package/out/resources/fs.d.ts.map +0 -1
  480. package/out/resources/fs.js +0 -13
  481. package/out/resources/fs.js.map +0 -1
  482. package/out/utils/scripting.d.ts.map +0 -1
  483. package/out/utils/scripting.js.map +0 -1
@@ -8,124 +8,123 @@
8
8
  * (Cyrillic, Arabic, Thai, …, none of them in the 11 trained countries) SHOULD draw low
9
9
  * confidence → abstain, which is the "probably off my loaded map" behavior the design wants.
10
10
  *
11
- * Usage: node core/coarse-placer/tools/eval.ts [--model <dir>] [--abstain 0.5]
11
+ * Run: `mailwoman placer eval in-distribution [--model <dir>] [--abstain 0.5]`
12
12
  */
13
13
  import { readFileSync } from "node:fs";
14
14
  import * as path from "node:path";
15
- import { parseArgs } from "node:util";
16
- import { dataRootPath } from "@mailwoman/core/utils";
17
- const root = new URL("../../", import.meta.url);
18
- const { CoarsePlacer } = (await import(new URL("core/out/coarse-placer/coarse-placer.js", root).href));
19
- const { values: args } = parseArgs({
20
- options: {
21
- model: { type: "string", default: dataRootPath("coarse-placer", "model") },
22
- abstain: { type: "string", default: "0.5" },
23
- data: { type: "string", default: path.resolve(import.meta.dirname, "../../data/coarse-placer") },
24
- },
25
- });
26
- const meta = JSON.parse(readFileSync(path.join(args.model, "meta.json"), "utf8"));
27
- const weights = new Float32Array(readFileSync(path.join(args.model, "weights.bin")).buffer);
28
- const placer = new CoarsePlacer({ ...meta, weights }, { abstainBelow: Number(args.abstain) });
29
- // --- In-distribution test: accuracy + per-class + ECE ---
30
- const test = readFileSync(path.join(args.data, "test.jsonl"), "utf8")
31
- .trim()
32
- .split("\n")
33
- .map((l) => JSON.parse(l));
34
- let correct = 0;
35
- const perClass = {}; // country → {n, ok}
36
- const confusion = {}; // true → {pred → n}
37
- const buckets = Array.from({ length: 10 }, () => ({ n: 0, ok: 0 }));
38
- // ECE deciles
39
- for (const r of test) {
40
- const p = placer.predict(r.raw);
41
- const pred = p.country ?? "(abstain)";
42
- (perClass[r.country] ??= { n: 0, ok: 0 }).n++;
43
- (confusion[r.country] ??= {})[pred] = ((confusion[r.country] ??= {})[pred] ?? 0) + 1;
44
- const hit = pred === r.country;
45
- if (hit) {
46
- correct++;
47
- perClass[r.country].ok++;
15
+ import { dataRootPath } from "../../utils/data-root.js";
16
+ import { repoRootPath } from "../../utils/repo.js";
17
+ import { CoarsePlacer } from "../coarse-placer.js";
18
+ /** Coarse-placer in-distribution eval — see the module doc. Emits the report to stdout. */
19
+ export async function evalCoarsePlacer(options = {}) {
20
+ const modelDir = options.model || dataRootPath("coarse-placer", "model");
21
+ const abstain = options.abstain ?? 0.5;
22
+ const dataDir = options.data || repoRootPath("data", "coarse-placer");
23
+ const meta = JSON.parse(readFileSync(path.join(modelDir, "meta.json"), "utf8"));
24
+ const weights = new Float32Array(readFileSync(path.join(modelDir, "weights.bin")).buffer);
25
+ const placer = new CoarsePlacer({ ...meta, weights }, { abstainBelow: abstain });
26
+ // --- In-distribution test: accuracy + per-class + ECE ---
27
+ const test = readFileSync(path.join(dataDir, "test.jsonl"), "utf8")
28
+ .trim()
29
+ .split("\n")
30
+ .map((l) => JSON.parse(l));
31
+ let correct = 0;
32
+ const perClass = {}; // country → {n, ok}
33
+ const confusion = {}; // true → {pred → n}
34
+ const buckets = Array.from({ length: 10 }, () => ({ n: 0, ok: 0 }));
35
+ // ECE deciles
36
+ for (const r of test) {
37
+ const p = placer.predict(r.raw);
38
+ const pred = p.country ?? "(abstain)";
39
+ (perClass[r.country] ??= { n: 0, ok: 0 }).n++;
40
+ (confusion[r.country] ??= {})[pred] = ((confusion[r.country] ??= {})[pred] ?? 0) + 1;
41
+ const hit = pred === r.country;
42
+ if (hit) {
43
+ correct++;
44
+ perClass[r.country].ok++;
45
+ }
46
+ const b = Math.min(9, Math.floor(p.confidence * 10));
47
+ buckets[b].n++;
48
+ if (hit) {
49
+ buckets[b].ok++;
50
+ }
48
51
  }
49
- const b = Math.min(9, Math.floor(p.confidence * 10));
50
- buckets[b].n++;
51
- if (hit) {
52
- buckets[b].ok++;
52
+ console.log(`coarse-placer eval — test n=${test.length}`);
53
+ console.log(` overall accuracy: ${((100 * correct) / test.length).toFixed(2)}% (abstain threshold ${abstain})`);
54
+ console.log(` per-class recall:`);
55
+ for (const c of meta.classes) {
56
+ const s = perClass[c];
57
+ if (s) {
58
+ console.log(` ${c}: ${((100 * s.ok) / s.n).toFixed(1)}% (n=${s.n})`);
59
+ }
53
60
  }
54
- }
55
- console.log(`coarse-placer eval — test n=${test.length}`);
56
- console.log(` overall accuracy: ${((100 * correct) / test.length).toFixed(2)}% (abstain threshold ${args.abstain})`);
57
- console.log(` per-class recall:`);
58
- for (const c of meta.classes) {
59
- const s = perClass[c];
60
- if (s) {
61
- console.log(` ${c}: ${((100 * s.ok) / s.n).toFixed(1)}% (n=${s.n})`);
61
+ let ece = 0;
62
+ const N = test.length;
63
+ for (let i = 0; i < 10; i++) {
64
+ const bk = buckets[i];
65
+ if (bk.n === 0)
66
+ continue;
67
+ const acc = bk.ok / bk.n;
68
+ const conf = (i + 0.5) / 10;
69
+ ece += (bk.n / N) * Math.abs(acc - conf);
62
70
  }
63
- }
64
- let ece = 0;
65
- const N = test.length;
66
- for (let i = 0; i < 10; i++) {
67
- const bk = buckets[i];
68
- if (bk.n === 0)
69
- continue;
70
- const acc = bk.ok / bk.n;
71
- const conf = (i + 0.5) / 10;
72
- ece += (bk.n / N) * Math.abs(acc - conf);
73
- }
74
- console.log(` ECE (10-bucket): ${ece.toFixed(4)}`);
75
- // Top confusions
76
- const confLines = [];
77
- for (const t of meta.classes) {
78
- for (const [pred, n] of Object.entries(confusion[t] ?? {})) {
79
- if (pred !== t && n >= 20) {
80
- confLines.push(` ${t}→${pred}: ${n}`);
71
+ console.log(` ECE (10-bucket): ${ece.toFixed(4)}`);
72
+ // Top confusions
73
+ const confLines = [];
74
+ for (const t of meta.classes) {
75
+ for (const [pred, n] of Object.entries(confusion[t] ?? {})) {
76
+ if (pred !== t && n >= 20) {
77
+ confLines.push(` ${t}→${pred}: ${n}`);
78
+ }
81
79
  }
82
80
  }
83
- }
84
- if (confLines.length) {
85
- console.log(` notable confusions (≥20):`);
86
- console.log(confLines.sort().join("\n"));
87
- }
88
- // --- Abstention on the multi-script set (off-map scripts should abstain) ---
89
- const msPath = path.resolve(import.meta.dirname, "../../data/eval/multi-script/v0.5.0-a0.jsonl");
90
- try {
91
- const ms = readFileSync(msPath, "utf8")
92
- .trim()
93
- .split("\n")
94
- .map((l) => JSON.parse(l));
95
- const TRAINED_SCRIPTS = new Set(["latin", "cjk"]); // the only scripts among the 11 trained countries
96
- // With the OTHER class, an off-map input is HANDLED if it routes to OTHER or abstains — either way
97
- // it's not a confident mis-placement onto a wrong country.
98
- const handled = (p) => p.abstained || p.country === "OTHER";
99
- let offN = 0, offOk = 0, missN = 0, missOk = 0;
100
- const offMiss = [];
101
- for (const r of ms) {
102
- const p = placer.predict(r.raw);
103
- const offMap = !TRAINED_SCRIPTS.has(r.script);
104
- if (offMap) {
105
- offN++;
106
- if (handled(p)) {
107
- offOk++;
81
+ if (confLines.length) {
82
+ console.log(` notable confusions (≥20):`);
83
+ console.log(confLines.sort().join("\n"));
84
+ }
85
+ // --- Abstention on the multi-script set (off-map scripts should abstain) ---
86
+ const msPath = repoRootPath("data", "eval", "multi-script", "v0.5.0-a0.jsonl");
87
+ try {
88
+ const ms = readFileSync(msPath, "utf8")
89
+ .trim()
90
+ .split("\n")
91
+ .map((l) => JSON.parse(l));
92
+ const TRAINED_SCRIPTS = new Set(["latin", "cjk"]); // the only scripts among the 11 trained countries
93
+ // With the OTHER class, an off-map input is HANDLED if it routes to OTHER or abstains — either way
94
+ // it's not a confident mis-placement onto a wrong country.
95
+ const handled = (p) => p.abstained || p.country === "OTHER";
96
+ let offN = 0, offOk = 0, missN = 0, missOk = 0;
97
+ const offMiss = [];
98
+ for (const r of ms) {
99
+ const p = placer.predict(r.raw);
100
+ const offMap = !TRAINED_SCRIPTS.has(r.script);
101
+ if (offMap) {
102
+ offN++;
103
+ if (handled(p)) {
104
+ offOk++;
105
+ }
106
+ else if (offMiss.length < 8) {
107
+ offMiss.push(` ${r.script}/${r.country} → ${p.country} @${p.confidence.toFixed(2)} «${r.raw.slice(0, 30)}»`);
108
+ }
108
109
  }
109
- else if (offMiss.length < 8) {
110
- offMiss.push(` ${r.script}/${r.country} → ${p.country} @${p.confidence.toFixed(2)} «${r.raw.slice(0, 30)}»`);
110
+ else {
111
+ missN++;
112
+ if (handled(p)) {
113
+ missOk++;
114
+ } // a latin/cjk in-map input mis-routed to OTHER = a false abstention
111
115
  }
112
116
  }
113
- else {
114
- missN++;
115
- if (handled(p)) {
116
- missOk++;
117
- } // a latin/cjk in-map input mis-routed to OTHER = a false abstention
117
+ console.log(`\nmulti-script off-map handling (n=${ms.length}):`);
118
+ console.log(` OFF-map scripts (Cyrillic/Arabic/Thai/…) routed to OTHER-or-abstain: ${offOk}/${offN} (${((100 * offOk) / Math.max(1, offN)).toFixed(0)}%) ← want HIGH`);
119
+ console.log(` ON-map scripts (latin/cjk) wrongly OTHER-or-abstain: ${missOk}/${missN} (${((100 * missOk) / Math.max(1, missN)).toFixed(0)}%) ← want LOW`);
120
+ if (offMiss.length) {
121
+ console.log(` off-map still mis-placed (the Latin-off-map residual — needs full off-map addresses, M3):`);
122
+ console.log(offMiss.join("\n"));
118
123
  }
119
124
  }
120
- console.log(`\nmulti-script off-map handling (n=${ms.length}):`);
121
- console.log(` OFF-map scripts (Cyrillic/Arabic/Thai/…) routed to OTHER-or-abstain: ${offOk}/${offN} (${((100 * offOk) / Math.max(1, offN)).toFixed(0)}%) ← want HIGH`);
122
- console.log(` ON-map scripts (latin/cjk) wrongly OTHER-or-abstain: ${missOk}/${missN} (${((100 * missOk) / Math.max(1, missN)).toFixed(0)}%) ← want LOW`);
123
- if (offMiss.length) {
124
- console.log(` off-map still mis-placed (the Latin-off-map residual — needs full off-map addresses, M3):`);
125
- console.log(offMiss.join("\n"));
125
+ catch (e) {
126
+ console.log(`\n(multi-script set not found at ${msPath}: ${e.message})`);
126
127
  }
127
- }
128
- catch (e) {
129
- console.log(`\n(multi-script set not found at ${msPath}: ${e.message})`);
128
+ return { n: test.length, accuracy: (100 * correct) / test.length, ece };
130
129
  }
131
130
  //# sourceMappingURL=eval.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"eval.js","sourceRoot":"","sources":["../../../coarse-placer/tools/e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CAAA;QAChE,OAAO,CAAC,GAAG,CACV,0EAA0E,KAAK,IAAI,IAAI,KAAK,CAAC,CAAC,GAAG,GAAG,KAAK,CAAC,GAAG,IAAI,CAAC,GAAG,CAAC,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,gBAAgB,CAC1J,CAAA;QACD,OAAO,CAAC,GAAG,CACV,0DAA0D,MAAM,IAAI,KAAK,KAAK,CAAC,CAAC,GAAG,GAAG,MAAM,CAAC,GAAG,IAAI,CAAC,GAAG,CAAC,CAAC,EAAE,KAAK,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC,eAAe,CAC7I,CAAA;QAED,IAAI,OAAO,CAAC,MAAM,EAAE,CAAC;YACpB,OAAO,CAAC,GAAG,CAAC,6FAA6F,CAAC,CAAA;YAC1G,OAAO,CAAC,GAAG,CAAC,OAAO,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAA;QAChC,CAAC;IACF,CAAC;IAAC,OAAO,CAAC,EAAE,CAAC;QACZ,OAAO,CAAC,GAAG,CAAC,oCAAoC,MAAM,KAAM,CAAW,CAAC,OAAO,GAAG,CAAC,CAAA;IACpF,CAAC;IAED,OAAO,EAAE,CAAC,EAAE,IAAI,CAAC,MAAM,EAAE,QAAQ,EAAE,CAAC,GAAG,GAAG,OAAO,CAAC,GAAG,IAAI,CAAC,MAAM,EAAE,GAAG,EAAE,CAAA;AACxE,CAAC"}
@@ -0,0 +1,15 @@
1
+ /**
2
+ * @copyright Sister Software
3
+ * @license AGPL-3.0
4
+ * @author Teffen Ellis, et al.
5
+ *
6
+ * The coarse-placer tools' shared FNV-1a hash — the one home for the four byte-identical copies
7
+ * the 2026-07-09 dedupe survey found (`build-dataset` / `build-outlier-{oa,latin,exposure}`).
8
+ * Deterministic ordering + variant choice depends on this exact stream — datasets rebuilt with a
9
+ * different hash won't reproduce. Internal to the tools; deliberately NOT exported from
10
+ * `@mailwoman/core` (featurize.ts carries its own FNV, bucketed mod FEATURE_DIM — different
11
+ * contract, do not merge).
12
+ */
13
+ /** FNV-1a → uint32, for deterministic ordering/variant choice. */
14
+ export declare function hashFNV1a(s: string): number;
15
+ //# sourceMappingURL=fnv-hash.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fnv-hash.d.ts","sourceRoot":"","sources":["../../../coarse-placer/tools/fnv-hash.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAEH,kEAAkE;AAClE,wBAAgB,SAAS,CAAC,CAAC,EAAE,MAAM,GAAG,MAAM,CAS3C"}
@@ -0,0 +1,22 @@
1
+ /**
2
+ * @copyright Sister Software
3
+ * @license AGPL-3.0
4
+ * @author Teffen Ellis, et al.
5
+ *
6
+ * The coarse-placer tools' shared FNV-1a hash — the one home for the four byte-identical copies
7
+ * the 2026-07-09 dedupe survey found (`build-dataset` / `build-outlier-{oa,latin,exposure}`).
8
+ * Deterministic ordering + variant choice depends on this exact stream — datasets rebuilt with a
9
+ * different hash won't reproduce. Internal to the tools; deliberately NOT exported from
10
+ * `@mailwoman/core` (featurize.ts carries its own FNV, bucketed mod FEATURE_DIM — different
11
+ * contract, do not merge).
12
+ */
13
+ /** FNV-1a → uint32, for deterministic ordering/variant choice. */
14
+ export function hashFNV1a(s) {
15
+ let h = 2166136261;
16
+ for (let i = 0; i < s.length; i++) {
17
+ h ^= s.charCodeAt(i);
18
+ h = Math.imul(h, 16777619);
19
+ }
20
+ return h >>> 0;
21
+ }
22
+ //# sourceMappingURL=fnv-hash.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fnv-hash.js","sourceRoot":"","sources":["../../../coarse-placer/tools/fnv-hash.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;GAWG;AAEH,kEAAkE;AAClE,MAAM,UAAU,SAAS,CAAC,CAAS;IAClC,IAAI,CAAC,GAAG,UAAU,CAAA;IAElB,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,CAAC,CAAC,MAAM,EAAE,CAAC,EAAE,EAAE,CAAC;QACnC,CAAC,IAAI,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,CAAA;QACpB,CAAC,GAAG,IAAI,CAAC,IAAI,CAAC,CAAC,EAAE,QAAQ,CAAC,CAAA;IAC3B,CAAC;IAED,OAAO,CAAC,KAAK,CAAC,CAAA;AACf,CAAC"}
@@ -0,0 +1,23 @@
1
+ /**
2
+ * @copyright Sister Software
3
+ * @license AGPL-3.0
4
+ * @author Teffen Ellis, et al.
5
+ *
6
+ * Coarse-placer (#244) operator tools — the `run()`-style modules behind `mailwoman placer …`
7
+ * commands (see the 2026-07-09 scripts→Pastel spec). No argv, no `process.exit`: commands own
8
+ * parsing, rendering, and exit codes. Heavy deps that are core devDependencies
9
+ * (`@duckdb/node-api`, `@mailwoman/codex`) are lazy-imported inside their entry fns. `fnv-hash.ts`
10
+ * is deliberately NOT re-exported — it's internal to the dataset builders.
11
+ */
12
+ export * from "./build-dataset.ts";
13
+ export * from "./build-outlier-exposure.ts";
14
+ export * from "./build-outlier-latin.ts";
15
+ export * from "./build-outlier-oa.ts";
16
+ export * from "./eval.ts";
17
+ export * from "./eval-latin-offmap.ts";
18
+ export * from "./eval-openset.ts";
19
+ export * from "./eval-quant-compare.ts";
20
+ export * from "./probe-frontier.ts";
21
+ export * from "./quantize.ts";
22
+ export * from "./train.ts";
23
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../coarse-placer/tools/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,cAAc,oBAAoB,CAAA;AAClC,cAAc,6BAA6B,CAAA;AAC3C,cAAc,0BAA0B,CAAA;AACxC,cAAc,uBAAuB,CAAA;AACrC,cAAc,WAAW,CAAA;AACzB,cAAc,wBAAwB,CAAA;AACtC,cAAc,mBAAmB,CAAA;AACjC,cAAc,yBAAyB,CAAA;AACvC,cAAc,qBAAqB,CAAA;AACnC,cAAc,eAAe,CAAA;AAC7B,cAAc,YAAY,CAAA"}
@@ -0,0 +1,23 @@
1
+ /**
2
+ * @copyright Sister Software
3
+ * @license AGPL-3.0
4
+ * @author Teffen Ellis, et al.
5
+ *
6
+ * Coarse-placer (#244) operator tools — the `run()`-style modules behind `mailwoman placer …`
7
+ * commands (see the 2026-07-09 scripts→Pastel spec). No argv, no `process.exit`: commands own
8
+ * parsing, rendering, and exit codes. Heavy deps that are core devDependencies
9
+ * (`@duckdb/node-api`, `@mailwoman/codex`) are lazy-imported inside their entry fns. `fnv-hash.ts`
10
+ * is deliberately NOT re-exported — it's internal to the dataset builders.
11
+ */
12
+ export * from "./build-dataset.js";
13
+ export * from "./build-outlier-exposure.js";
14
+ export * from "./build-outlier-latin.js";
15
+ export * from "./build-outlier-oa.js";
16
+ export * from "./eval.js";
17
+ export * from "./eval-latin-offmap.js";
18
+ export * from "./eval-openset.js";
19
+ export * from "./eval-quant-compare.js";
20
+ export * from "./probe-frontier.js";
21
+ export * from "./quantize.js";
22
+ export * from "./train.js";
23
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../coarse-placer/tools/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AAEH,cAAc,oBAAoB,CAAA;AAClC,cAAc,6BAA6B,CAAA;AAC3C,cAAc,0BAA0B,CAAA;AACxC,cAAc,uBAAuB,CAAA;AACrC,cAAc,WAAW,CAAA;AACzB,cAAc,wBAAwB,CAAA;AACtC,cAAc,mBAAmB,CAAA;AACjC,cAAc,yBAAyB,CAAA;AACvC,cAAc,qBAAqB,CAAA;AACnC,cAAc,eAAe,CAAA;AAC7B,cAAc,YAAY,CAAA"}
@@ -1,4 +1,3 @@
1
- #!/usr/bin/env node
2
1
  /**
3
2
  * @copyright Sister Software
4
3
  * @license AGPL-3.0
@@ -17,7 +16,27 @@
17
16
  * in-set + top1>80% + median prob_1 < 0.9 → UNDER-CONFIDENT, M2 mass-rule fix. in-set + top1<80% →
18
17
  * low-quality signal, defer. The probe is a LINEAR model (no ONNX), so it is heat-safe.
19
18
  *
20
- * Run: node core/coarse-placer/tools/probe-frontier.ts [--model <dir>] [--n 2000] [--out <md>]
19
+ * Run: `mailwoman placer probe-frontier [--model <dir>] [--n 2000] [--out <md>]`
21
20
  */
22
- export {};
21
+ /** Options for {@linkcode probeFrontier}. */
22
+ export interface ProbeFrontierOptions {
23
+ /**
24
+ * Model artifact dir. Default: the DEPLOYED placer bundled in `@mailwoman/core` (`core/data/coarse-placer`), NOT the
25
+ * `$MAILWOMAN_DATA_ROOT` training output — match the runtime.
26
+ */
27
+ model?: string;
28
+ /** Queries sampled (shortest first). Default 2000. */
29
+ n?: number;
30
+ /** Also write the markdown report here. */
31
+ out?: string;
32
+ }
33
+ /** Result of {@linkcode probeFrontier}. */
34
+ export interface ProbeFrontierResult {
35
+ /** The Phase-2 branch verdict line. */
36
+ branch: string;
37
+ n: number;
38
+ markdown: string;
39
+ }
40
+ /** Coarse-placer frontier probe (#822) — see the module doc. Emits the report head to stdout. */
41
+ export declare function probeFrontier(options?: ProbeFrontierOptions, report?: (line: string) => void): Promise<ProbeFrontierResult>;
23
42
  //# sourceMappingURL=probe-frontier.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"probe-frontier.d.ts","sourceRoot":"","sources":["../../../coarse-placer/tools/probe-frontier.ts"],"names":[],"mappings":";AACA;;;;;;;;;;;;;;;;;;;GAmBG"}
1
+ {"version":3,"file":"probe-frontier.d.ts","sourceRoot":"","sources":["../../../coarse-placer/tools/probe-frontier.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;GAmBG;AASH,6CAA6C;AAC7C,MAAM,WAAW,oBAAoB;IACpC;;;OAGG;IACH,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,sDAAsD;IACtD,CAAC,CAAC,EAAE,MAAM,CAAA;IACV,2CAA2C;IAC3C,GAAG,CAAC,EAAE,MAAM,CAAA;CACZ;AAED,2CAA2C;AAC3C,MAAM,WAAW,mBAAmB;IACnC,uCAAuC;IACvC,MAAM,EAAE,MAAM,CAAA;IACd,CAAC,EAAE,MAAM,CAAA;IACT,QAAQ,EAAE,MAAM,CAAA;CAChB;AA4CD,iGAAiG;AACjG,wBAAsB,aAAa,CAClC,OAAO,GAAE,oBAAyB,EAClC,MAAM,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,GAC7B,OAAO,CAAC,mBAAmB,CAAC,CAwH9B"}