@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
@@ -3,17 +3,17 @@
3
3
  * @license AGPL-3.0
4
4
  * @author Teffen Ellis, et al.
5
5
  *
6
- * The ORG-LEVEL cross-source link scorer (#655 follow-on) — trained on CCN-joined CMS POS ↔
7
- * Care Compare facility pairs (both public domain). Scores "same facility, different registry
8
- * text" links for org-level cross-dataset flows. Generated by
9
- * scripts/eval/record-matcher/train-org-cross-gbt.ts — retrain + re-run rather than editing.
6
+ * The ORG-level cross-source link scorer, trained on CCN-joined CMS POS ↔ Care Compare
7
+ * facility pairs (both public domain). Scores "same facility, different registry text" links
8
+ * for org-level cross-dataset flows. Generated by
9
+ * scripts/eval/record-matcher/train-org-cross-gbt.ts. Retrain and re-run rather than editing.
10
10
  */
11
11
 
12
12
  import type { GBT } from "@mailwoman/match"
13
13
 
14
14
  /**
15
- * Training provenance for {@link ORG_CROSS_SOURCE_GBT_MODEL} — seed, split and scores, so a shipped model can be traced
16
- * back to the run that produced it.
15
+ * Metadata records the training provenance for {@link ORG_CROSS_SOURCE_GBT_MODEL}: seed,
16
+ * split and scores, so a shipped model can be traced back to the run that produced it.
17
17
  */
18
18
  export const ORG_CROSS_SOURCE_GBT_META = {
19
19
  version: "1.0.0",
@@ -35,7 +35,9 @@ export const ORG_CROSS_SOURCE_GBT_META = {
35
35
 
36
36
  // prettier-ignore
37
37
  /**
38
- * Gradient-boosted trees scoring ORGANISATION matches across sources. Generated by
39
- * `registry/tools/train-org-cross-gbt.ts`; do not hand-edit.
38
+ * Gradient-boosted trees scoring organisation matches across sources.
39
+ *
40
+ * Generated by `registry/tools/train-org-cross-gbt.ts`.
41
+ * Do not hand-edit.
40
42
  */
41
43
  export const ORG_CROSS_SOURCE_GBT_MODEL: GBT = {"trees":[{"f":9,"thr":0.5,"lo":{"f":6,"thr":0.5,"lo":{"f":10,"thr":0.5,"lo":{"leaf":-0.49300421128170413},"hi":{"leaf":-0.2797453396607747}},"hi":{"f":13,"thr":0.5,"lo":{"leaf":0.49854174914177046},"hi":{"leaf":0.4743864512042013}}},"hi":{"f":16,"thr":0.04501564293592023,"lo":{"f":16,"thr":0.022507821467960116,"lo":{"leaf":0.4998587963364219},"hi":{"leaf":0.4971346405270114}},"hi":{"leaf":0.48461051996007365}}},{"f":9,"thr":0.5,"lo":{"f":6,"thr":0.5,"lo":{"f":10,"thr":0.5,"lo":{"leaf":-0.4560961505732958},"hi":{"leaf":-0.2587767448582661}},"hi":{"f":13,"thr":0.5,"lo":{"leaf":0.4612206614916071},"hi":{"leaf":0.4388673968640378}}},"hi":{"f":16,"thr":0.04501564293592023,"lo":{"f":16,"thr":0.022507821467960116,"lo":{"leaf":0.4624394819365115},"hi":{"leaf":0.45991849970167853}},"hi":{"leaf":0.44832861378543054}}},{"f":9,"thr":0.5,"lo":{"f":6,"thr":0.5,"lo":{"f":10,"thr":0.5,"lo":{"leaf":-0.4222987217266027},"hi":{"leaf":-0.23944380288045033}},"hi":{"f":13,"thr":0.5,"lo":{"leaf":0.42705277451525947},"hi":{"leaf":0.40631766774786116}}},"hi":{"f":16,"thr":0.04501564293592023,"lo":{"f":16,"thr":0.022507821467960116,"lo":{"leaf":0.428183529775086},"hi":{"leaf":0.4258447188769195}},"hi":{"leaf":0.41509328924349875}}},{"f":9,"thr":0.5,"lo":{"f":6,"thr":0.5,"lo":{"f":10,"thr":0.5,"lo":{"leaf":-0.3915759579000922},"hi":{"leaf":-0.22166131591024454}},"hi":{"f":13,"thr":0.5,"lo":{"leaf":0.39600538874291924},"hi":{"leaf":0.37669112135561356}}},"hi":{"f":16,"thr":0.04501564293592023,"lo":{"f":16,"thr":0.022507821467960116,"lo":{"leaf":0.39705903389311864},"hi":{"leaf":0.3948797577838318}},"hi":{"leaf":0.38486383816204045}}},{"f":9,"thr":0.5,"lo":{"f":6,"thr":0.5,"lo":{"f":10,"thr":0.5,"lo":{"leaf":-0.36377944022371983},"hi":{"leaf":-0.20533016305156382}},"hi":{"f":13,"thr":0.5,"lo":{"leaf":0.36792905547588595},"hi":{"leaf":0.34984285102082513}}},"hi":{"f":16,"thr":0.04501564293592023,"lo":{"f":16,"thr":0.022507821467960116,"lo":{"leaf":0.36891630149399646},"hi":{"leaf":0.3668744288569246}},"hi":{"leaf":0.35749341478631114}}},{"f":9,"thr":0.5,"lo":{"f":6,"thr":0.5,"lo":{"f":10,"thr":0.5,"lo":{"leaf":-0.3386970343588117},"hi":{"leaf":-0.1903449417543811}},"hi":{"f":13,"thr":0.5,"lo":{"leaf":0.34260815218761553},"hi":{"leaf":0.32557209501509304}}},"hi":{"f":16,"thr":0.04501564293592023,"lo":{"f":16,"thr":0.022507821467960116,"lo":{"leaf":0.3435388730221523},"hi":{"leaf":0.3416140006753209}},"hi":{"leaf":0.3327750783902473}}},{"f":9,"thr":0.5,"lo":{"f":6,"thr":0.5,"lo":{"f":10,"thr":0.5,"lo":{"leaf":-0.3160880761799902},"hi":{"leaf":-0.17659937385206165}},"hi":{"f":13,"thr":0.5,"lo":{"leaf":0.31979739674721974},"hi":{"leaf":0.3036532077103115}}},"hi":{"f":16,"thr":0.04501564293592023,"lo":{"f":16,"thr":0.022507821467960116,"lo":{"leaf":0.3206803575592846},"hi":{"leaf":0.318854371264946}},"hi":{"leaf":0.3104750314257154}}},{"f":9,"thr":0.5,"lo":{"f":6,"thr":0.5,"lo":{"f":10,"thr":0.5,"lo":{"leaf":-0.2957066682846494},"hi":{"leaf":-0.16398993331881503}},"hi":{"f":13,"thr":0.5,"lo":{"leaf":0.29924599495968746},"hi":{"leaf":0.2838562427446148}}},"hi":{"f":16,"thr":0.04501564293592023,"lo":{"f":16,"thr":0.022507821467960116,"lo":{"leaf":0.3000887857970399},"hi":{"leaf":0.29834599744642937}},"hi":{"leaf":0.2903546647976703}}},{"f":9,"thr":0.5,"lo":{"f":6,"thr":0.5,"lo":{"f":10,"thr":0.5,"lo":{"leaf":-0.2773158476537494},"hi":{"leaf":-0.1524181273023194}},"hi":{"f":13,"thr":0.5,"lo":{"leaf":0.28071229482193905},"hi":{"leaf":0.2659595556996272}}},"hi":{"f":16,"thr":0.04501564293592023,"lo":{"f":16,"thr":0.022507821467960116,"lo":{"leaf":0.28152138145464517},"hi":{"leaf":0.27984842452488223}},"hi":{"leaf":0.272184006443199}}},{"f":9,"thr":0.5,"lo":{"f":6,"thr":0.5,"lo":{"f":10,"thr":0.5,"lo":{"leaf":-0.26069532759650665},"hi":{"leaf":-0.1417917974591545}},"hi":{"f":13,"thr":0.5,"lo":{"leaf":0.26397176886166196},"hi":{"leaf":0.24975676150092968}}},"hi":{"f":3,"thr":0.5,"lo":{"f":16,"thr":0.022507821467960116,"lo":{"leaf":0.262854471722402},"hi":{"leaf":0.24169418661248387}},"hi":{"f":16,"thr":0.022507821467960116,"lo":{"leaf":0.2648938049158269},"hi":{"leaf":0.263571500473906}}}},{"f":9,"thr":0.5,"lo":{"f":6,"thr":0.5,"lo":{"f":10,"thr":0.5,"lo":{"leaf":-0.2456450072261096},"hi":{"leaf":-0.1320257340117099}},"hi":{"f":13,"thr":0.5,"lo":{"leaf":0.24882061228518054},"hi":{"leaf":0.23505994446128708}}},"hi":{"f":16,"thr":0.04501564293592023,"lo":{"f":16,"thr":0.022507821467960116,"lo":{"leaf":0.2495777552311559},"hi":{"leaf":0.24808293352247757}},"hi":{"leaf":0.24047281020681974}}},{"f":9,"thr":0.5,"lo":{"f":6,"thr":0.5,"lo":{"f":10,"thr":0.5,"lo":{"leaf":-0.2319858552684599},"hi":{"leaf":-0.12304182509627865}},"hi":{"f":13,"thr":0.5,"lo":{"leaf":0.23507662973707716},"hi":{"leaf":0.22170051993710457}}},"hi":{"f":16,"thr":0.04501564293592023,"lo":{"f":16,"thr":0.022507821467960116,"lo":{"leaf":0.23581388938286688},"hi":{"leaf":0.23435386854338422}},"hi":{"leaf":0.22698072206181488}}},{"f":9,"thr":0.5,"lo":{"f":6,"thr":0.5,"lo":{"f":10,"thr":0.5,"lo":{"leaf":-0.2195592693845895},"hi":{"leaf":-0.11476890500748052}},"hi":{"f":13,"thr":0.5,"lo":{"leaf":0.22257855411582642},"hi":{"leaf":0.20952871452822647}}},"hi":{"f":3,"thr":0.5,"lo":{"f":16,"thr":0.022507821467960116,"lo":{"leaf":0.2214997923320244},"hi":{"leaf":0.2015107605018891}},"hi":{"f":16,"thr":0.04501564293592023,"lo":{"leaf":0.22312366138179904},"hi":{"leaf":0.22597050282249517}}}},{"f":9,"thr":0.5,"lo":{"f":6,"thr":0.5,"lo":{"f":10,"thr":0.5,"lo":{"leaf":-0.20822562880778028},"hi":{"leaf":-0.1071424181779166}},"hi":{"f":13,"thr":0.5,"lo":{"leaf":0.21118454049003735},"hi":{"leaf":0.19841230152638592}}},"hi":{"f":16,"thr":0.04501564293592023,"lo":{"f":16,"thr":0.022507821467960116,"lo":{"leaf":0.21190544782073245},"hi":{"leaf":0.2105049184790068}},"hi":{"leaf":0.2029730787736205}}},{"f":9,"thr":0.5,"lo":{"f":6,"thr":0.5,"lo":{"f":10,"thr":0.5,"lo":{"leaf":-0.19786248818392474},"hi":{"leaf":-0.10010398017247173}},"hi":{"f":13,"thr":0.5,"lo":{"leaf":0.20077029710799105},"hi":{"leaf":0.18823499359776574}}},"hi":{"f":16,"thr":0.04501564293592023,"lo":{"f":16,"thr":0.022507821467960116,"lo":{"leaf":0.20147810776570238},"hi":{"leaf":0.20009722997416118}},"hi":{"leaf":0.19275837265218074}}},{"f":9,"thr":0.5,"lo":{"f":6,"thr":0.5,"lo":{"f":10,"thr":0.5,"lo":{"leaf":-0.18836267968806783},"hi":{"leaf":-0.0936008907600021}},"hi":{"f":13,"thr":0.5,"lo":{"leaf":0.1912271278142092},"hi":{"leaf":0.17889473576599998}}},"hi":{"f":16,"thr":0.04501564293592023,"lo":{"f":16,"thr":0.022507821467960116,"lo":{"leaf":0.19192381296190666},"hi":{"leaf":0.19055933643449507}},"hi":{"leaf":0.1833878798882715}}},{"f":9,"thr":0.5,"lo":{"f":6,"thr":0.5,"lo":{"f":7,"thr":0.5,"lo":{"leaf":-0.17720813654894532},"hi":{"leaf":-0.016973760841822384}},"hi":{"f":13,"thr":0.5,"lo":{"leaf":0.18246003948925774},"hi":{"leaf":0.1703020380257136}}},"hi":{"f":3,"thr":0.5,"lo":{"f":16,"thr":0.022507821467960116,"lo":{"leaf":0.18140228603949737},"hi":{"leaf":0.1622368491195208}},"hi":{"f":16,"thr":0.04501564293592023,"lo":{"leaf":0.1829711846607063},"hi":{"leaf":0.18599349678416816}}}},{"f":9,"thr":0.5,"lo":{"f":6,"thr":0.5,"lo":{"f":10,"thr":0.5,"lo":{"leaf":-0.1718230784690738},"hi":{"leaf":-0.07695407220066214}},"hi":{"f":13,"thr":0.5,"lo":{"leaf":0.17438599299412108},"hi":{"leaf":0.16237842128235522}}},"hi":{"f":16,"thr":0.04501564293592023,"lo":{"f":16,"thr":0.022507821467960116,"lo":{"leaf":0.1750774708510251},"hi":{"leaf":0.17374470242309728}},"hi":{"leaf":0.16638114890527983}}},{"f":9,"thr":0.5,"lo":{"f":8,"thr":0.5,"lo":{"f":13,"thr":0.5,"lo":{"leaf":0.1757341962528313},"hi":{"leaf":-0.08106675728715157}},"hi":{"f":10,"thr":0.5,"lo":{"leaf":-0.165515372916455},"hi":{"leaf":-0.10242397149698193}}},"hi":{"f":16,"thr":0.04501564293592023,"lo":{"f":16,"thr":0.022507821467960116,"lo":{"leaf":0.16761596289763495},"hi":{"leaf":0.16629230538324238}},"hi":{"leaf":0.1590749780182881}}},{"f":9,"thr":0.5,"lo":{"f":8,"thr":0.5,"lo":{"f":13,"thr":0.5,"lo":{"leaf":0.16810334610515582},"hi":{"leaf":-0.07750898451780507}},"hi":{"f":10,"thr":0.5,"lo":{"leaf":-0.15858274090234944},"hi":{"leaf":-0.09611450708640691}}},"hi":{"f":16,"thr":0.04501564293592023,"lo":{"f":16,"thr":0.022507821467960116,"lo":{"leaf":0.16071226049931603},"hi":{"leaf":0.15939619764366658}},"hi":{"leaf":0.1523081001402559}}},{"f":9,"thr":0.5,"lo":{"f":6,"thr":0.5,"lo":{"f":10,"thr":0.5,"lo":{"leaf":-0.15124391745485827},"hi":{"leaf":-0.06196177135508406}},"hi":{"f":13,"thr":0.5,"lo":{"leaf":0.15297724211716632},"hi":{"leaf":0.16220433842905474}}},"hi":{"f":16,"thr":0.04501564293592023,"lo":{"f":16,"thr":0.022507821467960116,"lo":{"leaf":0.1543103178016791},"hi":{"leaf":0.15300058121159363}},"hi":{"leaf":0.1460270557194537}}},{"f":9,"thr":0.5,"lo":{"f":8,"thr":0.5,"lo":{"f":13,"thr":0.5,"lo":{"leaf":0.15720385090351383},"hi":{"leaf":-0.07129941002642744}},"hi":{"f":0,"thr":0.5,"lo":{"leaf":-0.14523165861600226},"hi":{"leaf":-0.06274117523789989}}},"hi":{"f":3,"thr":0.5,"lo":{"f":16,"thr":0.022507821467960116,"lo":{"leaf":0.1466475406405264},"hi":{"leaf":0.12798930624335547}},"hi":{"f":16,"thr":0.04501564293592023,"lo":{"leaf":0.1481841214203446},"hi":{"leaf":0.1513750534818778}}}},{"f":9,"thr":0.5,"lo":{"f":8,"thr":0.5,"lo":{"f":13,"thr":0.5,"lo":{"leaf":0.15083540645229093},"hi":{"leaf":-0.06830691311672539}},"hi":{"f":10,"thr":0.5,"lo":{"leaf":-0.14077005588266567},"hi":{"leaf":-0.07832472891563824}}},"hi":{"f":16,"thr":0.04501564293592023,"lo":{"f":16,"thr":0.022507821467960116,"lo":{"leaf":0.14283081787841775},"hi":{"leaf":0.14153682971208764}},"hi":{"leaf":0.13435846030175636}}},{"f":9,"thr":0.5,"lo":{"f":6,"thr":0.5,"lo":{"f":10,"thr":0.5,"lo":{"leaf":-0.13483557267471982},"hi":{"leaf":-0.04731684468147557}},"hi":{"f":13,"thr":0.5,"lo":{"leaf":0.13576664286960372},"hi":{"leaf":0.16117238026575825}}},"hi":{"f":16,"thr":0.04501564293592023,"lo":{"f":16,"thr":0.022507821467960116,"lo":{"leaf":0.137660347099102},"hi":{"leaf":0.13636958464202284}},"hi":{"leaf":0.1292985089333417}}},{"f":9,"thr":0.5,"lo":{"f":8,"thr":0.5,"lo":{"f":13,"thr":0.5,"lo":{"leaf":0.14189501515136},"hi":{"leaf":-0.06335130102630177}},"hi":{"f":10,"thr":0.5,"lo":{"leaf":-0.1307304932766436},"hi":{"leaf":-0.07100003786323832}}},"hi":{"f":16,"thr":0.04501564293592023,"lo":{"f":16,"thr":0.022507821467960116,"lo":{"leaf":0.13282661567004334},"hi":{"leaf":0.13153847803006039}},"hi":{"leaf":0.12456403940812284}}},{"f":9,"thr":0.5,"lo":{"f":8,"thr":0.5,"lo":{"f":13,"thr":0.5,"lo":{"leaf":0.13649709729938783},"hi":{"leaf":-0.060800158263552014}},"hi":{"f":10,"thr":0.5,"lo":{"leaf":-0.12617430599976864},"hi":{"leaf":-0.06691872649987653}}},"hi":{"f":16,"thr":0.04501564293592023,"lo":{"f":16,"thr":0.022507821467960116,"lo":{"leaf":0.12829945706913123},"hi":{"leaf":0.12701343779468985}},"hi":{"leaf":0.12012628247969855}}},{"f":9,"thr":0.5,"lo":{"f":6,"thr":0.5,"lo":{"f":10,"thr":0.5,"lo":{"leaf":-0.12131557344772459},"hi":{"leaf":-0.03819130807453142}},"hi":{"f":13,"thr":0.5,"lo":{"leaf":0.12170819250867176},"hi":{"leaf":0.15949123619707145}}},"hi":{"f":16,"thr":0.04501564293592023,"lo":{"f":16,"thr":0.022507821467960116,"lo":{"leaf":0.12405203193387511},"hi":{"leaf":0.12276770356632091}},"hi":{"leaf":0.11595959972865322}}},{"f":9,"thr":0.5,"lo":{"f":8,"thr":0.5,"lo":{"f":13,"thr":0.5,"lo":{"leaf":0.1290556378250452},"hi":{"leaf":-0.05680774701993605}},"hi":{"f":0,"thr":0.5,"lo":{"leaf":-0.11698002701840138},"hi":{"leaf":-0.037757504618209}}},"hi":{"f":3,"thr":0.5,"lo":{"f":16,"thr":0.022507821467960116,"lo":{"leaf":0.11836228161080649},"hi":{"leaf":0.0999760543806174}},"hi":{"f":16,"thr":0.04501564293592023,"lo":{"leaf":0.11988300121444996},"hi":{"leaf":0.12321250922604422}}}},{"f":9,"thr":0.5,"lo":{"f":8,"thr":0.5,"lo":{"f":13,"thr":0.5,"lo":{"leaf":0.12441768606207745},"hi":{"leaf":-0.05460656293850972}},"hi":{"f":10,"thr":0.5,"lo":{"leaf":-0.11422035405923975},"hi":{"leaf":-0.05479609440477132}}},"hi":{"f":16,"thr":0.04501564293592023,"lo":{"f":16,"thr":0.022507821467960116,"lo":{"leaf":0.11631190822647981},"hi":{"leaf":0.11503536454407114}},"hi":{"leaf":0.10802700328300435}}},{"f":9,"thr":0.5,"lo":{"f":6,"thr":0.5,"lo":{"f":10,"thr":0.5,"lo":{"leaf":-0.11018760084238227},"hi":{"leaf":-0.02835770701718866}},"hi":{"f":13,"thr":0.5,"lo":{"leaf":0.11005909246142505},"hi":{"leaf":0.15732551836667022}}},"hi":{"f":16,"thr":0.04501564293592023,"lo":{"f":16,"thr":0.022507821467960116,"lo":{"leaf":0.11276941616207867},"hi":{"leaf":0.11149334034933013}},"hi":{"leaf":0.10456353281817159}}},{"f":9,"thr":0.5,"lo":{"f":8,"thr":0.5,"lo":{"f":13,"thr":0.5,"lo":{"leaf":0.11812158821406102},"hi":{"leaf":-0.05135936986943478}},"hi":{"f":10,"thr":0.5,"lo":{"leaf":-0.107293199748172},"hi":{"leaf":-0.05022135619152323}}},"hi":{"f":16,"thr":0.04501564293592023,"lo":{"f":16,"thr":0.022507821467960116,"lo":{"leaf":0.10942497585616305},"hi":{"leaf":0.10814917202222357}},"hi":{"leaf":0.1012913792876854}}},{"f":9,"thr":0.5,"lo":{"f":8,"thr":0.5,"lo":{"f":13,"thr":0.5,"lo":{"leaf":0.11408953247090078},"hi":{"leaf":-0.04943979566166571}},"hi":{"f":10,"thr":0.5,"lo":{"leaf":-0.10410621348862738},"hi":{"leaf":-0.04748698771862777}}},"hi":{"f":16,"thr":0.04501564293592023,"lo":{"f":16,"thr":0.022507821467960116,"lo":{"leaf":0.10626308851951352},"hi":{"leaf":0.10498739213695352}},"hi":{"leaf":0.09819577224138153}}},{"f":9,"thr":0.5,"lo":{"f":6,"thr":0.5,"lo":{"f":10,"thr":0.5,"lo":{"leaf":-0.10073248222194975},"hi":{"leaf":-0.022718046852503775}},"hi":{"f":13,"thr":0.5,"lo":{"leaf":0.10028384672005415},"hi":{"leaf":0.1548043957855695}}},"hi":{"f":16,"thr":0.04501564293592023,"lo":{"f":16,"thr":0.022507821467960116,"lo":{"leaf":0.10326977501019538},"hi":{"leaf":0.10199404808362456}},"hi":{"leaf":0.09526337016431755}}},{"f":9,"thr":0.5,"lo":{"f":8,"thr":0.5,"lo":{"f":13,"thr":0.5,"lo":{"leaf":0.1087063425387586},"hi":{"leaf":-0.04678076271661912}},"hi":{"f":0,"thr":0.5,"lo":{"leaf":-0.09738419982498779},"hi":{"leaf":-0.020629399974492653}}},"hi":{"f":3,"thr":0.5,"lo":{"f":16,"thr":0.022507821467960116,"lo":{"leaf":0.09874382833438379},"hi":{"leaf":0.08052907503765364}},"hi":{"f":16,"thr":0.04501564293592023,"lo":{"leaf":0.10025343709006003},"hi":{"leaf":0.10363994260207697}}}},{"f":9,"thr":0.5,"lo":{"f":8,"thr":0.5,"lo":{"f":13,"thr":0.5,"lo":{"leaf":0.1051648376598302},"hi":{"leaf":-0.04509062201471398}},"hi":{"f":10,"thr":0.5,"lo":{"leaf":-0.09560994283472538},"hi":{"leaf":-0.03886584507509645}}},"hi":{"f":16,"thr":0.04501564293592023,"lo":{"f":16,"thr":0.022507821467960116,"lo":{"leaf":0.0977470364542552},"hi":{"leaf":0.09647566041522326}},"hi":{"leaf":0.08956072919221161}}},{"f":9,"thr":0.5,"lo":{"f":6,"thr":0.5,"lo":{"f":10,"thr":0.5,"lo":{"leaf":-0.09275949714595585},"hi":{"leaf":-0.015859720332687607}},"hi":{"f":13,"thr":0.5,"lo":{"leaf":0.09198811285877989},"hi":{"leaf":0.15202950052286998}}},"hi":{"f":16,"thr":0.04501564293592023,"lo":{"f":16,"thr":0.022507821467960116,"lo":{"leaf":0.09518789739989726},"hi":{"leaf":0.09391597229230363}},"hi":{"leaf":0.08706352208292092}}},{"f":9,"thr":0.5,"lo":{"f":8,"thr":0.5,"lo":{"f":13,"thr":0.5,"lo":{"leaf":0.10049863347730198},"hi":{"leaf":-0.042896858777629256}},"hi":{"f":0,"thr":0.5,"lo":{"leaf":-0.08965430948215795},"hi":{"leaf":-0.01500136250932471}}},"hi":{"f":16,"thr":0.04501564293592023,"lo":{"f":16,"thr":0.022507821467960116,"lo":{"leaf":0.09275345215487907},"hi":{"leaf":0.09148092702833012}},"hi":{"leaf":0.08468654382265114}}},{"f":9,"thr":0.5,"lo":{"f":6,"thr":0.5,"lo":{"f":10,"thr":0.5,"lo":{"leaf":-0.0880793602663824},"hi":{"leaf":-0.011344758723630971}},"hi":{"f":13,"thr":0.5,"lo":{"leaf":0.08720971752113849},"hi":{"leaf":0.14729704390107645}}},"hi":{"f":16,"thr":0.04501564293592023,"lo":{"f":16,"thr":0.022507821467960116,"lo":{"leaf":0.0904350969376587},"hi":{"leaf":0.08916193128536967}},"hi":{"leaf":0.08242161452657633}}},{"f":9,"thr":0.5,"lo":{"f":8,"thr":0.5,"lo":{"f":13,"thr":0.5,"lo":{"leaf":0.09620603473366965},"hi":{"leaf":-0.04091550090794463}},"hi":{"f":10,"thr":0.5,"lo":{"leaf":-0.08609070080959913},"hi":{"leaf":-0.031074181885311934}}},"hi":{"f":16,"thr":0.04501564293592023,"lo":{"f":16,"thr":0.022507821467960116,"lo":{"leaf":0.08822498001933107},"hi":{"leaf":0.08695114218703409}},"hi":{"leaf":0.08026125945515365}}},{"f":9,"thr":0.5,"lo":{"f":6,"thr":0.5,"lo":{"f":10,"thr":0.5,"lo":{"leaf":-0.08374797029672977},"hi":{"leaf":-0.009637827119317079}},"hi":{"f":13,"thr":0.5,"lo":{"leaf":0.08286287247216785},"hi":{"leaf":0.14278040813594708}}},"hi":{"f":3,"thr":0.5,"lo":{"f":16,"thr":0.022507821467960116,"lo":{"leaf":0.08443367521818294},"hi":{"leaf":0.06633632938460977}},"hi":{"f":16,"thr":0.04501564293592023,"lo":{"leaf":0.08593529151137885},"hi":{"leaf":0.08934609540471541}}}},{"f":9,"thr":0.5,"lo":{"f":8,"thr":0.5,"lo":{"f":5,"thr":0.5,"lo":{"leaf":0.08361535663704713},"hi":{"leaf":-0.07360962532243127}},"hi":{"f":0,"thr":0.5,"lo":{"leaf":-0.08104394093631771},"hi":{"leaf":-0.008293810070222117}}},"hi":{"f":16,"thr":0.04501564293592023,"lo":{"f":16,"thr":0.022507821467960116,"lo":{"leaf":0.0841079467466281},"hi":{"leaf":0.08283687102240518}},"hi":{"leaf":0.07598007259966161}}},{"f":9,"thr":0.5,"lo":{"f":8,"thr":0.5,"lo":{"f":13,"thr":0.5,"lo":{"leaf":0.09058190526010015},"hi":{"leaf":-0.04002058154499677}},"hi":{"f":10,"thr":0.5,"lo":{"leaf":-0.08005507054574884},"hi":{"leaf":-0.025183343234574378}}},"hi":{"f":16,"thr":0.04501564293592023,"lo":{"f":16,"thr":0.022507821467960116,"lo":{"leaf":0.08218154823401874},"hi":{"leaf":0.08090956997094531}},"hi":{"leaf":0.07410524904670215}}},{"f":9,"thr":0.5,"lo":{"f":8,"thr":0.5,"lo":{"f":5,"thr":0.5,"lo":{"leaf":0.07958989260915515},"hi":{"leaf":-0.0718486112614979}},"hi":{"f":10,"thr":0.5,"lo":{"leaf":-0.07819011477479335},"hi":{"leaf":-0.02391296739650913}}},"hi":{"f":16,"thr":0.04501564293592023,"lo":{"f":16,"thr":0.022507821467960116,"lo":{"leaf":0.08033808578728192},"hi":{"leaf":0.07906520784489168}},"hi":{"leaf":0.07231017340287102}}},{"f":9,"thr":0.5,"lo":{"f":6,"thr":0.5,"lo":{"f":10,"thr":0.5,"lo":{"leaf":-0.07628318180870104},"hi":{"leaf":-0.0037597957422743607}},"hi":{"f":13,"thr":0.5,"lo":{"leaf":0.07538521770337392},"hi":{"leaf":0.13190052712765468}}},"hi":{"f":16,"thr":0.04501564293592023,"lo":{"f":16,"thr":0.022507821467960116,"lo":{"leaf":0.0785724609591028},"hi":{"leaf":0.07729868923157683}},"hi":{"leaf":0.07059001560590247}}},{"f":9,"thr":0.5,"lo":{"f":8,"thr":0.5,"lo":{"f":13,"thr":0.5,"lo":{"leaf":0.08555723087831471},"hi":{"leaf":-0.039186761644739186}},"hi":{"f":10,"thr":0.5,"lo":{"leaf":-0.0746953099922588},"hi":{"leaf":-0.02252334229144773}}},"hi":{"f":16,"thr":0.04501564293592023,"lo":{"f":16,"thr":0.022507821467960116,"lo":{"leaf":0.07687997540011583},"hi":{"leaf":0.07560531829380387}},"hi":{"leaf":0.0689403191157504}}},{"f":9,"thr":0.5,"lo":{"f":0,"thr":0.5,"lo":{"f":8,"thr":0.5,"lo":{"leaf":0.05501030949644428},"hi":{"leaf":-0.07219840121968611}},"hi":{"f":10,"thr":0.5,"lo":{"leaf":-0.010104936761499783},"hi":{"leaf":0.11242295217092105}}},"hi":{"f":3,"thr":0.5,"lo":{"f":16,"thr":0.022507821467960116,"lo":{"leaf":0.07357841162113327},"hi":{"leaf":0.05556721999430077}},"hi":{"f":16,"thr":0.04501564293592023,"lo":{"leaf":0.07507412042775749},"hi":{"leaf":0.07849604182661916}}}},{"f":9,"thr":0.5,"lo":{"f":6,"thr":0.5,"lo":{"f":10,"thr":0.5,"lo":{"leaf":-0.07146269503302968},"hi":{"leaf":-0.0006755029466522721}},"hi":{"f":13,"thr":0.5,"lo":{"leaf":0.070696554522568},"hi":{"leaf":0.12863963003791953}}},"hi":{"f":16,"thr":0.04501564293592023,"lo":{"f":16,"thr":0.022507821467960116,"lo":{"leaf":0.07370327557093759},"hi":{"leaf":0.07243061010087813}},"hi":{"leaf":0.06561456977425788}}},{"f":9,"thr":0.5,"lo":{"f":0,"thr":0.5,"lo":{"f":8,"thr":0.5,"lo":{"leaf":0.05423583028183582},"hi":{"leaf":-0.06910554803628421}},"hi":{"f":10,"thr":0.5,"lo":{"leaf":-0.00917443752454502},"hi":{"leaf":0.10796291532424646}}},"hi":{"f":16,"thr":0.04501564293592023,"lo":{"f":16,"thr":0.022507821467960116,"lo":{"leaf":0.07220524951973073},"hi":{"leaf":0.07093159423151164}},"hi":{"leaf":0.06416126832429075}}},{"f":9,"thr":0.5,"lo":{"f":6,"thr":0.5,"lo":{"f":10,"thr":0.5,"lo":{"leaf":-0.06855690710619554},"hi":{"leaf":0.0014015960119450174}},"hi":{"f":13,"thr":0.5,"lo":{"leaf":0.06806448527299139},"hi":{"leaf":0.12402174867217576}}},"hi":{"f":16,"thr":0.04501564293592023,"lo":{"f":16,"thr":0.022507821467960116,"lo":{"leaf":0.07076488771100345},"hi":{"leaf":0.06949026492011627}},"hi":{"leaf":0.06276322869968881}}},{"f":9,"thr":0.5,"lo":{"f":0,"thr":0.5,"lo":{"f":10,"thr":0.5,"lo":{"leaf":-0.06785958241222168},"hi":{"leaf":-0.02717125268035022}},"hi":{"f":10,"thr":0.5,"lo":{"leaf":-0.008313402300914458},"hi":{"leaf":0.10374296038747723}}},"hi":{"f":16,"thr":0.04501564293592023,"lo":{"f":16,"thr":0.022507821467960116,"lo":{"leaf":0.06937900084632716},"hi":{"leaf":0.06810343319747957}},"hi":{"leaf":0.06141744271849803}}},{"f":9,"thr":0.5,"lo":{"f":8,"thr":0.5,"lo":{"f":5,"thr":0.5,"lo":{"leaf":0.06963933738534915},"hi":{"leaf":-0.06636401067419923}},"hi":{"f":10,"thr":0.5,"lo":{"leaf":-0.0658898129956438},"hi":{"leaf":-0.01534361033563651}}},"hi":{"f":16,"thr":0.04501564293592023,"lo":{"f":16,"thr":0.022507821467960116,"lo":{"leaf":0.06804462607356201},"hi":{"leaf":0.06676813639030885}},"hi":{"leaf":0.06012111246675867}}},{"f":9,"thr":0.5,"lo":{"f":0,"thr":0.5,"lo":{"f":10,"thr":0.5,"lo":{"leaf":-0.06520586580361214},"hi":{"leaf":-0.025230775370645105}},"hi":{"f":10,"thr":0.5,"lo":{"leaf":-0.007903915734266518},"hi":{"leaf":0.0998443981752655}}},"hi":{"f":3,"thr":0.5,"lo":{"f":16,"thr":0.022507821467960116,"lo":{"leaf":0.06508424664452021},"hi":{"leaf":0.04714006289930263}},"hi":{"f":16,"thr":0.04501564293592023,"lo":{"leaf":0.06657548019937619},"hi":{"leaf":0.07000363549218823}}}},{"f":9,"thr":0.5,"lo":{"f":6,"thr":0.5,"lo":{"f":10,"thr":0.5,"lo":{"leaf":-0.06331422800117349},"hi":{"leaf":0.0026361419611198086}},"hi":{"f":13,"thr":0.5,"lo":{"leaf":0.06342760210990127},"hi":{"leaf":0.11737368456293758}}},"hi":{"f":16,"thr":0.04501564293592023,"lo":{"f":16,"thr":0.022507821467960116,"lo":{"leaf":0.0655248637094396},"hi":{"leaf":0.06424998355536114}},"hi":{"leaf":0.05746574608938174}}},{"f":9,"thr":0.5,"lo":{"f":0,"thr":0.5,"lo":{"f":8,"thr":0.5,"lo":{"leaf":0.0573167348559245},"hi":{"leaf":-0.061232586782496844}},"hi":{"f":10,"thr":0.5,"lo":{"leaf":-0.007153292906431751},"hi":{"leaf":0.09607915601994031}}},"hi":{"f":16,"thr":0.04501564293592023,"lo":{"f":16,"thr":0.022507821467960116,"lo":{"leaf":0.06432904762857587},"hi":{"leaf":0.0630531985748374}},"hi":{"leaf":0.05630980492967884}}},{"f":9,"thr":0.5,"lo":{"f":6,"thr":0.5,"lo":{"f":10,"thr":0.5,"lo":{"leaf":-0.06098937478601995},"hi":{"leaf":0.004221976134061109}},"hi":{"f":13,"thr":0.5,"lo":{"leaf":0.06131593186871239},"hi":{"leaf":0.11336933649225696}}},"hi":{"f":16,"thr":0.04501564293592023,"lo":{"f":16,"thr":0.022507821467960116,"lo":{"leaf":0.06317480560093418},"hi":{"leaf":0.06189801583995394}},"hi":{"leaf":0.055193553836014486}}},{"f":9,"thr":0.5,"lo":{"f":0,"thr":0.5,"lo":{"f":10,"thr":0.5,"lo":{"leaf":-0.06046672247042687},"hi":{"leaf":-0.021660161166844112}},"hi":{"f":10,"thr":0.5,"lo":{"leaf":-0.006453763140015022},"hi":{"leaf":0.0924934800052248}}},"hi":{"f":16,"thr":0.04501564293592023,"lo":{"f":16,"thr":0.022507821467960116,"lo":{"leaf":0.06206005080437765},"hi":{"leaf":0.060782347897249}},"hi":{"leaf":0.054115034342884914}}},{"f":8,"thr":0.5,"lo":{"f":13,"thr":0.5,"lo":{"f":4,"thr":0.5,"lo":{"leaf":0.06094333223876074},"hi":{"leaf":0.11690689171143805}},"hi":{"f":6,"thr":0.5,"lo":{"leaf":-0.08669104220125287},"hi":{"leaf":0.10957532619763372}}},"hi":{"f":9,"thr":0.5,"lo":{"f":10,"thr":0.5,"lo":{"leaf":-0.05881927658851252},"hi":{"leaf":-0.011570987412728191}},"hi":{"f":16,"thr":0.022507821467960116,"lo":{"leaf":0.0585328226071689},"hi":{"leaf":0.03705487734544693}}}},{"f":9,"thr":0.5,"lo":{"f":0,"thr":0.5,"lo":{"f":10,"thr":0.5,"lo":{"leaf":-0.05831695993871591},"hi":{"leaf":-0.020215954776965483}},"hi":{"f":10,"thr":0.5,"lo":{"leaf":-0.0060493667946706995},"hi":{"leaf":0.08872654400914766}}},"hi":{"f":16,"thr":0.04501564293592023,"lo":{"f":16,"thr":0.022507821467960116,"lo":{"leaf":0.05993901197770781},"hi":{"leaf":0.05865305031257765}},"hi":{"leaf":0.051918238071577645}}},{"f":8,"thr":0.5,"lo":{"f":13,"thr":0.5,"lo":{"f":4,"thr":0.5,"lo":{"leaf":0.05887919749703268},"hi":{"leaf":0.11233522016292727}},"hi":{"f":6,"thr":0.5,"lo":{"leaf":-0.08390848833544978},"hi":{"leaf":0.10598523702211543}}},"hi":{"f":9,"thr":0.5,"lo":{"f":10,"thr":0.5,"lo":{"leaf":-0.05676006797321548},"hi":{"leaf":-0.010574790394014627}},"hi":{"f":16,"thr":0.022507821467960116,"lo":{"leaf":0.05651952653579236},"hi":{"leaf":0.03533795856000849}}}},{"f":9,"thr":0.5,"lo":{"f":6,"thr":0.5,"lo":{"f":10,"thr":0.5,"lo":{"leaf":-0.05574490519981293},"hi":{"leaf":0.004694256573378142}},"hi":{"f":13,"thr":0.5,"lo":{"leaf":0.056626369638717276},"hi":{"leaf":0.10239399052287998}}},"hi":{"f":16,"thr":0.04501564293592023,"lo":{"f":16,"thr":0.022507821467960116,"lo":{"leaf":0.05795473744707533},"hi":{"leaf":0.056661112751707064}},"hi":{"leaf":0.04986427025456949}}},{"f":8,"thr":0.5,"lo":{"f":13,"thr":0.5,"lo":{"f":4,"thr":0.5,"lo":{"leaf":0.05695766847962897},"hi":{"leaf":0.10870815765296864}},"hi":{"f":6,"thr":0.5,"lo":{"leaf":-0.08022687603146365},"hi":{"leaf":0.09900417765548768}}},"hi":{"f":9,"thr":0.5,"lo":{"f":10,"thr":0.5,"lo":{"leaf":-0.05481169257797267},"hi":{"leaf":-0.010293406367265194}},"hi":{"f":16,"thr":0.022507821467960116,"lo":{"leaf":0.0546331679899861},"hi":{"leaf":0.03372790715583692}}}},{"f":9,"thr":0.5,"lo":{"f":0,"thr":0.5,"lo":{"f":8,"thr":0.5,"lo":{"leaf":0.05798258437459517},"hi":{"leaf":-0.053054578342275435}},"hi":{"f":10,"thr":0.5,"lo":{"leaf":-0.004997640001633651},"hi":{"leaf":0.08343050555305616}}},"hi":{"f":16,"thr":0.04501564293592023,"lo":{"f":16,"thr":0.022507821467960116,"lo":{"leaf":0.056094413515689355},"hi":{"leaf":0.05479363973159031}},"hi":{"leaf":0.04793966784129099}}},{"f":9,"thr":0.5,"lo":{"f":0,"thr":0.5,"lo":{"f":10,"thr":0.5,"lo":{"leaf":-0.05356302150613783},"hi":{"leaf":-0.016449663016729576}},"hi":{"f":10,"thr":0.5,"lo":{"leaf":-0.0048804581511836835},"hi":{"leaf":0.0811432579730154}}},"hi":{"f":16,"thr":0.04501564293592023,"lo":{"f":16,"thr":0.022507821467960116,"lo":{"leaf":0.055207922602644274},"hi":{"leaf":0.053906966548035035}},"hi":{"leaf":0.047091905068834566}}},{"f":9,"thr":0.5,"lo":{"f":6,"thr":0.5,"lo":{"f":10,"thr":0.5,"lo":{"leaf":-0.05216004347923016},"hi":{"leaf":0.006062159705144117}},"hi":{"f":13,"thr":0.5,"lo":{"leaf":0.0534104427123879},"hi":{"leaf":0.09611655279876646}}},"hi":{"f":3,"thr":0.5,"lo":{"f":16,"thr":0.022507821467960116,"lo":{"leaf":0.05253495927043303},"hi":{"leaf":0.03468336973313705}},"hi":{"f":16,"thr":0.04501564293592023,"lo":{"leaf":0.0541694962470099},"hi":{"leaf":0.05740370431575557}}}},{"f":8,"thr":0.5,"lo":{"f":13,"thr":0.5,"lo":{"f":4,"thr":0.5,"lo":{"leaf":0.053458278729406825},"hi":{"leaf":0.10257965276705643}},"hi":{"f":6,"thr":0.5,"lo":{"leaf":-0.07666920710056363},"hi":{"leaf":0.09306722380554736}}},"hi":{"f":9,"thr":0.5,"lo":{"f":10,"thr":0.5,"lo":{"leaf":-0.05132116059122785},"hi":{"leaf":-0.007938541315082577}},"hi":{"f":16,"thr":0.022507821467960116,"lo":{"leaf":0.05118244561967595},"hi":{"leaf":0.03064596991221257}}}},{"f":8,"thr":0.5,"lo":{"f":13,"thr":0.5,"lo":{"f":4,"thr":0.5,"lo":{"leaf":0.0526255651907039},"hi":{"leaf":0.10008209762495804}},"hi":{"f":6,"thr":0.5,"lo":{"leaf":-0.07476629883159173},"hi":{"leaf":0.0901778453176698}}},"hi":{"f":9,"thr":0.5,"lo":{"f":10,"thr":0.5,"lo":{"leaf":-0.05049853009363315},"hi":{"leaf":-0.007562906046120496}},"hi":{"f":16,"thr":0.022507821467960116,"lo":{"leaf":0.050404206642799265},"hi":{"leaf":0.030139691710122894}}}},{"f":9,"thr":0.5,"lo":{"f":0,"thr":0.5,"lo":{"f":8,"thr":0.5,"lo":{"leaf":0.056574938699106916},"hi":{"leaf":-0.048876524797671676}},"hi":{"f":10,"thr":0.5,"lo":{"leaf":-0.003962482685958859},"hi":{"leaf":0.07643381455841906}}},"hi":{"f":16,"thr":0.04501564293592023,"lo":{"f":16,"thr":0.022507821467960116,"lo":{"leaf":0.05192161723619451},"hi":{"leaf":0.05061029611804109}},"hi":{"leaf":0.04351913001785608}}},{"f":9,"thr":0.5,"lo":{"f":0,"thr":0.5,"lo":{"f":10,"thr":0.5,"lo":{"leaf":-0.049488787861813446},"hi":{"leaf":-0.013380229564633793}},"hi":{"f":10,"thr":0.5,"lo":{"leaf":-0.0038730949568539256},"hi":{"leaf":0.0743923334274174}}},"hi":{"f":16,"thr":0.04501564293592023,"lo":{"f":16,"thr":0.022507821467960116,"lo":{"leaf":0.05115822508077254},"hi":{"leaf":0.04984699534794297}},"hi":{"leaf":0.04279950933390339}}},{"f":9,"thr":0.5,"lo":{"f":6,"thr":0.5,"lo":{"f":10,"thr":0.5,"lo":{"leaf":-0.04823290624130746},"hi":{"leaf":0.007102598582782846}},"hi":{"f":10,"thr":0.5,"lo":{"leaf":0.06746228274264822},"hi":{"leaf":0.0431671176391922}}},"hi":{"f":16,"thr":0.04501564293592023,"lo":{"f":16,"thr":0.022507821467960116,"lo":{"leaf":0.050416421640485945},"hi":{"leaf":0.049105272337469065}},"hi":{"leaf":0.04209983869289103}}},{"f":8,"thr":0.5,"lo":{"f":13,"thr":0.5,"lo":{"f":4,"thr":0.5,"lo":{"leaf":0.049608194692516185},"hi":{"leaf":0.09465261289083118}},"hi":{"f":6,"thr":0.5,"lo":{"leaf":-0.07166722595232744},"hi":{"leaf":0.08565542902375671}}},"hi":{"f":9,"thr":0.5,"lo":{"f":10,"thr":0.5,"lo":{"leaf":-0.0474894683019091},"hi":{"leaf":-0.00568133921492381}},"hi":{"f":16,"thr":0.022507821467960116,"lo":{"leaf":0.04740790358860198},"hi":{"leaf":0.0272808448046252}}}},{"f":9,"thr":0.5,"lo":{"f":0,"thr":0.5,"lo":{"f":10,"thr":0.5,"lo":{"leaf":-0.04729268742691315},"hi":{"leaf":-0.012936584644596134}},"hi":{"f":10,"thr":0.5,"lo":{"leaf":-0.00325648283021754},"hi":{"leaf":0.07104513732182781}}},"hi":{"f":16,"thr":0.04501564293592023,"lo":{"f":16,"thr":0.022507821467960116,"lo":{"leaf":0.048993727729049204},"hi":{"leaf":0.047676907926917436}},"hi":{"leaf":0.040630622525060195}}},{"f":8,"thr":0.5,"lo":{"f":13,"thr":0.5,"lo":{"f":4,"thr":0.5,"lo":{"leaf":0.04821002600011836},"hi":{"leaf":0.09140510594826987}},"hi":{"f":6,"thr":0.5,"lo":{"leaf":-0.06970700234115512},"hi":{"leaf":0.08323433251800033}}},"hi":{"f":9,"thr":0.5,"lo":{"f":10,"thr":0.5,"lo":{"leaf":-0.04609782651280585},"hi":{"leaf":-0.005237613882886011}},"hi":{"f":16,"thr":0.022507821467960116,"lo":{"leaf":0.046047618022478},"hi":{"leaf":0.02612552804583549}}}},{"f":9,"thr":0.5,"lo":{"f":0,"thr":0.5,"lo":{"f":10,"thr":0.5,"lo":{"leaf":-0.0459265731103697},"hi":{"leaf":-0.012198311865634427}},"hi":{"f":10,"thr":0.5,"lo":{"leaf":-0.00302774582468699},"hi":{"leaf":0.06838107019242218}}},"hi":{"f":16,"thr":0.04501564293592023,"lo":{"f":16,"thr":0.022507821467960116,"lo":{"leaf":0.04764768627839069},"hi":{"leaf":0.04632557527765869}},"hi":{"leaf":0.03924139155067777}}},{"f":9,"thr":0.5,"lo":{"f":6,"thr":0.5,"lo":{"f":10,"thr":0.5,"lo":{"leaf":-0.044793180312449075},"hi":{"leaf":0.006600035036910873}},"hi":{"f":10,"thr":0.5,"lo":{"leaf":0.06384787703105435},"hi":{"leaf":0.03976223366573302}}},"hi":{"f":16,"thr":0.04501564293592023,"lo":{"f":16,"thr":0.022507821467960116,"lo":{"leaf":0.04700141237281542},"hi":{"leaf":0.045679638949392753}},"hi":{"leaf":0.03863658075795641}}},{"f":8,"thr":0.5,"lo":{"f":13,"thr":0.5,"lo":{"f":4,"thr":0.5,"lo":{"leaf":0.04627025940659913},"hi":{"leaf":0.08786291702395652}},"hi":{"f":6,"thr":0.5,"lo":{"leaf":-0.06682466219077754},"hi":{"leaf":0.07911266161959633}}},"hi":{"f":9,"thr":0.5,"lo":{"f":10,"thr":0.5,"lo":{"leaf":-0.044139424420868184},"hi":{"leaf":-0.005145345648865881}},"hi":{"f":16,"thr":0.022507821467960116,"lo":{"leaf":0.04412497047083713},"hi":{"leaf":0.024354732385449933}}}},{"f":9,"thr":0.5,"lo":{"f":0,"thr":0.5,"lo":{"f":8,"thr":0.5,"lo":{"leaf":0.057402851377268777},"hi":{"leaf":-0.04276797789116626}},"hi":{"f":13,"thr":0.5,"lo":{"leaf":0.045407327576170574},"hi":{"leaf":-0.021827969178927337}}},"hi":{"f":16,"thr":0.04501564293592023,"lo":{"f":16,"thr":0.022507821467960116,"lo":{"leaf":0.04575907620627499},"hi":{"leaf":0.0444324213858613}},"hi":{"leaf":0.0373531604607242}}},{"f":9,"thr":0.5,"lo":{"f":6,"thr":0.5,"lo":{"f":10,"thr":0.5,"lo":{"leaf":-0.04296567445491561},"hi":{"leaf":0.007509514585164192}},"hi":{"f":10,"thr":0.5,"lo":{"leaf":0.06111344379498894},"hi":{"leaf":0.038188672074355424}}},"hi":{"f":16,"thr":0.04501564293592023,"lo":{"f":16,"thr":0.022507821467960116,"lo":{"leaf":0.04516162737344826},"hi":{"leaf":0.043835403077677165}},"hi":{"leaf":0.03679611264210455}}},{"f":8,"thr":0.5,"lo":{"f":13,"thr":0.5,"lo":{"f":4,"thr":0.5,"lo":{"leaf":0.044453105092881556},"hi":{"leaf":0.08445192971838601}},"hi":{"f":6,"thr":0.5,"lo":{"leaf":-0.06421882717948545},"hi":{"leaf":0.0758288570002387}}},"hi":{"f":9,"thr":0.5,"lo":{"f":10,"thr":0.5,"lo":{"leaf":-0.04234696902784063},"hi":{"leaf":-0.003719263359647659}},"hi":{"f":16,"thr":0.022507821467960116,"lo":{"leaf":0.04234744023265766},"hi":{"leaf":0.022718362208744982}}}},{"f":9,"thr":0.5,"lo":{"f":0,"thr":0.5,"lo":{"f":8,"thr":0.5,"lo":{"leaf":0.05536236140763089},"hi":{"leaf":-0.04101513974791465}},"hi":{"f":10,"thr":0.5,"lo":{"leaf":-0.0022362327613452758},"hi":{"leaf":0.06305833186028383}}},"hi":{"f":16,"thr":0.04501564293592023,"lo":{"f":16,"thr":0.022507821467960116,"lo":{"leaf":0.04401191023920349},"hi":{"leaf":0.042681185581646616}},"hi":{"leaf":0.035607311683966844}}},{"f":9,"thr":0.5,"lo":{"f":0,"thr":0.5,"lo":{"f":10,"thr":0.5,"lo":{"leaf":-0.04173087269361967},"hi":{"leaf":-0.00856890055228902}},"hi":{"f":10,"thr":0.5,"lo":{"leaf":-0.002189779395396188},"hi":{"leaf":0.06145401422949546}}},"hi":{"f":16,"thr":0.04501564293592023,"lo":{"f":16,"thr":0.022507821467960116,"lo":{"leaf":0.043458015371687454},"hi":{"leaf":0.04212779865694535}},"hi":{"leaf":0.0350928205557853}}},{"f":9,"thr":0.5,"lo":{"f":6,"thr":0.5,"lo":{"f":10,"thr":0.5,"lo":{"leaf":-0.040732829989590734},"hi":{"leaf":0.007931473089018993}},"hi":{"f":10,"thr":0.5,"lo":{"leaf":0.05904294328019249},"hi":{"leaf":0.03589085141133767}}},"hi":{"f":16,"thr":0.04501564293592023,"lo":{"f":16,"thr":0.022507821467960116,"lo":{"leaf":0.042917602439344824},"hi":{"leaf":0.04158787318975661}},"hi":{"leaf":0.034590574562732394}}},{"f":9,"thr":0.5,"lo":{"f":6,"thr":0.5,"lo":{"f":10,"thr":0.5,"lo":{"leaf":-0.04018267083431045},"hi":{"leaf":0.007552941569033936}},"hi":{"f":10,"thr":0.5,"lo":{"leaf":0.0579796113177072},"hi":{"leaf":0.035497309466925274}}},"hi":{"f":16,"thr":0.04501564293592023,"lo":{"f":16,"thr":0.022507821467960116,"lo":{"leaf":0.042390191652545754},"hi":{"leaf":0.041060930597629594}},"hi":{"leaf":0.03410015197503551}}},{"f":8,"thr":0.5,"lo":{"f":13,"thr":0.5,"lo":{"f":4,"thr":0.5,"lo":{"leaf":0.04175211148174695},"hi":{"leaf":0.07995422206106904}},"hi":{"f":6,"thr":0.5,"lo":{"leaf":-0.061067161411788536},"hi":{"leaf":0.07079109980922983}}},"hi":{"f":9,"thr":0.5,"lo":{"f":10,"thr":0.5,"lo":{"leaf":-0.03963391272641664},"hi":{"leaf":-0.0028783677652858223}},"hi":{"f":16,"thr":0.022507821467960116,"lo":{"leaf":0.03964785609877958},"hi":{"leaf":0.020069580867173267}}}},{"f":8,"thr":0.5,"lo":{"f":13,"thr":0.5,"lo":{"f":4,"thr":0.5,"lo":{"leaf":0.04123053549266073},"hi":{"leaf":0.07828384080636762}},"hi":{"f":6,"thr":0.5,"lo":{"leaf":-0.05978472612550979},"hi":{"leaf":0.06895688965264807}}},"hi":{"f":9,"thr":0.5,"lo":{"f":10,"thr":0.5,"lo":{"leaf":-0.03912179811967359},"hi":{"leaf":-0.0027452765521870713}},"hi":{"f":16,"thr":0.022507821467960116,"lo":{"leaf":0.0391674599990629},"hi":{"leaf":0.019794295721785492}}}},{"f":9,"thr":0.5,"lo":{"f":0,"thr":0.5,"lo":{"f":8,"thr":0.5,"lo":{"leaf":0.054319625651630336},"hi":{"leaf":-0.03793758412722664}},"hi":{"f":13,"thr":0.5,"lo":{"leaf":0.04038739672078875},"hi":{"leaf":-0.018208152141635226}}},"hi":{"f":16,"thr":0.04501564293592023,"lo":{"f":16,"thr":0.022507821467960116,"lo":{"leaf":0.04088295885017538},"hi":{"leaf":0.0395452442752847}},"hi":{"leaf":0.032481357761561434}}},{"f":9,"thr":0.5,"lo":{"f":0,"thr":0.5,"lo":{"f":10,"thr":0.5,"lo":{"leaf":-0.03865592224391924},"hi":{"leaf":-0.007221131653860837}},"hi":{"f":10,"thr":0.5,"lo":{"leaf":-0.001516288409475536},"hi":{"leaf":0.056760997458442736}}},"hi":{"f":16,"thr":0.04501564293592023,"lo":{"f":16,"thr":0.022507821467960116,"lo":{"leaf":0.04040315268488667},"hi":{"leaf":0.039066065490964724}},"hi":{"leaf":0.03203917956506372}}},{"f":9,"thr":0.5,"lo":{"f":6,"thr":0.5,"lo":{"f":10,"thr":0.5,"lo":{"leaf":-0.037735768109911},"hi":{"leaf":0.007896819086944533}},"hi":{"f":10,"thr":0.5,"lo":{"leaf":0.05485744107423728},"hi":{"leaf":0.033238768256072464}}},"hi":{"f":16,"thr":0.04501564293592023,"lo":{"f":16,"thr":0.022507821467960116,"lo":{"leaf":0.03993426065645974},"hi":{"leaf":0.03859777892440154}},"hi":{"leaf":0.03160682475310467}}},{"f":9,"thr":0.5,"lo":{"f":0,"thr":0.5,"lo":{"f":10,"thr":0.5,"lo":{"leaf":-0.037708631925663844},"hi":{"leaf":-0.007257759606639014}},"hi":{"f":13,"thr":0.5,"lo":{"leaf":0.0385325311198513},"hi":{"leaf":-0.01741834537667303}}},"hi":{"f":3,"thr":0.5,"lo":{"f":16,"thr":0.022507821467960116,"lo":{"leaf":0.03750022143466911},"hi":{"leaf":0.019729057559495406}},"hi":{"f":16,"thr":0.04501564293592023,"lo":{"leaf":0.03930181357393943},"hi":{"leaf":0.04232269550590869}}}},{"f":9,"thr":0.5,"lo":{"f":6,"thr":0.5,"lo":{"f":10,"thr":0.5,"lo":{"leaf":-0.03681916086744116},"hi":{"leaf":0.007486756585736893}},"hi":{"f":10,"thr":0.5,"lo":{"leaf":0.05363668638875007},"hi":{"leaf":0.03253741949811035}}},"hi":{"f":16,"thr":0.04501564293592023,"lo":{"f":16,"thr":0.022507821467960116,"lo":{"leaf":0.039031152108427135},"hi":{"leaf":0.037697666482713534}},"hi":{"leaf":0.030639910131977456}}},{"f":8,"thr":0.5,"lo":{"f":13,"thr":0.5,"lo":{"f":4,"thr":0.5,"lo":{"leaf":0.038431680004498384},"hi":{"leaf":0.07376498207032155}},"hi":{"f":6,"thr":0.5,"lo":{"leaf":-0.05634522225582426},"hi":{"leaf":0.06541363390634283}}},"hi":{"f":9,"thr":0.5,"lo":{"f":10,"thr":0.5,"lo":{"leaf":-0.036334549536933984},"hi":{"leaf":-0.0019126596564973438}},"hi":{"f":16,"thr":0.022507821467960116,"lo":{"leaf":0.03639853995518442},"hi":{"leaf":0.017165442646926325}}}},{"f":9,"thr":0.5,"lo":{"f":0,"thr":0.5,"lo":{"f":8,"thr":0.5,"lo":{"leaf":0.054714781030909494},"hi":{"leaf":-0.03524583941514106}},"hi":{"f":10,"thr":0.5,"lo":{"leaf":-0.0010339662149549177},"hi":{"leaf":0.053061823189529914}}},"hi":{"f":16,"thr":0.04501564293592023,"lo":{"f":16,"thr":0.022507821467960116,"lo":{"leaf":0.03816513932441488},"hi":{"leaf":0.0368281090420733}},"hi":{"leaf":0.029742345370558494}}},{"f":9,"thr":0.5,"lo":{"f":6,"thr":0.5,"lo":{"f":10,"thr":0.5,"lo":{"leaf":-0.035537165650863296},"hi":{"leaf":0.00787095948054542}},"hi":{"f":10,"thr":0.5,"lo":{"leaf":0.05195802427079674},"hi":{"leaf":0.03130345664009076}}},"hi":{"f":16,"thr":0.04501564293592023,"lo":{"f":16,"thr":0.022507821467960116,"lo":{"leaf":0.03774557438413492},"hi":{"leaf":0.03640911789491478}},"hi":{"leaf":0.02935939123541676}}},{"f":9,"thr":0.5,"lo":{"f":0,"thr":0.5,"lo":{"f":10,"thr":0.5,"lo":{"leaf":-0.03555090091488244},"hi":{"leaf":-0.006171044154055035}},"hi":{"f":13,"thr":0.5,"lo":{"leaf":0.036162165699236304},"hi":{"leaf":-0.015836081449835223}}},"hi":{"f":16,"thr":0.04501564293592023,"lo":{"f":16,"thr":0.022507821467960116,"lo":{"leaf":0.037334965855264024},"hi":{"leaf":0.03599906518311928}},"hi":{"leaf":0.02898440678971587}}},{"f":9,"thr":0.5,"lo":{"f":6,"thr":0.5,"lo":{"f":10,"thr":0.5,"lo":{"leaf":-0.03471517625368717},"hi":{"leaf":0.007438227987888098}},"hi":{"f":10,"thr":0.5,"lo":{"leaf":0.05085453544038464},"hi":{"leaf":0.0306783429459475}}},"hi":{"f":16,"thr":0.04501564293592023,"lo":{"f":16,"thr":0.022507821467960116,"lo":{"leaf":0.03693303324728507},"hi":{"leaf":0.03559767130069648}},"hi":{"leaf":0.02861715207347646}}},{"f":8,"thr":0.5,"lo":{"f":13,"thr":0.5,"lo":{"f":4,"thr":0.5,"lo":{"leaf":0.0363696997881525},"hi":{"leaf":0.07025842143416754}},"hi":{"f":6,"thr":0.5,"lo":{"leaf":-0.053665306180751625},"hi":{"leaf":0.061725734109432495}}},"hi":{"f":9,"thr":0.5,"lo":{"f":10,"thr":0.5,"lo":{"leaf":-0.03427404212133642},"hi":{"leaf":-0.001331405717083566}},"hi":{"f":16,"thr":0.022507821467960116,"lo":{"leaf":0.0343460515311101},"hi":{"leaf":0.015141961222628312}}}},{"f":9,"thr":0.5,"lo":{"f":0,"thr":0.5,"lo":{"f":8,"thr":0.5,"lo":{"leaf":0.05410507800961359},"hi":{"leaf":-0.03326621323336134}},"hi":{"f":10,"thr":0.5,"lo":{"leaf":-0.0005986764142510279},"hi":{"leaf":0.04963760028112622}}},"hi":{"f":16,"thr":0.04501564293592023,"lo":{"f":16,"thr":0.022507821467960116,"lo":{"leaf":0.03615536804864329},"hi":{"leaf":0.03481680010344831}},"hi":{"leaf":0.027808030408923812}}},{"f":9,"thr":0.5,"lo":{"f":6,"thr":0.5,"lo":{"f":10,"thr":0.5,"lo":{"leaf":-0.03356315117637197},"hi":{"leaf":0.007757998996123554}},"hi":{"f":10,"thr":0.5,"lo":{"leaf":0.04932642588812097},"hi":{"leaf":0.029574414850695084}}},"hi":{"f":16,"thr":0.04501564293592023,"lo":{"f":16,"thr":0.022507821467960116,"lo":{"leaf":0.03577786722463027},"hi":{"leaf":0.03443987909242646}},"hi":{"leaf":0.027464548795639417}}},{"f":9,"thr":0.5,"lo":{"f":0,"thr":0.5,"lo":{"f":8,"thr":0.5,"lo":{"leaf":0.05281110868160267},"hi":{"leaf":-0.03249888542663882}},"hi":{"f":13,"thr":0.5,"lo":{"leaf":0.03397789149797222},"hi":{"leaf":-0.014409042187314605}}},"hi":{"f":3,"thr":0.5,"lo":{"f":16,"thr":0.022507821467960116,"lo":{"leaf":0.03343428876668896},"hi":{"leaf":0.015727465860402176}},"hi":{"f":16,"thr":0.04501564293592023,"lo":{"leaf":0.035232739021193504},"hi":{"leaf":0.03826016314500961}}}},{"f":9,"thr":0.5,"lo":{"f":6,"thr":0.5,"lo":{"f":10,"thr":0.5,"lo":{"leaf":-0.03284401822424191},"hi":{"leaf":0.008288002697330312}},"hi":{"f":10,"thr":0.5,"lo":{"leaf":0.04830059898857422},"hi":{"leaf":0.028980275762988075}}},"hi":{"f":16,"thr":0.04501564293592023,"lo":{"f":16,"thr":0.022507821467960116,"lo":{"leaf":0.03504868018705379},"hi":{"leaf":0.03371356235389545}},"hi":{"leaf":0.026678285156772494}}},{"f":9,"thr":0.5,"lo":{"f":0,"thr":0.5,"lo":{"f":10,"thr":0.5,"lo":{"leaf":-0.03290172442039832},"hi":{"leaf":-0.004293039650133793}},"hi":{"f":13,"thr":0.5,"lo":{"leaf":0.03309016738598244},"hi":{"leaf":-0.013826427929193728}}},"hi":{"f":16,"thr":0.04501564293592023,"lo":{"f":16,"thr":0.022507821467960116,"lo":{"leaf":0.03469343412349374},"hi":{"leaf":0.03335881465345999}},"hi":{"leaf":0.026356951134711905}}},{"f":9,"thr":0.5,"lo":{"f":6,"thr":0.5,"lo":{"f":10,"thr":0.5,"lo":{"leaf":-0.03213140657050937},"hi":{"leaf":0.007787787247226308}},"hi":{"f":10,"thr":0.5,"lo":{"leaf":0.04733915382277062},"hi":{"leaf":0.028442448186899116}}},"hi":{"f":16,"thr":0.04501564293592023,"lo":{"f":16,"thr":0.022507821467960116,"lo":{"leaf":0.03434519452620014},"hi":{"leaf":0.033011059906753404}},"hi":{"leaf":0.02604179358805877}}},{"f":8,"thr":0.5,"lo":{"f":13,"thr":0.5,"lo":{"f":5,"thr":0.5,"lo":{"leaf":0.03453229635240134},"hi":{"leaf":0.01752446481745153}},"hi":{"f":6,"thr":0.5,"lo":{"leaf":-0.050621465446333946},"hi":{"leaf":0.0575651575129236}}},"hi":{"f":9,"thr":0.5,"lo":{"f":10,"thr":0.5,"lo":{"leaf":-0.03173529408429826},"hi":{"leaf":-0.00017987155636409185}},"hi":{"f":16,"thr":0.022507821467960116,"lo":{"leaf":0.0318150639057536},"hi":{"leaf":0.012697935484903387}}}},{"f":9,"thr":0.5,"lo":{"f":0,"thr":0.5,"lo":{"f":8,"thr":0.5,"lo":{"leaf":0.05231849274744706},"hi":{"leaf":-0.030791543118125313}},"hi":{"f":10,"thr":0.5,"lo":{"leaf":-0.00010424046082829637},"hi":{"leaf":0.04543442801364857}}},"hi":{"f":16,"thr":0.04501564293592023,"lo":{"f":16,"thr":0.022507821467960116,"lo":{"leaf":0.03366898535575827},"hi":{"leaf":0.03233450589507449}},"hi":{"leaf":0.02533746372135981}}},{"f":9,"thr":0.5,"lo":{"f":6,"thr":0.5,"lo":{"f":10,"thr":0.5,"lo":{"leaf":-0.031128112113552285},"hi":{"leaf":0.008047253888317566}},"hi":{"f":10,"thr":0.5,"lo":{"leaf":0.04598286505544039},"hi":{"leaf":0.027484111869734703}}},"hi":{"f":16,"thr":0.04501564293592023,"lo":{"f":16,"thr":0.022507821467960116,"lo":{"leaf":0.03334057603483418},"hi":{"leaf":0.03200657011912997}},"hi":{"leaf":0.02504154227945399}}},{"f":9,"thr":0.5,"lo":{"f":0,"thr":0.5,"lo":{"f":10,"thr":0.5,"lo":{"leaf":-0.031217113364308154},"hi":{"leaf":-0.0036067797581828677}},"hi":{"f":13,"thr":0.5,"lo":{"leaf":0.031208374619115894},"hi":{"leaf":-0.012582567126911259}}},"hi":{"f":16,"thr":0.04501564293592023,"lo":{"f":16,"thr":0.022507821467960116,"lo":{"leaf":0.03301840566402257},"hi":{"leaf":0.03168486132862022}},"hi":{"leaf":0.02475110118386999}}},{"f":9,"thr":0.5,"lo":{"f":6,"thr":0.5,"lo":{"f":10,"thr":0.5,"lo":{"leaf":-0.03048120879896971},"hi":{"leaf":0.0075473188626798806}},"hi":{"f":10,"thr":0.5,"lo":{"leaf":0.045104974238353315},"hi":{"leaf":0.02699878923925504}}},"hi":{"f":16,"thr":0.04501564293592023,"lo":{"f":16,"thr":0.022507821467960116,"lo":{"leaf":0.032702299906176756},"hi":{"leaf":0.03136920571548488}},"hi":{"leaf":0.024465993817212515}}},{"f":8,"thr":0.5,"lo":{"f":13,"thr":0.5,"lo":{"f":5,"thr":0.5,"lo":{"leaf":0.032908350884904986},"hi":{"leaf":0.015902483781473447}},"hi":{"f":6,"thr":0.5,"lo":{"leaf":-0.04846824831869716},"hi":{"leaf":0.05450694269232225}}},"hi":{"f":9,"thr":0.5,"lo":{"f":10,"thr":0.5,"lo":{"leaf":-0.0301179158442602},"hi":{"leaf":0.00006923064239256075}},"hi":{"f":16,"thr":0.022507821467960116,"lo":{"leaf":0.030204678851253285},"hi":{"leaf":0.011113048309569308}}}},{"f":8,"thr":0.5,"lo":{"f":13,"thr":0.5,"lo":{"f":5,"thr":0.5,"lo":{"leaf":0.03258708551248546},"hi":{"leaf":0.015635311292897976}},"hi":{"f":6,"thr":0.5,"lo":{"leaf":-0.04760540997944417},"hi":{"leaf":0.05331001922676297}}},"hi":{"f":9,"thr":0.5,"lo":{"f":10,"thr":0.5,"lo":{"leaf":-0.02980697012579217},"hi":{"leaf":0.00006608322499061823}},"hi":{"f":16,"thr":0.022507821467960116,"lo":{"leaf":0.02991704371180352},"hi":{"leaf":0.010987645301599512}}}},{"f":9,"thr":0.5,"lo":{"f":0,"thr":0.5,"lo":{"f":8,"thr":0.5,"lo":{"leaf":0.05139950759522525},"hi":{"leaf":-0.028958793050342022}},"hi":{"f":10,"thr":0.5,"lo":{"leaf":0.00038362284981231716},"hi":{"leaf":0.042271390955580794}}},"hi":{"f":16,"thr":0.04501564293592023,"lo":{"f":16,"thr":0.022507821467960116,"lo":{"leaf":0.03178922079512213},"hi":{"leaf":0.03045513312305214}},"hi":{"leaf":0.023467807045057645}}},{"f":9,"thr":0.5,"lo":{"f":0,"thr":0.5,"lo":{"f":10,"thr":0.5,"lo":{"leaf":-0.0296894949322563},"hi":{"leaf":-0.0027149665543531945}},"hi":{"f":13,"thr":0.5,"lo":{"leaf":0.02929612658794661},"hi":{"leaf":-0.011378235323613577}}},"hi":{"f":16,"thr":0.04501564293592023,"lo":{"f":16,"thr":0.022507821467960116,"lo":{"leaf":0.031495744642829906},"hi":{"leaf":0.030162109717347358}},"hi":{"leaf":0.023205731707037363}}},{"f":9,"thr":0.5,"lo":{"f":6,"thr":0.5,"lo":{"f":10,"thr":0.5,"lo":{"leaf":-0.028989557755353522},"hi":{"leaf":0.007521232868781803}},"hi":{"f":10,"thr":0.5,"lo":{"leaf":0.043105116233653255},"hi":{"leaf":0.025643134602750247}}},"hi":{"f":16,"thr":0.04501564293592023,"lo":{"f":16,"thr":0.022507821467960116,"lo":{"leaf":0.031207551897895907},"hi":{"leaf":0.02987435935911103}},"hi":{"leaf":0.02294825180825262}}},{"f":9,"thr":0.5,"lo":{"f":6,"thr":0.5,"lo":{"f":10,"thr":0.5,"lo":{"leaf":-0.02869086061366962},"hi":{"leaf":0.007169739717251057}},"hi":{"f":10,"thr":0.5,"lo":{"leaf":0.042507488062961354},"hi":{"leaf":0.025434923683397195}}},"hi":{"f":16,"thr":0.04501564293592023,"lo":{"f":16,"thr":0.022507821467960116,"lo":{"leaf":0.03092450250127585},"hi":{"leaf":0.029591742422686255}},"hi":{"leaf":0.022695251081958932}}},{"f":8,"thr":0.5,"lo":{"f":13,"thr":0.5,"lo":{"f":5,"thr":0.5,"lo":{"leaf":0.031134290587943064},"hi":{"leaf":0.014171398471974139}},"hi":{"f":6,"thr":0.5,"lo":{"leaf":-0.045689681803008066},"hi":{"leaf":0.050564815176626914}}},"hi":{"f":9,"thr":0.5,"lo":{"f":10,"thr":0.5,"lo":{"leaf":-0.028360226294025796},"hi":{"leaf":0.00025774302272861787}},"hi":{"f":16,"thr":0.022507821467960116,"lo":{"leaf":0.02847572094059966},"hi":{"leaf":0.009564744634925272}}}},{"f":9,"thr":0.5,"lo":{"f":0,"thr":0.5,"lo":{"f":8,"thr":0.5,"lo":{"leaf":0.05081563812299688},"hi":{"leaf":-0.02757240593820319}},"hi":{"f":10,"thr":0.5,"lo":{"leaf":0.0007264807725599438},"hi":{"leaf":0.039695034487550344}}},"hi":{"f":16,"thr":0.04501564293592023,"lo":{"f":16,"thr":0.022507821467960116,"lo":{"leaf":0.03037372404754247},"hi":{"leaf":0.029040768430883702}},"hi":{"leaf":0.02211865653683986}}},{"f":9,"thr":0.5,"lo":{"f":0,"thr":0.5,"lo":{"f":13,"thr":0.5,"lo":{"leaf":-0.017787209753573594},"hi":{"leaf":-0.030903361908652605}},"hi":{"f":13,"thr":0.5,"lo":{"leaf":0.027691288838190477},"hi":{"leaf":-0.010344706288786113}}},"hi":{"f":16,"thr":0.04501564293592023,"lo":{"f":16,"thr":0.022507821467960116,"lo":{"leaf":0.03010530468630005},"hi":{"leaf":0.0287727731238416}},"hi":{"leaf":0.02187984741851364}}},{"f":9,"thr":0.5,"lo":{"f":6,"thr":0.5,"lo":{"f":10,"thr":0.5,"lo":{"leaf":-0.027625572500849207},"hi":{"leaf":0.007822785825503846}},"hi":{"f":10,"thr":0.5,"lo":{"leaf":0.04121021244998072},"hi":{"leaf":0.024467281860284625}}},"hi":{"f":16,"thr":0.04501564293592023,"lo":{"f":16,"thr":0.022507821467960116,"lo":{"leaf":0.029841515298544806},"hi":{"leaf":0.02850939889927581}},"hi":{"leaf":0.021645054996818545}}},{"f":9,"thr":0.5,"lo":{"f":6,"thr":0.5,"lo":{"f":10,"thr":0.5,"lo":{"leaf":-0.027351361302739453},"hi":{"leaf":0.007458830181175788}},"hi":{"f":10,"thr":0.5,"lo":{"leaf":0.040659604723177194},"hi":{"leaf":0.024276716514512874}}},"hi":{"f":16,"thr":0.04501564293592023,"lo":{"f":16,"thr":0.022507821467960116,"lo":{"leaf":0.02958223818999202},"hi":{"leaf":0.028250528420810855}},"hi":{"leaf":0.02141418190274416}}},{"f":8,"thr":0.5,"lo":{"f":13,"thr":0.5,"lo":{"f":5,"thr":0.5,"lo":{"leaf":0.029804288907875308},"hi":{"leaf":0.012819069593037144}},"hi":{"f":6,"thr":0.5,"lo":{"leaf":-0.043919012942268604},"hi":{"leaf":0.04801199839933712}}},"hi":{"f":9,"thr":0.5,"lo":{"f":10,"thr":0.5,"lo":{"leaf":-0.027044381698186435},"hi":{"leaf":0.0009732662653778749}},"hi":{"f":16,"thr":0.022507821467960116,"lo":{"leaf":0.027156508883276628},"hi":{"leaf":0.00826445012525851}}}},{"f":9,"thr":0.5,"lo":{"f":0,"thr":0.5,"lo":{"f":13,"thr":0.5,"lo":{"leaf":-0.017007760604269312},"hi":{"leaf":-0.029834372353290815}},"hi":{"f":13,"thr":0.5,"lo":{"leaf":0.02666266302494643},"hi":{"leaf":-0.009379953186193573}}},"hi":{"f":16,"thr":0.04501564293592023,"lo":{"f":16,"thr":0.022507821467960116,"lo":{"leaf":0.029077287470907247},"hi":{"leaf":0.027745450645402694}},"hi":{"leaf":0.020883678975087954}}},{"f":9,"thr":0.5,"lo":{"f":6,"thr":0.5,"lo":{"f":10,"thr":0.5,"lo":{"leaf":-0.02659605063858602},"hi":{"leaf":0.007403078423059317}},"hi":{"f":10,"thr":0.5,"lo":{"leaf":0.0394813126046119},"hi":{"leaf":0.02367931582818794}}},"hi":{"f":16,"thr":0.04501564293592023,"lo":{"f":16,"thr":0.022507821467960116,"lo":{"leaf":0.0288308709591097},"hi":{"leaf":0.027499433387121193}},"hi":{"leaf":0.020665312418509687}}}],"lr":0.3,"base":1.4210854715200994e-13}
package/lib/reconcile.ts CHANGED
@@ -1,32 +1,3 @@
1
- /**
2
- * @copyright Sister Software
3
- * @license AGPL-3.0
4
- * @author Teffen Ellis, et al.
5
- *
6
- * Coverage reconciliation (#621) — the library home for what `registry/tools/
7
- * coverage-reconciliation.ts` does inline, so the CLI (`registry --reconcile`) and any consumer
8
- * can reuse it.
9
- *
10
- * Given entities already resolved ACROSS sources (#618), classify each by which KIND of source its
11
- * records come from. You tag each source label as either an **eligibility** source (it denotes
12
- * membership in some base set — e.g. registered providers/facilities) or a **funding/enrollment**
13
- * source (it denotes participation in a program). Three buckets fall out per entity:
14
- *
15
- * - **enrolled** — resolves to BOTH an eligibility and a funding record.
16
- * - **eligible, not enrolled** — an eligibility record with NO funding record resolving to it (the
17
- * ANTI-JOIN).
18
- * - **funded, not in the eligibility set** — a funding record with no eligibility record resolving to
19
- * it.
20
- *
21
- * This is strictly a **set-membership reconciliation, never a determination.** We produce the
22
- * reconciled join and surface the candidate set; what a gap MEANS — and whether it is real, a
23
- * sampling artifact, or actionable — is entirely the data consumer's call. Nothing here is an
24
- * allegation. {@link reconciliationReport} bakes that caveat in by construction.
25
- *
26
- * Pairs with {@link toMapHTML}: {@link reconciliationGeoJSON} tags each feature with its `bucket`,
27
- * which the map auto-detects and colors categorically.
28
- */
29
-
30
1
  import { formatPersonName } from "@mailwoman/record/name"
31
2
  import type { GeoFeatureCollection, PointLiteral } from "@mailwoman/spatial"
32
3
 
@@ -34,43 +5,49 @@ import { toFeature } from "#geojson"
34
5
  import type { EntityGeoData, ReconciliationBucket, ResolvedEntity } from "#types"
35
6
 
36
7
  /**
37
- * Which source labels denote eligibility vs funding/enrollment.
8
+ * The source labels that mark eligibility and the labels that mark funding or enrollment.
38
9
  */
39
10
  export interface ReconcileConfig {
40
11
  /**
41
- * Source labels denoting membership in the base/eligibility set.
12
+ * Source labels that denote membership in the eligibility set.
42
13
  */
43
14
  eligibilitySources: readonly string[]
15
+
44
16
  /**
45
- * Source labels denoting enrollment / funding / program participation.
17
+ * Source labels that denote enrollment, funding or program participation.
46
18
  */
47
19
  fundingSources: readonly string[]
48
20
  }
49
21
 
50
22
  /**
51
- * One entity, classified.
23
+ * One entity with its reconciliation bucket.
52
24
  */
53
25
  export interface ReconciledEntity {
54
26
  entity: ResolvedEntity
27
+
55
28
  /**
56
- * Distinct provenance labels the entity's records span, sorted.
29
+ * The distinct, sorted source labels across the entity's records.
57
30
  */
58
31
  sources: string[]
59
32
  bucket: ReconciliationBucket
60
33
  }
61
34
 
35
+ /**
36
+ * The entities that {@link reconcileCoverage} placed in a bucket, with a count per bucket.
37
+ */
62
38
  export interface ReconciliationResult {
63
39
  /**
64
- * Entities that carry at least one eligibility- or funding-tagged source, each bucketed.
40
+ * The entities that have at least one eligibility or funding source.
65
41
  */
66
42
  reconciled: ReconciledEntity[]
67
43
  counts: Record<ReconciliationBucket, number>
68
44
  }
69
45
 
70
46
  /**
71
- * Bucket an entity from the source labels its records span. Returns `null` when the entity carries NO eligibility- or
72
- * funding-tagged source (it is outside this reconciliation — e.g. a source the caller didn't assign a role) so callers
73
- * can exclude it rather than silently miscount it.
47
+ * Places an entity in a reconciliation bucket by whether its source labels include
48
+ * eligibility sources, funding sources, or both.
49
+ *
50
+ * @returns `null` when the entity has neither kind of source.
74
51
  */
75
52
  export function bucketOf(sources: Iterable<string>, config: ReconcileConfig): ReconciliationBucket | null {
76
53
  const elig = new Set(config.eligibilitySources)
@@ -98,8 +75,9 @@ export function bucketOf(sources: Iterable<string>, config: ReconcileConfig): Re
98
75
  }
99
76
 
100
77
  /**
101
- * Classify resolved entities into reconciliation buckets. Entities with no eligibility- or funding-tagged source are
102
- * excluded (see {@link bucketOf}).
78
+ * Buckets resolved entities by their sources with {@link bucketOf}.
79
+ *
80
+ * Entities without an eligibility or funding source are dropped.
103
81
  */
104
82
  export function reconcileCoverage(entities: readonly ResolvedEntity[], config: ReconcileConfig): ReconciliationResult {
105
83
  const reconciled: ReconciledEntity[] = []
@@ -125,8 +103,9 @@ export function reconcileCoverage(entities: readonly ResolvedEntity[], config: R
125
103
  }
126
104
 
127
105
  /**
128
- * A display name for a reconciled entity's representative record — the organization's canonical form, else the person
129
- * name, else the record id.
106
+ * Returns a display name for an entity's representative record.
107
+ *
108
+ * It prefers the organization's canonical name, then the person's name, then the record ID.
130
109
  */
131
110
  export function repName(entity: ResolvedEntity): string {
132
111
  const rep = entity.representative
@@ -136,8 +115,7 @@ export function repName(entity: ResolvedEntity): string {
136
115
  }
137
116
 
138
117
  /**
139
- * GeoJSON of every located reconciled entity, each feature tagged with its `bucket` + `sources` — the shape
140
- * {@link toMapHTML} colors categorically by bucket. Entities without a coordinate are skipped.
118
+ * Converts the reconciled entities that have coordinates to point features tagged with their bucket.
141
119
  */
142
120
  export function reconciliationGeoJSON(result: ReconciliationResult): GeoFeatureCollection<PointLiteral, EntityGeoData> {
143
121
  return {
@@ -148,32 +126,44 @@ export function reconciliationGeoJSON(result: ReconciliationResult): GeoFeatureC
148
126
  }
149
127
  }
150
128
 
129
+ /**
130
+ * Options for {@link reconciliationReport}.
131
+ */
151
132
  export interface ReconciliationReportOptions {
152
133
  /**
153
- * H1 title. Default: "Coverage reconciliation — eligibility ↔ enrollment".
134
+ * The report's level-one heading.
135
+ *
136
+ * It defaults to "Coverage reconciliation — eligibility ↔ enrollment".
154
137
  */
155
138
  title?: string
139
+
156
140
  /**
157
- * An italic scope paragraph under the title (what the sources are, how they were scoped).
141
+ * An italic paragraph under the title that describes the sources and their scope.
158
142
  */
159
143
  scopeNote?: string
144
+
160
145
  /**
161
- * A paragraph about the scorer choice (e.g. why the FS baseline, not the dedup GBT).
146
+ * A paragraph that explains the choice of match scorer.
162
147
  */
163
148
  scorerNote?: string
149
+
164
150
  /**
165
- * A paragraph about sampling/capping, woven into the caveat.
151
+ * A sentence about sampling or capping that the report places before the closing caveat.
166
152
  */
167
153
  sampleNote?: string
154
+
168
155
  /**
169
- * How many "eligible, not enrolled" rows to spot-check. Default 15.
156
+ * The number of `eligible-not-enrolled` entities that the spot-check lists.
157
+ * It defaults to 15.
170
158
  */
171
159
  spotCheckLimit?: number
172
160
  }
173
161
 
174
162
  /**
175
- * A markdown reconciliation report: the bucket counts, the enrolled-rate floor, an anti-join spot-check, and — always,
176
- * by construction — the neutral caveat. The deliverable is the anti-join SET, not a rate, and never an allegation.
163
+ * Renders a Markdown reconciliation report with the bucket counts, the enrolled rate,
164
+ * a spot-check of `eligible-not-enrolled` entities and a fixed caveat.
165
+ *
166
+ * The report presents the enrolled rate as a floor because incomplete resolution can only miss links.
177
167
  */
178
168
  export function reconciliationReport(result: ReconciliationResult, options: ReconciliationReportOptions = {}): string {
179
169
  const { counts, reconciled } = result
@@ -201,11 +191,11 @@ export function reconciliationReport(result: ReconciliationResult, options: Reco
201
191
  lines.push(`| **enrolled** | ${counts.enrolled} | resolves to an eligibility record AND a funding record |`)
202
192
 
203
193
  lines.push(
204
- `| **eligible, not enrolled** | ${counts["eligible-not-enrolled"]} | eligibility record, no funding record resolved (the **anti-join**) |`
194
+ `| **eligible, not enrolled** | ${counts["eligible-not-enrolled"]} | eligibility record without a resolved funding record (the **anti-join**) |`
205
195
  )
206
196
 
207
197
  lines.push(
208
- `| **funded, not in eligibility set** | ${counts["funded-not-eligible"]} | funding record, no eligibility record resolved |`
198
+ `| **funded, not in eligibility set** | ${counts["funded-not-eligible"]} | funding record without a resolved eligibility record |`
209
199
  )
210
200
 
211
201
  lines.push("")