@mailwoman/registry 10.0.0 → 10.1.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 (230) hide show
  1. package/README.md +10 -10
  2. package/lib/address-key.ts +14 -10
  3. package/lib/geocode-handler.ts +6 -4
  4. package/lib/geojson.ts +11 -6
  5. package/lib/ingest.ts +57 -83
  6. package/lib/learned-scorer.ts +38 -44
  7. package/lib/map-html.ts +24 -70
  8. package/lib/models/crosssource-gbt-en-us.ts +9 -7
  9. package/lib/models/dedup-gbt-en-us.ts +9 -8
  10. package/lib/models/org-crosssource-gbt-en-us.ts +10 -8
  11. package/lib/reconcile.ts +43 -53
  12. package/lib/resolve.ts +180 -124
  13. package/lib/types.ts +18 -12
  14. package/out/address-key.d.ts +14 -10
  15. package/out/address-key.d.ts.map +1 -1
  16. package/out/address-key.js +14 -10
  17. package/out/address-key.js.map +1 -1
  18. package/out/geocode-handler.d.ts +6 -4
  19. package/out/geocode-handler.d.ts.map +1 -1
  20. package/out/geocode-handler.js +6 -4
  21. package/out/geocode-handler.js.map +1 -1
  22. package/out/geojson.d.ts +9 -5
  23. package/out/geojson.d.ts.map +1 -1
  24. package/out/geojson.js +11 -6
  25. package/out/geojson.js.map +1 -1
  26. package/out/ingest.d.ts +46 -75
  27. package/out/ingest.d.ts.map +1 -1
  28. package/out/ingest.js +27 -54
  29. package/out/ingest.js.map +1 -1
  30. package/out/learned-scorer.d.ts +29 -26
  31. package/out/learned-scorer.d.ts.map +1 -1
  32. package/out/learned-scorer.js +31 -39
  33. package/out/learned-scorer.js.map +1 -1
  34. package/out/map-html.d.ts +13 -32
  35. package/out/map-html.d.ts.map +1 -1
  36. package/out/map-html.js +9 -62
  37. package/out/map-html.js.map +1 -1
  38. package/out/models/crosssource-gbt-en-us.d.ts +9 -7
  39. package/out/models/crosssource-gbt-en-us.d.ts.map +1 -1
  40. package/out/models/crosssource-gbt-en-us.js +9 -7
  41. package/out/models/crosssource-gbt-en-us.js.map +1 -1
  42. package/out/models/dedup-gbt-en-us.d.ts +9 -8
  43. package/out/models/dedup-gbt-en-us.d.ts.map +1 -1
  44. package/out/models/dedup-gbt-en-us.js +9 -8
  45. package/out/models/dedup-gbt-en-us.js.map +1 -1
  46. package/out/models/org-crosssource-gbt-en-us.d.ts +10 -8
  47. package/out/models/org-crosssource-gbt-en-us.d.ts.map +1 -1
  48. package/out/models/org-crosssource-gbt-en-us.js +10 -8
  49. package/out/models/org-crosssource-gbt-en-us.js.map +1 -1
  50. package/out/reconcile.d.ts +35 -50
  51. package/out/reconcile.d.ts.map +1 -1
  52. package/out/reconcile.js +17 -41
  53. package/out/reconcile.js.map +1 -1
  54. package/out/resolve.d.ts +150 -90
  55. package/out/resolve.d.ts.map +1 -1
  56. package/out/resolve.js +62 -63
  57. package/out/resolve.js.map +1 -1
  58. package/out/tools/coverage-reconciliation.d.ts +23 -23
  59. package/out/tools/coverage-reconciliation.d.ts.map +1 -1
  60. package/out/tools/coverage-reconciliation.js +15 -26
  61. package/out/tools/coverage-reconciliation.js.map +1 -1
  62. package/out/tools/cross/dataset-correlation.d.ts +20 -27
  63. package/out/tools/cross/dataset-correlation.d.ts.map +1 -1
  64. package/out/tools/cross/dataset-correlation.js +9 -61
  65. package/out/tools/cross/dataset-correlation.js.map +1 -1
  66. package/out/tools/cross/source-threshold-sweep.d.ts +20 -26
  67. package/out/tools/cross/source-threshold-sweep.d.ts.map +1 -1
  68. package/out/tools/cross/source-threshold-sweep.js +14 -40
  69. package/out/tools/cross/source-threshold-sweep.js.map +1 -1
  70. package/out/tools/dedup-ceiling.d.ts +23 -26
  71. package/out/tools/dedup-ceiling.d.ts.map +1 -1
  72. package/out/tools/dedup-ceiling.js +22 -41
  73. package/out/tools/dedup-ceiling.js.map +1 -1
  74. package/out/tools/eval-geocoder.d.ts +22 -15
  75. package/out/tools/eval-geocoder.d.ts.map +1 -1
  76. package/out/tools/eval-geocoder.js +5 -6
  77. package/out/tools/eval-geocoder.js.map +1 -1
  78. package/out/tools/geocoder/namesake-probe.d.ts +9 -8
  79. package/out/tools/geocoder/namesake-probe.d.ts.map +1 -1
  80. package/out/tools/geocoder/namesake-probe.js +6 -7
  81. package/out/tools/geocoder/namesake-probe.js.map +1 -1
  82. package/out/tools/geocoder/vs-provided-coords.d.ts +18 -15
  83. package/out/tools/geocoder/vs-provided-coords.d.ts.map +1 -1
  84. package/out/tools/geocoder/vs-provided-coords.js +30 -27
  85. package/out/tools/geocoder/vs-provided-coords.js.map +1 -1
  86. package/out/tools/gold-set-sample.d.ts +27 -18
  87. package/out/tools/gold-set-sample.d.ts.map +1 -1
  88. package/out/tools/gold-set-sample.js +18 -22
  89. package/out/tools/gold-set-sample.js.map +1 -1
  90. package/out/tools/learned/scorer/clustering-eval.d.ts +30 -27
  91. package/out/tools/learned/scorer/clustering-eval.d.ts.map +1 -1
  92. package/out/tools/learned/scorer/clustering-eval.js +28 -38
  93. package/out/tools/learned/scorer/clustering-eval.js.map +1 -1
  94. package/out/tools/learned/scorer/crossstate-eval.d.ts +24 -18
  95. package/out/tools/learned/scorer/crossstate-eval.d.ts.map +1 -1
  96. package/out/tools/learned/scorer/crossstate-eval.js +19 -25
  97. package/out/tools/learned/scorer/crossstate-eval.js.map +1 -1
  98. package/out/tools/learned/scorer/eval.d.ts +22 -39
  99. package/out/tools/learned/scorer/eval.d.ts.map +1 -1
  100. package/out/tools/learned/scorer/eval.js +11 -71
  101. package/out/tools/learned/scorer/eval.js.map +1 -1
  102. package/out/tools/matcher-scale.d.ts +12 -17
  103. package/out/tools/matcher-scale.d.ts.map +1 -1
  104. package/out/tools/matcher-scale.js +11 -29
  105. package/out/tools/matcher-scale.js.map +1 -1
  106. package/out/tools/nppes/dedup-benchmark.d.ts +21 -41
  107. package/out/tools/nppes/dedup-benchmark.d.ts.map +1 -1
  108. package/out/tools/nppes/dedup-benchmark.js +20 -66
  109. package/out/tools/nppes/dedup-benchmark.js.map +1 -1
  110. package/out/tools/nppes/org-name.d.ts +5 -4
  111. package/out/tools/nppes/org-name.d.ts.map +1 -1
  112. package/out/tools/nppes/org-name.js +2 -2
  113. package/out/tools/nppes/org-name.js.map +1 -1
  114. package/out/tools/nppes/overmerge-packet.d.ts +15 -11
  115. package/out/tools/nppes/overmerge-packet.d.ts.map +1 -1
  116. package/out/tools/nppes/overmerge-packet.js +5 -6
  117. package/out/tools/nppes/overmerge-packet.js.map +1 -1
  118. package/out/tools/nppes/report.d.ts +17 -13
  119. package/out/tools/nppes/report.d.ts.map +1 -1
  120. package/out/tools/nppes/report.js +6 -14
  121. package/out/tools/nppes/report.js.map +1 -1
  122. package/out/tools/nppes/sample.d.ts +28 -17
  123. package/out/tools/nppes/sample.d.ts.map +1 -1
  124. package/out/tools/nppes/sample.js +23 -26
  125. package/out/tools/nppes/sample.js.map +1 -1
  126. package/out/tools/nppes/scoring.d.ts +7 -6
  127. package/out/tools/nppes/scoring.d.ts.map +1 -1
  128. package/out/tools/nppes/scoring.js +6 -5
  129. package/out/tools/nppes/scoring.js.map +1 -1
  130. package/out/tools/nppes/settings.d.ts +10 -7
  131. package/out/tools/nppes/settings.d.ts.map +1 -1
  132. package/out/tools/nppes/settings.js +16 -16
  133. package/out/tools/nppes/settings.js.map +1 -1
  134. package/out/tools/nppes/truth-grains.d.ts +36 -23
  135. package/out/tools/nppes/truth-grains.d.ts.map +1 -1
  136. package/out/tools/nppes/truth-grains.js +36 -20
  137. package/out/tools/nppes/truth-grains.js.map +1 -1
  138. package/out/tools/shared.d.ts +63 -59
  139. package/out/tools/shared.d.ts.map +1 -1
  140. package/out/tools/shared.js +49 -66
  141. package/out/tools/shared.js.map +1 -1
  142. package/out/tools/train/cross-gbt.d.ts +36 -26
  143. package/out/tools/train/cross-gbt.d.ts.map +1 -1
  144. package/out/tools/train/cross-gbt.js +14 -25
  145. package/out/tools/train/cross-gbt.js.map +1 -1
  146. package/out/tools/train/gbt.d.ts +36 -20
  147. package/out/tools/train/gbt.d.ts.map +1 -1
  148. package/out/tools/train/gbt.js +27 -31
  149. package/out/tools/train/gbt.js.map +1 -1
  150. package/out/tools/train/org-cross-gbt.d.ts +37 -24
  151. package/out/tools/train/org-cross-gbt.d.ts.map +1 -1
  152. package/out/tools/train/org-cross-gbt.js +18 -22
  153. package/out/tools/train/org-cross-gbt.js.map +1 -1
  154. package/out/tools/txhhsc-to-oarow.d.ts +14 -9
  155. package/out/tools/txhhsc-to-oarow.d.ts.map +1 -1
  156. package/out/tools/txhhsc-to-oarow.js +16 -15
  157. package/out/tools/txhhsc-to-oarow.js.map +1 -1
  158. package/out/tools/viz/browser.d.ts +6 -5
  159. package/out/tools/viz/browser.d.ts.map +1 -1
  160. package/out/tools/viz/browser.js +6 -5
  161. package/out/tools/viz/browser.js.map +1 -1
  162. package/out/tools/viz/cross-dataset-map.d.ts +7 -4
  163. package/out/tools/viz/cross-dataset-map.d.ts.map +1 -1
  164. package/out/tools/viz/cross-dataset-map.js +9 -6
  165. package/out/tools/viz/cross-dataset-map.js.map +1 -1
  166. package/out/tools/viz/geocode-first-surface.d.ts +10 -5
  167. package/out/tools/viz/geocode-first-surface.d.ts.map +1 -1
  168. package/out/tools/viz/geocode-first-surface.js +16 -11
  169. package/out/tools/viz/geocode-first-surface.js.map +1 -1
  170. package/out/tools/viz/render/map.d.ts +5 -5
  171. package/out/tools/viz/render/map.d.ts.map +1 -1
  172. package/out/tools/viz/render/map.js +6 -5
  173. package/out/tools/viz/render/map.js.map +1 -1
  174. package/out/tools/viz/{render/index.d.ts → render.d.ts} +13 -9
  175. package/out/tools/viz/render.d.ts.map +1 -0
  176. package/out/tools/viz/{render/index.js → render.js} +9 -8
  177. package/out/tools/viz/render.js.map +1 -0
  178. package/out/tools/viz/source-provenance-map.d.ts +19 -7
  179. package/out/tools/viz/source-provenance-map.d.ts.map +1 -1
  180. package/out/tools/viz/source-provenance-map.js +11 -8
  181. package/out/tools/viz/source-provenance-map.js.map +1 -1
  182. package/out/tools/viz/yardstick-figure.d.ts +2 -21
  183. package/out/tools/viz/yardstick-figure.d.ts.map +1 -1
  184. package/out/tools/viz/yardstick-figure.js +3 -39
  185. package/out/tools/viz/yardstick-figure.js.map +1 -1
  186. package/out/types.d.ts +17 -11
  187. package/out/types.d.ts.map +1 -1
  188. package/out/types.js +2 -2
  189. package/out/types.js.map +1 -1
  190. package/package.json +41 -184
  191. package/{lib/tools → tools}/coverage-reconciliation.ts +27 -30
  192. package/{lib/tools → tools}/cross/dataset-correlation.ts +31 -72
  193. package/{lib/tools → tools}/cross/source-threshold-sweep.ts +29 -46
  194. package/{lib/tools → tools}/dedup-ceiling.ts +34 -45
  195. package/tools/eval-geocoder.ts +74 -0
  196. package/{lib/tools → tools}/geocoder/namesake-probe.ts +9 -8
  197. package/{lib/tools → tools}/geocoder/vs-provided-coords.ts +39 -30
  198. package/{lib/tools → tools}/gold-set-sample.ts +35 -29
  199. package/{lib/tools → tools}/learned/scorer/clustering-eval.ts +49 -45
  200. package/{lib/tools → tools}/learned/scorer/crossstate-eval.ts +34 -30
  201. package/{lib/tools → tools}/learned/scorer/eval.ts +35 -78
  202. package/{lib/tools → tools}/matcher-scale.ts +21 -33
  203. package/{lib/tools → tools}/nppes/dedup-benchmark.ts +37 -82
  204. package/{lib/tools → tools}/nppes/org-name.ts +5 -4
  205. package/{lib/tools → tools}/nppes/overmerge-packet.ts +15 -11
  206. package/{lib/tools → tools}/nppes/report.ts +32 -25
  207. package/{lib/tools → tools}/nppes/sample.ts +41 -36
  208. package/{lib/tools → tools}/nppes/scoring.ts +7 -6
  209. package/{lib/tools → tools}/nppes/settings.ts +16 -16
  210. package/{lib/tools → tools}/nppes/truth-grains.ts +46 -26
  211. package/{lib/tools → tools}/shared.ts +73 -83
  212. package/{lib/tools → tools}/train/cross-gbt.ts +38 -34
  213. package/{lib/tools → tools}/train/gbt.ts +55 -41
  214. package/{lib/tools → tools}/train/org-cross-gbt.ts +39 -30
  215. package/{lib/tools → tools}/txhhsc-to-oarow.ts +24 -18
  216. package/{lib/tools → tools}/viz/browser.ts +6 -5
  217. package/{lib/tools → tools}/viz/cross-dataset-map.ts +15 -9
  218. package/{lib/tools → tools}/viz/geocode-first-surface.ts +28 -17
  219. package/{lib/tools → tools}/viz/render/map.ts +7 -6
  220. package/{lib/tools/viz/render/index.ts → tools/viz/render.ts} +16 -11
  221. package/{lib/tools → tools}/viz/source-provenance-map.ts +30 -15
  222. package/{lib/tools → tools}/viz/yardstick-figure.ts +6 -43
  223. package/lib/tools/eval-geocoder.ts +0 -67
  224. package/lib/tools/index.ts +0 -31
  225. package/out/tools/index.d.ts +0 -31
  226. package/out/tools/index.d.ts.map +0 -1
  227. package/out/tools/index.js +0 -31
  228. package/out/tools/index.js.map +0 -1
  229. package/out/tools/viz/render/index.d.ts.map +0 -1
  230. package/out/tools/viz/render/index.js.map +0 -1
@@ -24,12 +24,15 @@ const MIN_DISTINCT_AGENCIES = 3
24
24
  */
25
25
  export interface CrossDatasetMapOptions {
26
26
  /**
27
- * The `cross-dataset-links` GeoJSON. Default
28
- * `$MAILWOMAN_DATA_ROOT/record-matcher/2026-06-16-cross-dataset-links.geojson`.
27
+ * The `cross-dataset-links` GeoJSON.
28
+ *
29
+ * Default `$MAILWOMAN_DATA_ROOT/record-matcher/2026-06-16-cross-dataset-links.geojson`.
29
30
  */
30
31
  in?: string
31
32
  /**
32
- * Output HTML path. Default `/tmp/cross-dataset-map.html`.
33
+ * Output html path.
34
+ *
35
+ * Default `/tmp/cross-dataset-map.html`.
33
36
  */
34
37
  outHTML?: string
35
38
  /**
@@ -48,10 +51,13 @@ const SOURCE_LABELS: Record<string, string> = {
48
51
  const label = (s: string) => SOURCE_LABELS[s] ?? s
49
52
 
50
53
  /**
51
- * Which AGENCY each source belongs to. The two FCC datasets (RHC posted-services + commitments) are ONE agency — so an
52
- * NPPES↔FCC or FCC↔TX link is cross-AGENCY, but an RHC↔commitments link is not. `--cross-agency-only` keeps just the
53
- * entities whose sources span >1 agency: the harder, more striking "no shared key ACROSS agencies" slice (most of the
54
- * raw links are FCC-internal).
54
+ * Which agency each source belongs to.
55
+ *
56
+ * The two FCC datasets (RHC posted-services + commitments) are one agency.
57
+ * So an NPPES↔FCC or FCC↔TX link is cross-agency, but an RHC↔commitments link is not.
58
+ *
59
+ * `--cross-agency-only` keeps just the entities whose sources span >1 agency: the harder,
60
+ * more striking "no shared key across agencies" subset (most of the raw links are FCC-internal).
55
61
  */
56
62
  const SOURCE_AGENCY: Record<string, string> = {
57
63
  nppes: "CMS",
@@ -66,7 +72,7 @@ const sourcesOf = (f: GeoFeature<PointLiteral, MapFeatureData>): string[] =>
66
72
  Array.isArray(f.properties?.sources) ? f.properties.sources : []
67
73
 
68
74
  /**
69
- * Render the cross-dataset-links GeoJSON to a bucket-colored MapLibre HTML page.
75
+ * Render the cross-dataset-links GeoJSON to a bucket-colored MapLibre html page.
70
76
  */
71
77
  export async function crossDatasetMap(
72
78
  options: CrossDatasetMapOptions = {},
@@ -85,7 +91,7 @@ export async function crossDatasetMap(
85
91
  : parsed
86
92
 
87
93
  // Synthesize a `bucket` per entity = its sorted source-combination, so toMapHTML colors by the link
88
- // TYPE (two-source vs the rarer all-three-source spans) rather than the binary cross/single status.
94
+ // type (two-source vs the rarer all-three-source spans) rather than the binary cross/single status.
89
95
  let triple = 0
90
96
  const comboCounts = new Map<string, number>()
91
97
 
@@ -4,30 +4,36 @@
4
4
  * @author Teffen Ellis, et al.
5
5
  *
6
6
  * Plot string-only and string-plus-distance match probabilities using the record matcher's
7
- * Fellegi-Sunter weights. The supplied prior is illustrative and the output is self-contained HTML.
7
+ * Fellegi-Sunter weights. The supplied prior is illustrative and the output is self-contained html.
8
8
  */
9
9
 
10
10
  import { tempRootPath } from "@mailwoman/core/data-root"
11
11
  import { writeLocalFile } from "@mailwoman/core/fs/writers"
12
+ import { stringifyJSON } from "@mailwoman/core/json"
12
13
 
13
14
  /**
14
15
  * Options for {@linkcode geocodeFirstSurface}.
15
16
  */
16
17
  export interface GeocodeFirstSurfaceOptions {
17
18
  /**
18
- * Illustrative prior λ. Production's record matcher uses λ=1e-4 (calibrated for the full multi-field model with phone
19
+ * Illustrative prior λ.
19
20
  *
20
- * - Spatial exact-key); here we want the boundary visible in a two-axis slice. Default 0.02.
21
+ * Production's record matcher uses λ=1e-4 (calibrated for the full multi-field model with phone
22
+ *
23
+ * - Spatial exact-key); here we want the boundary visible in a two-axis projection.
24
+ * Default 0.02.
21
25
  */
22
26
  lambda?: number
23
27
  /**
24
- * Output HTML path. Default `/tmp/geocode-first-surface.html`.
28
+ * Output html path.
29
+ *
30
+ * Default `/tmp/geocode-first-surface.html`.
25
31
  */
26
32
  outHTML?: string
27
33
  }
28
34
 
29
- // ── Real Bayes-factor weights, transcribed from source (values kept in sync by comment, not import,
30
- // so this generator is self-contained / independent of the match package's build state). ───────────
35
+ // ── Real Bayes-factor weights, transcribed from source (values kept in sync by comment rather than import,
36
+ // so this generator is self-contained / independent of the match package's build state). ───────────
31
37
 
32
38
  interface Level {
33
39
  label: string
@@ -80,7 +86,7 @@ function distanceWeight(km: number): number {
80
86
  }
81
87
 
82
88
  /**
83
- * Emit the geocode-first decision-surface Plotly HTML — see the module doc.
89
+ * Emit the geocode-first decision-surface Plotly html — see the module doc.
84
90
  */
85
91
  export async function geocodeFirstSurface(
86
92
  options: GeocodeFirstSurfaceOptions = {},
@@ -100,8 +106,10 @@ export async function geocodeFirstSurface(
100
106
  */
101
107
  const pGeocodeFirst = (sim: number, km: number) => probabilityFromWeight(PRIOR + nameWeight(sim) + distanceWeight(km))
102
108
 
103
- // ── Grid. X = string similarity 0→1. Y = geographic distance, sampled denser near 0 (log-ish) so
104
- // the meaningful same-building / same-block transitions aren't a single pixel. ────────────────
109
+ // ── Grid.
110
+ // X = string similarity 0→1.
111
+ // Y = geographic distance, sampled denser near 0 (log-ish) so the meaningful same-building
112
+ // / same-block transitions aren't a single pixel. ────────────────
105
113
 
106
114
  const NX = 60
107
115
  const NY = 60
@@ -124,7 +132,8 @@ export async function geocodeFirstSurface(
124
132
  const zString = surface(pStringFirst)
125
133
  const zGeo = surface(pGeocodeFirst)
126
134
 
127
- // ── The two trap points. (sim, km) chosen to sit in the off-diagonal quadrants. ─────────────────
135
+ // ── The two trap points.
136
+ // (sim, km) chosen to sit in the off-diagonal quadrants. ─────────────────
128
137
 
129
138
  interface Trap {
130
139
  label: string
@@ -138,11 +147,12 @@ export async function geocodeFirstSurface(
138
147
  label: "Springfield General — IL vs MA",
139
148
  detail: "identical name, ~1500 km apart",
140
149
  sim: 1,
141
- km: 15, // plotted on the far plateau (real distance ~1500 km; clamped into view)
150
+ km: 15, // plotted on the far plateau (real distance ~1500 km. clamped into view)
142
151
  },
143
152
  {
144
- // "St" → "Street" canonicalizes to a high (not exact) name agreement; the trailing "Apt 2"
145
- // keeps it off 1.0. Lands in the 0.88 "high" tier — same place, drifted-but-recognizable string.
153
+ // "St" → "Street" canonicalizes to a high (not exact) name agreement.
154
+ // The trailing "Apt 2" keeps it off 1.0.
155
+ // Lands in the 0.88 "high" tier — same place, drifted-but-recognizable string.
146
156
  label: "123 Main St vs 123 Main Street Apt 2",
147
157
  detail: "same building, drifted string",
148
158
  sim: 0.9,
@@ -159,7 +169,7 @@ export async function geocodeFirstSurface(
159
169
  geoP: pGeocodeFirst(t.sim, t.km),
160
170
  }))
161
171
 
162
- // ── HTML. ───────────────────────────────────────────────────────────────────────────────────────
172
+ // ── html. ───────────────────────────────────────────────────────────────────────────────────────
163
173
 
164
174
  const data = {
165
175
  simAxis,
@@ -171,9 +181,10 @@ export async function geocodeFirstSurface(
171
181
  prior: PRIOR,
172
182
  }
173
183
 
174
- // EVERY `<`, not only `</script>`: `<!--` also leaves script-data state in the HTML tokenizer, after which a
175
- // later `</script>` no longer ends the element. `\u003c` is the same string to a JSON reader.
176
- const safe = JSON.stringify(data).replaceAll("<", "\\u003c")
184
+ // Every `<`, not only `</script>`: `<!--` also leaves script-data state in the html
185
+ // tokenizer, after which a later `</script>` no longer ends the element.
186
+ // `\u003c` is the same string to a JSON reader.
187
+ const safe = stringifyJSON(data).replaceAll("<", "\\u003c")
177
188
 
178
189
  const html = `<!doctype html><html><head><meta charset="utf-8"/>
179
190
  <script src="https://cdn.plot.ly/plotly-2.35.2.min.js"></script>
@@ -4,19 +4,19 @@
4
4
  * @author Teffen Ellis, et al.
5
5
  *
6
6
  * Render a {@link toMapHTML} page (MapLibre GL + Protomaps basemap) to a PNG via headless Chromium
7
- * — the shared map renderer behind the `registry viz` map figures (an internal helper, not a
7
+ * — the shared map renderer behind the `registry viz` map figures (an internal helper rather than a
8
8
  * command).
9
9
  *
10
10
  * Two house-stack constraints make this fiddlier than the Plotly/SVG renderers:
11
11
  *
12
12
  * - MapLibre needs a real WebGL context — the shared harness (`./browser.ts`) provides one through
13
13
  * SwiftShader.
14
- * - The basemap tiles come from `tiles.mailwoman.ai`, which CORS-restricts to localhost + the docs
15
- * domains — so the page MUST be SERVED OVER LOCALHOST, not opened as a file (a file:// page
14
+ * - The basemap tiles come from `tiles.mailwoman.ai`, which cors-restricts to localhost + the docs
15
+ * domains . Therefore, the page must be served over localhost rather than opened as a file (a file:// page
16
16
  * renders accurate markers on a blank basemap). Serve the output dir first, e.g. `python3 -m
17
17
  * http.server 8899 -d <dir>`, then point this at `http://localhost:8899/<page>.html`.
18
18
  *
19
- * The map paints asynchronously after the network settles; we wait for networkidle, then a fixed
19
+ * The map paints asynchronously after the network settles. we wait for networkidle, then a fixed
20
20
  * beat for the basemap tiles + marker layer to finish compositing.
21
21
  */
22
22
 
@@ -27,7 +27,7 @@ import { withChromiumPage } from "#tools/viz/browser"
27
27
  */
28
28
  export interface RenderMapOptions {
29
29
  /**
30
- * The served localhost URL of the map page (NOT a file:// path — see the module doc).
30
+ * The served localhost URL of the map page (not a file:// path — see the module doc).
31
31
  */
32
32
  url: string
33
33
  /**
@@ -45,7 +45,8 @@ export async function renderServedMapToPNG(
45
45
  ): Promise<{ outPNG: string; consoleErrors: string[] }> {
46
46
  const { consoleErrors: errors } = await withChromiumPage({ viewport: { width: 1100, height: 760 } }, async (page) => {
47
47
  await page.goto(options.url, { waitUntil: "networkidle", timeout: 30_000 })
48
- // MapLibre composites tiles + the marker layer async after the network settles; give it a beat.
48
+ // MapLibre composites tiles + the marker layer async after the network settles.
49
+ // Give it a beat.
49
50
  await page.waitForTimeout(4000)
50
51
  await page.screenshot({ path: options.outPNG })
51
52
  })
@@ -3,11 +3,11 @@
3
3
  * @license AGPL-3.0
4
4
  * @author Teffen Ellis, et al.
5
5
  *
6
- * Render a self-contained Plotly HTML to a PNG via headless Chromium — the shared renderer behind
7
- * the `registry viz` figures (an internal helper, not a command).
6
+ * Render a self-contained Plotly html to a PNG via headless Chromium — the shared renderer behind
7
+ * the `registry viz` figures (an internal helper rather than a command).
8
8
  *
9
- * Plotly 3D (`surface`/`scatter3d`) needs a real WebGL context, which the shared harness
10
- * (`./browser.ts`) provides through SwiftShader; 2D traces (`contour`/`heatmap`) render on the 2D
9
+ * Plotly 3D (`surface`/`scatter3d`) needs a real WebGL context. The shared harness
10
+ * (`./browser.ts`) provides through SwiftShader. 2D traces (`contour`/`heatmap`) render on the 2D
11
11
  * canvas regardless. We wait for Plotly's `plotly_afterplot` to fire on every graph div rather
12
12
  * than a fixed sleep, so the screenshot can't race the (async) WebGL paint.
13
13
  */
@@ -22,7 +22,7 @@ import { withChromiumPage } from "#tools/viz/browser"
22
22
  */
23
23
  export interface RenderPlotlyOptions {
24
24
  /**
25
- * The self-contained Plotly HTML file.
25
+ * The self-contained Plotly html file.
26
26
  */
27
27
  inHTML: string
28
28
  /**
@@ -30,17 +30,21 @@ export interface RenderPlotlyOptions {
30
30
  */
31
31
  outPNG: string
32
32
  /**
33
- * Viewport width. Default 1160.
33
+ * Viewport width.
34
+ *
35
+ * Default 1160.
34
36
  */
35
37
  width?: number
36
38
  /**
37
- * Viewport height. Default 1000.
39
+ * Viewport height.
40
+ *
41
+ * Default 1000.
38
42
  */
39
43
  height?: number
40
44
  }
41
45
 
42
46
  /**
43
- * Screenshot a Plotly HTML page after every graph div's `plotly_afterplot` fires.
47
+ * Screenshot a Plotly html page after every graph div's `plotly_afterplot` fires.
44
48
  */
45
49
  export async function renderPlotlyHTMLToPNG(
46
50
  options: RenderPlotlyOptions,
@@ -51,10 +55,11 @@ export async function renderPlotlyHTMLToPNG(
51
55
  async (page) => {
52
56
  await page.goto(pathToFileURL(resolve(options.inHTML)).href, { waitUntil: "networkidle" })
53
57
 
54
- // Resolve once every Plotly graph div has fired plotly_afterplot (3D paints land async, after
55
- // newPlot's promise resolves), with a per-div fallback so an already-painted div can't hang us.
58
+ // Resolve once every Plotly graph div has fired plotly_afterplot
59
+ // (3D paints land async, after newPlot's promise resolves), with a per-div fallback
60
+ // so an already-painted div can't hang us.
56
61
  await page.evaluate(async () => {
57
- // Runs in the BROWSER — reach DOM/Plotly globals via globalThis so the script needs no DOM lib.
62
+ // Runs in the browser — reach DOM/Plotly globals via globalThis so the script needs no DOM lib.
58
63
  interface PlotlyDiv {
59
64
  _fullLayout?: unknown
60
65
  on?: (event: string, cb: () => void) => void
@@ -4,13 +4,14 @@
4
4
  * @author Teffen Ellis, et al.
5
5
  *
6
6
  * Sample `address_point.source` rows from a state database and render them by source in MapLibre.
7
- * The output requires an HTTP origin because the tile server does not serve `file:` origins.
7
+ * The output requires an http origin because the tile server does not serve `file:` origins.
8
8
  */
9
9
 
10
- import { dataRootPath, tempRootPath } from "@mailwoman/core/data-root"
10
+ import { tempRootPath } from "@mailwoman/core/data-root"
11
11
  import { writeLocalFile } from "@mailwoman/core/fs/writers"
12
12
  import { isPresent } from "@mailwoman/core/objects"
13
13
  import type { AddressPointDatabase } from "@mailwoman/resolver-wof-sqlite/address"
14
+ import { addressPointDatabasePath } from "@mailwoman/resolver-wof-sqlite/paths"
14
15
  import type { GeoFeature, GeoFeatureCollection, PointLiteral } from "@mailwoman/spatial"
15
16
  import { DatabaseClient } from "@mailwoman/sqlite/client"
16
17
 
@@ -21,34 +22,47 @@ import { type MapFeatureData, toMapHTML } from "#index"
21
22
  */
22
23
  export interface SourceProvenanceMapOptions {
23
24
  /**
24
- * State (lowercase postal). Default ny.
25
+ * State (lowercase postal).
26
+ *
27
+ * Default ny.
25
28
  */
26
29
  state?: string
27
30
  /**
28
- * Address-point DB path. Default `$MAILWOMAN_DATA_ROOT/address-points/address-points-us-<state>.db`.
31
+ * Address-point DB path.
32
+ *
33
+ * Default `$MAILWOMAN_DATA_ROOT/db/address-points/address-points-us-<state>.db`.
29
34
  */
30
35
  db?: string
31
36
  /**
32
- * Output HTML path. Default `/tmp/source-provenance.html`.
37
+ * Output html path.
38
+ *
39
+ * Default `/tmp/source-provenance.html`.
33
40
  */
34
41
  outHTML?: string
35
42
  /**
36
- * Keep ~1/N of NAD points. Default 700.
43
+ * Keep ~1/N of NAD points.
44
+ *
45
+ * Default 700.
37
46
  */
38
47
  nadMod?: number
39
48
  /**
40
- * Keep ~1/N of OpenAddresses points. Default 120.
49
+ * Keep ~1/N of OpenAddresses points.
50
+ *
51
+ * Default 120.
41
52
  */
42
53
  oaMod?: number
43
54
  /**
44
- * Per-source marker cap. Default 7000.
55
+ * Per-source marker cap.
56
+ *
57
+ * Default 7000.
45
58
  */
46
59
  cap?: number
47
60
  }
48
61
 
49
- // Collapse the raw `source` string into a human, mappable category. The address-point DB stores e.g.
50
- // "overture:NAD" or "overture:OpenAddresses/NY/NYC Open Data" — the suffix is the real upstream
51
- // publisher, which is what we want to color by (the "overture:" prefix is just the theme it arrived in).
62
+ // Collapse the raw `source` string into a human, mappable category.
63
+ // The address-point DB stores e.g. "overture:NAD" or "overture:OpenAddresses/NY/NYC Open Data".
64
+ // The suffix gives the real upstream publisher.
65
+ // Color features by that value (the "overture:" prefix is just the theme it arrived in).
52
66
  function categorize(source: string): { bucket: string; publisher: string } {
53
67
  if (source === "overture:NAD") return { bucket: "National Address Database", publisher: "NAD (federal)" }
54
68
 
@@ -62,7 +76,7 @@ function categorize(source: string): { bucket: string; publisher: string } {
62
76
  }
63
77
 
64
78
  // Must stay a type alias. Rows come back from the driver as `Record<string, SQLOutputValue>[]` and
65
- // are asserted to `Row[]`; an object type alias carries an implicit index signature that makes that
79
+ // are asserted to `Row[]`; an object type alias includes an implicit index signature that makes that
66
80
  // assertion legal, an interface does not.
67
81
  // oxlint-disable-next-line typescript/consistent-type-definitions -- needs the implicit index signature
68
82
  type Row = { lat: number; lon: number; source: string; number: string | null; street_raw: string | null }
@@ -75,7 +89,7 @@ export async function sourceProvenanceMap(
75
89
  report?: (line: string) => void
76
90
  ): Promise<{ outHTML: string; points: number }> {
77
91
  const STATE = (options.state || "ny").toLowerCase()
78
- const DB = options.db || String(dataRootPath("address-points", `address-points-us-${STATE}.db`))
92
+ const DB = options.db || addressPointDatabasePath(`address-points-us-${STATE}.db`)
79
93
  const OUT = options.outHTML || tempRootPath("source-provenance.html")
80
94
  const NAD_MOD = options.nadMod ?? 700 // keep ~1/700 of NAD points
81
95
  const OA_MOD = options.oaMod ?? 120 // keep ~1/120 of OpenAddresses points
@@ -83,8 +97,9 @@ export async function sourceProvenanceMap(
83
97
 
84
98
  using db = new DatabaseClient<AddressPointDatabase>(DB, { readOnly: true })
85
99
 
86
- // Two stratified samples so the smaller source (OpenAddresses, ~1/6 of NY) stays visible next to NAD.
87
- // abs(random()) % mod == 0 keeps a spatially-uniform ~1/mod fraction; LIMIT caps the marker count.
100
+ // Two stratified samples so the smaller source (OpenAddresses, ~1/6 of NY) stays visible
101
+ // next to NAD. abs(random()) % mod == 0 keeps a spatially-uniform ~1/mod fraction.
102
+ // Limit caps the marker count.
88
103
  const sample = (where: string, mod: number): Row[] =>
89
104
  db
90
105
  .prepare(
@@ -2,26 +2,6 @@
2
2
  * @copyright Sister Software
3
3
  * @license AGPL-3.0
4
4
  * @author Teffen Ellis, et al.
5
- *
6
- * The yardstick figure — "the dedup F1 climbs as the entity-truth gets honest."
7
- *
8
- * The #625 finding, made visual: the matcher's MEASURED dedup quality depends almost entirely on
9
- * which ruler you grade it against, not on the model. NPI-as-truth OVER-SEGMENTS (one org holds
10
- * many NPIs), so the matcher's correct co-located same-org merges are scored as errors. Grade the
11
- * IDENTICAL clusters against a gold-set-validated org-name truth and the F1 climbs — the ruler
12
- * ceasing to charge for correct merges, not the model changing — peaking when the ruler keys on
13
- * the geocoded BUILDING (the geocode-first coordinate) rather than the address string (+14.5pp
14
- * NPI → coord).
15
- *
16
- * A slope chart over four rulers (NPI → site → org-name → org-name-coord) for the shipped GBT
17
- * scorer and the FS baseline. Numbers are the committed measurement in
18
- * `docs/records/evals/matcher-dedup/2026-06-16-dedup-dual-level-benchmark.md` (1000 TX NPIs → 2757 records).
19
- *
20
- * Emits a self-contained SVG (the docs' committed-chart-asset convention — see
21
- * `docs/records/evals/charts/*.svg`), no browser required.
22
- *
23
- * Run: `mailwoman registry viz yardstick-figure
24
- * [--out-svg docs/records/evals/charts/dedup-yardstick.svg]`
25
5
  */
26
6
 
27
7
  import { writeLocalTextFile } from "@mailwoman/core/fs/writers"
@@ -32,13 +12,12 @@ import { escapeHTML } from "@mailwoman/core/strings/escape"
32
12
  */
33
13
  export interface YardstickFigureOptions {
34
14
  /**
35
- * Output SVG path. Default `docs/records/evals/charts/dedup-yardstick.svg` (relative to cwd).
15
+ * Sets the output SVG path relative to the working directory, defaulting
16
+ * to `docs/records/evals/charts/dedup-yardstick.svg`.
36
17
  */
37
18
  outSVG?: string
38
19
  }
39
20
 
40
- // ── The committed measurement (2026-06-16-dedup-dual-level-benchmark.md). ────────────────────────
41
-
42
21
  interface Grain {
43
22
  key: "NPI" | "site" | "org-name" | "org-name-coord"
44
23
  label: string
@@ -58,24 +37,16 @@ const GRAINS: Grain[] = [
58
37
  },
59
38
  ]
60
39
 
61
- /**
62
- * F1 per (model, grain), in %.
63
- */
64
40
  const F1: Record<string, [number, number, number, number]> = {
65
- GBT: [53.6, 55.3, 60.7, 68.1], // shipped default
66
- FS: [45.1, 42.7, 52.3, 60.3], // FS full stack baseline
41
+ GBT: [53.6, 55.3, 60.7, 68.1],
42
+ FS: [45.1, 42.7, 52.3, 60.3],
67
43
  }
68
44
 
69
- /**
70
- * Over-merged cluster counts per (model, grain) — the genuine-precision story for GBT.
71
- */
72
45
  const OVERMERGE: Record<string, [number, number, number, number]> = {
73
46
  GBT: [109, 208, 92, 76],
74
47
  FS: [144, 253, 129, 114],
75
48
  }
76
49
 
77
- // ── Geometry. ───────────────────────────────────────────────────────────────────────────────────
78
-
79
50
  const W = 760
80
51
  const H = 430
81
52
  const PAD = { top: 64, right: 168, bottom: 92, left: 64 }
@@ -112,7 +83,6 @@ export async function yardstickFigure(
112
83
  `<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 ${W} ${H}" width="${W}" height="${H}" font-family="ui-sans-serif, system-ui, sans-serif" font-size="11"><rect width="${W}" height="${H}" fill="white"/>`
113
84
  )
114
85
 
115
- // Title + subtitle.
116
86
  push(
117
87
  `<text x="${W / 2}" y="24" text-anchor="middle" font-size="15" font-weight="600">The dedup F1 climbs as the entity-truth gets honest</text>`
118
88
  )
@@ -121,7 +91,6 @@ export async function yardstickFigure(
121
91
  `<text x="${W / 2}" y="42" text-anchor="middle" font-size="11.5" fill="#555">Identical matcher output (the same clusters) graded against four rulers — 1000 TX NPIs → 2757 records, NPI held out</text>`
122
92
  )
123
93
 
124
- // Y gridlines + labels.
125
94
  for (let v = Y_MIN; v <= Y_MAX; v += 5) {
126
95
  const y = yFor(v)
127
96
 
@@ -136,7 +105,6 @@ export async function yardstickFigure(
136
105
  `<text transform="translate(20, ${(plotT + plotB) / 2}) rotate(-90)" text-anchor="middle" font-size="12" fill="#374151">entity-resolution F1</text>`
137
106
  )
138
107
 
139
- // X category ticks + labels + the class-count + note strip.
140
108
  GRAINS.forEach((g, i) => {
141
109
  const x = xFor(i)
142
110
 
@@ -152,7 +120,7 @@ export async function yardstickFigure(
152
120
  `<text x="${x.toFixed(1)}" y="${plotB + 36}" text-anchor="middle" font-size="10" fill="#6b7280">${g.classes} classes</text>`
153
121
  )
154
122
 
155
- // oxlint-disable-next-line mailwoman/prefer-spliterator -- `g.note` is a literal label from the MODELS table, not a file.
123
+ // oxlint-disable-next-line mailwoman/prefer-spliterator -- `g.note` is a literal label from the models table rather than a file.
156
124
  g.note.split("\n").forEach((line, k) => {
157
125
  push(
158
126
  `<text x="${x.toFixed(1)}" y="${plotB + 50 + k * 12}" text-anchor="middle" font-size="9" fill="#9ca3af">${esc(line)}</text>`
@@ -160,7 +128,6 @@ export async function yardstickFigure(
160
128
  })
161
129
  })
162
130
 
163
- // Model slope lines + points.
164
131
  for (const m of MODELS) {
165
132
  const f1s = F1[m.key]!
166
133
  const pts = f1s.map((f, i) => `${xFor(i).toFixed(1)},${yFor(f).toFixed(1)}`).join(" ")
@@ -173,7 +140,7 @@ export async function yardstickFigure(
173
140
  const x = xFor(i)
174
141
  const y = yFor(f)
175
142
  push(`<circle cx="${x.toFixed(1)}" cy="${y.toFixed(1)}" r="${m.key === "GBT" ? 5 : 4}" fill="${m.color}"/>`)
176
- // value label: above for GBT, below for FS, to avoid collision
143
+
177
144
  const dy = m.key === "GBT" ? -10 : 16
178
145
 
179
146
  push(
@@ -182,7 +149,6 @@ export async function yardstickFigure(
182
149
  })
183
150
  }
184
151
 
185
- // Legend (top-right, in the right margin).
186
152
  const lx = plotR + 16
187
153
  let ly = plotT + 6
188
154
 
@@ -195,7 +161,6 @@ export async function yardstickFigure(
195
161
  ly += 18
196
162
  }
197
163
 
198
- // The headline callout — the full climb for the shipped model, ending at the geocode-first key.
199
164
  const gCoord = yFor(F1.GBT![3])
200
165
  const gNPI = yFor(F1.GBT![0])
201
166
 
@@ -209,12 +174,10 @@ export async function yardstickFigure(
209
174
  `</g>`
210
175
  )
211
176
 
212
- // Bracket the GBT climb on the right edge of the plot (NPI → coord, the full honest range).
213
177
  push(
214
178
  `<path d="M ${(plotR - 4).toFixed(1)} ${gNPI.toFixed(1)} L ${(plotR + 2).toFixed(1)} ${gNPI.toFixed(1)} L ${(plotR + 2).toFixed(1)} ${gCoord.toFixed(1)} L ${(plotR - 4).toFixed(1)} ${gCoord.toFixed(1)}" fill="none" stroke="#3578e5" stroke-width="1" opacity="0.5"/>`
215
179
  )
216
180
 
217
- // Footer caveat — the gold-set anchor.
218
181
  push(
219
182
  `<text x="${plotL}" y="${H - 10}" font-size="9.5" fill="#9ca3af">Gold set (2026-06-16-dedup-gold-set-tx120): 120/120 hard co-located pairs = same org, 0 genuine over-merges. The coordinate (geocode-first building key) is the tightest honest ruler; NPI charges correct same-org merges as errors.</text>`
220
183
  )
@@ -1,67 +0,0 @@
1
- /**
2
- * @copyright Sister Software
3
- * @license AGPL-3.0
4
- * @author Teffen Ellis, et al.
5
- *
6
- * The injected-geocoder contract for the record-matcher tools. The registry package deliberately
7
- * never imports the heavy runtime (neural parser, WOF resolver, per-state extracts) — `mailwoman`
8
- * depends on `@mailwoman/registry`, so the reverse import would cycle the workspace graph. Instead
9
- * each tool takes an {@linkcode EvalGeocoderFactory} the CLI command constructs from
10
- * `mailwoman/geocode-core` (see `mailwoman/commands/registry/run.tsx`), mirroring the matcher's own
11
- * `GeocodeAddress` interface philosophy: ingest never pins the runtime, the caller wires it.
12
- */
13
-
14
- import type { ColumnMapping, GeocodeAddress, SourceRecord } from "#index"
15
-
16
- /**
17
- * The raw single-address geocode surface (the probe tools) — mirrors `mailwoman/geocode-core`'s wire shape.
18
- */
19
- export interface EvalGeocodeResult {
20
- lat: number | null
21
- lon: number | null
22
- /**
23
- * Wire key — mirrors `GeocodeResult.resolution_tier`.
24
- */
25
- resolution_tier?: string | null
26
- }
27
-
28
- /**
29
- * A constructed geocoder: the matcher's ingest interface, the raw geocode, and the handle release.
30
- */
31
- export interface EvalGeocoder extends Disposable {
32
- /**
33
- * The matcher's ingest interface (parse + geocode → `PostalAddress`), built via `geocodeAddressVia`.
34
- */
35
- geocodeAddress: GeocodeAddress
36
- /**
37
- * Raw single-address geocode — lat/lon + resolution tier.
38
- */
39
- geocode: (address: string) => Promise<EvalGeocodeResult>
40
- /**
41
- * Release the DB handles (extracts + WOF lookup).
42
- */
43
- }
44
-
45
- /**
46
- * Per-construction toggles a tool may need to control (the command owns model/WOF/data-root wiring).
47
- */
48
- export interface EvalGeocoderInit {
49
- /**
50
- * #690 all-caps case normalization. Default on; `nppes-benchmark --legacy-join` turns it off for the A/B.
51
- */
52
- normalizeCase?: boolean
53
- }
54
-
55
- /**
56
- * Build a geocoder on demand — tools construct late and dispose it as soon as geocoding is done.
57
- */
58
- export type EvalGeocoderFactory = (init?: EvalGeocoderInit) => Promise<EvalGeocoder>
59
-
60
- /**
61
- * The threaded geocode surface (`mailwoman/geocode-stream` behind the interface) for `nppes-dedup-benchmark
62
- * --parallel-geocode`. Yields enriched records in completion order.
63
- */
64
- export type EvalGeocodeStream = (
65
- records: SourceRecord[],
66
- opts: { mapping: ColumnMapping; concurrency: number }
67
- ) => AsyncIterable<SourceRecord>
@@ -1,31 +0,0 @@
1
- /**
2
- * @copyright Sister Software
3
- * @license AGPL-3.0
4
- * @author Teffen Ellis, et al.
5
- *
6
- * Registry operator tool exports.
7
- */
8
-
9
- export * from "#tools/coverage-reconciliation"
10
- export * from "#tools/cross/dataset-correlation"
11
- export * from "#tools/cross/source-threshold-sweep"
12
- export * from "#tools/dedup-ceiling"
13
- export * from "#tools/eval-geocoder"
14
- export * from "#tools/geocoder/namesake-probe"
15
- export * from "#tools/geocoder/vs-provided-coords"
16
- export * from "#tools/gold-set-sample"
17
- export * from "#tools/learned/scorer/clustering-eval"
18
- export * from "#tools/learned/scorer/crossstate-eval"
19
- export * from "#tools/learned/scorer/eval"
20
- export * from "#tools/matcher-scale"
21
- export * from "#tools/nppes/dedup-benchmark"
22
- export * from "#tools/train/cross-gbt"
23
- export * from "#tools/train/gbt"
24
- export * from "#tools/train/org-cross-gbt"
25
- export * from "#tools/txhhsc-to-oarow"
26
- export * from "#tools/viz/cross-dataset-map"
27
- export * from "#tools/viz/geocode-first-surface"
28
- export * from "#tools/viz/render/map"
29
- export * from "#tools/viz/render/index"
30
- export * from "#tools/viz/source-provenance-map"
31
- export * from "#tools/viz/yardstick-figure"
@@ -1,31 +0,0 @@
1
- /**
2
- * @copyright Sister Software
3
- * @license AGPL-3.0
4
- * @author Teffen Ellis, et al.
5
- *
6
- * Registry operator tool exports.
7
- */
8
- export * from "#tools/coverage-reconciliation";
9
- export * from "#tools/cross/dataset-correlation";
10
- export * from "#tools/cross/source-threshold-sweep";
11
- export * from "#tools/dedup-ceiling";
12
- export * from "#tools/eval-geocoder";
13
- export * from "#tools/geocoder/namesake-probe";
14
- export * from "#tools/geocoder/vs-provided-coords";
15
- export * from "#tools/gold-set-sample";
16
- export * from "#tools/learned/scorer/clustering-eval";
17
- export * from "#tools/learned/scorer/crossstate-eval";
18
- export * from "#tools/learned/scorer/eval";
19
- export * from "#tools/matcher-scale";
20
- export * from "#tools/nppes/dedup-benchmark";
21
- export * from "#tools/train/cross-gbt";
22
- export * from "#tools/train/gbt";
23
- export * from "#tools/train/org-cross-gbt";
24
- export * from "#tools/txhhsc-to-oarow";
25
- export * from "#tools/viz/cross-dataset-map";
26
- export * from "#tools/viz/geocode-first-surface";
27
- export * from "#tools/viz/render/map";
28
- export * from "#tools/viz/render/index";
29
- export * from "#tools/viz/source-provenance-map";
30
- export * from "#tools/viz/yardstick-figure";
31
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../lib/tools/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,gCAAgC,CAAA;AAC9C,cAAc,kCAAkC,CAAA;AAChD,cAAc,qCAAqC,CAAA;AACnD,cAAc,sBAAsB,CAAA;AACpC,cAAc,sBAAsB,CAAA;AACpC,cAAc,gCAAgC,CAAA;AAC9C,cAAc,oCAAoC,CAAA;AAClD,cAAc,wBAAwB,CAAA;AACtC,cAAc,uCAAuC,CAAA;AACrD,cAAc,uCAAuC,CAAA;AACrD,cAAc,4BAA4B,CAAA;AAC1C,cAAc,sBAAsB,CAAA;AACpC,cAAc,8BAA8B,CAAA;AAC5C,cAAc,wBAAwB,CAAA;AACtC,cAAc,kBAAkB,CAAA;AAChC,cAAc,4BAA4B,CAAA;AAC1C,cAAc,wBAAwB,CAAA;AACtC,cAAc,8BAA8B,CAAA;AAC5C,cAAc,kCAAkC,CAAA;AAChD,cAAc,uBAAuB,CAAA;AACrC,cAAc,yBAAyB,CAAA;AACvC,cAAc,kCAAkC,CAAA;AAChD,cAAc,6BAA6B,CAAA"}