@mailwoman/neural-weights-en-us 8.4.0 → 8.5.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.
- package/model-card.json +103 -66
- package/package.json +2 -1
- package/pair-index-us.bin +0 -0
- package/scripts/link-dev-weights.ts +114 -0
package/model-card.json
CHANGED
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "neural-weights-en-us",
|
|
3
3
|
"version": "7.0.0",
|
|
4
|
-
"model_lineage": "7.0.0-base: v4.0.1-base-60k step-60000
|
|
5
|
-
"phase": "SHIPPED (6.7.0-bundle, 2026-07-29, npm 8.2.0)
|
|
4
|
+
"model_lineage": "7.0.0-base: v4.0.1-base-60k step-60000 \u2014 THE FROM-SCRATCH BASE (the v8.3.0 golden master; no init_from, one recipe, one provenance). 60k cosine s42 on v0.15.0-venue (v0.13.0-latam + the FR-order-aware synth-house-venue shard, 116,244 rows \u2014 the run-2 contingency that fixed the venue-led class the fine-tune lineage had inherited invisibly). Evidence bundle native from step 0: street_type[1] + locality_surface[2] channels, absence + false-evidence (0.15) curricula, digit-guarded four-law lexicons (street v3 / locality-surface trained on v7, SHIPPED with v6 \u2014 the G8 DE-fold revert: DE evidence read net-negative on its own board, the pre-registered per-ingredient contingency), ordinal 0.3 + punct-drop 0.3 + directional/region/glue augmentation, gazetteer curriculum ON. FIRST model whose locality channel actually trained (#1349: every bundle-era fine-tune's locality tensors were dropped by the trainer; fixed #1350). Ships beside its FISHER ARTIFACT (fisher-diag-v1.npz, diagonal empirical Fisher over the final 2k steps, all 39.26M trainables \u2014 the EWC brake for fine-tunes; HF/R2-distributed, the runtime never reads it). Prior lineage record: 6.7.0-bundle: v3.24.0-bundle-ordinal step-4000 \u2014 the Option-A evidence bundle (5-run productionization arc v3.19\u2192v3.23, 2026-07-28). init_from v385 (6.6.0) step-8000 on v385's OWN feed (v0.13.0-latam \u2014 the deploc probe passengers removed after the flip-census/feed attribution), + street_type[1] + locality_surface[2] evidence channels, absence curriculum + evidence-noise 0.15, four-law curated lexicons (street-type v3 / locality-surface v6) with rules.digit_guard (evidence never paints beside a Unicode-Nd digit \u2014 the guard that turned alnum-housenumber from \u22120.325 to +0.013 lower+heal). LR 1.0e-5 constant, 8k steps, best save 4000 (the reproducible mid-run peak; 8k over-trust decay observed in all five runs). | v3.24 (2026-07-29): +augment_ordinal_prob 0.3 (5th\u2194Fifth street swaps) \u2014 the 8.2.0 pre-ship metamorphic catch trained out; world-city fixtures clean under the street-context gate.",
|
|
5
|
+
"phase": "SHIPPED (6.7.0-bundle, 2026-07-29, npm 8.2.0) \u2014 the Option-A evidence bundle: v3.24.0-bundle-ordinal step-4000 (init_from v385 on v385's own feed) + street_type/locality_surface channels + four-law digit-guarded lexicons (street v3 / locality-surface v6) + inputMode register gating (Decision A: fragmented feeds channels, formatted runs the trained absence identity; per-endpoint defaults). Cleared 17/17 through the ratified v6.0.0-shipped-baseline gate (fr.cedex under the noise-honest 82.2 floor, NAMED WATCH: re-anchors at the next from-scratch retrain); fragment register: homonym +0.245 asis / +0.765 lower+heal, ALL +0.261 lower+heal. Full verdict ledger in eval.gate_2026_07_28_v3230_bundle_guard. || Prior shipped record: SHIPPED (6.6.4, 2026-07-26) \u2014 bundle revision on UNCHANGED model bytes (v385, model.onnx md5 700f3cf4c08f31536f0bc053c281b19e): the per-locale FST gazetteers (fst-en-us/fr-fr/en-gb.bin) are REBUILT with build-time degenerate-surface curation (`mailwoman gazetteer build fst`, policy `degenerate-surface-exclusion v1.1` recorded in each artifact trailer) \u2014 bare function words (incl. the case-folded 'LA'/'OP' initialism aliases), bare street-type words, and all-function-word compositions are pruned from the bias index (the ASR-contextual-biasing 'curate the bias list' discipline; receipts + battery in PR #1332: FR street-particle 290\u2192298, bare-street to P0 parity, golden us/fr byte-equal, gauntlet PASS \u00d73 layers; residual 3 rows are true homographs \u2014 the Option-A class). Also code-side in the same release: the pipeline pins the #1315 street-context gate at positiveScale 0 (D2, closed #1320 \u2014 FR admin-street-homonym at exact P0 parity). Prior record: SHIPPED (6.6.2, 2026-07-24) \u2014 bundle revision on UNCHANGED model bytes (v385, model.onnx md5 700f3cf4c08f31536f0bc053c281b19e, same files_md5 as 6.6.0): the en-gb overlay's pair-index-gb.bin is re-cut at \u03b4=10 and @mailwoman/neural 7.7.0's auto probe chain activates GB dependent_locality on this shipped model (see neural-weights-en-gb/model-card.json 6.6.1 for the capability record). The 6.7.0 staged-candidate lineage is CLOSED: no checkpoint of v3.10\u2013v3.13 passed the Gauntlet's metamorphic layer; five mechanisms falsified (starvation, encoder drift, save anomaly, comma-share, LR-hold/anneal); stop rule executed three times; the break is established in the first \u22641k steps of encoder+head co-training and is stable. Model-side redesign is unhurried research \u2014 the dep-loc capability no longer depends on it. Falsification record: docs/superpowers/plans/2026-07-23-deploc-redesign-dossier.md + .superpowers/sdd/task-8-report.md. 6.6.2 adds the en-nz overlay (pair-index-nz.bin, LINZ census, \u03b4=10) + the identical-adjacent-segment (x,x) rule in @mailwoman/neural 7.8.0 \u2014 NZ dependent_locality live (246/246, 100% as-written; the repeated-name convention handled as registry evidence). Model bytes STILL v385/unchanged.",
|
|
6
6
|
"license": "AGPL-3.0-only OR LicenseRef-Commercial",
|
|
7
7
|
"locale": "en-us",
|
|
8
8
|
"training": {
|
|
9
|
-
"corpus_version": "v0.13.0-latam (v385's own feed, VERBATIM data section incl. punct_drop 0.3 + all source weights except synth-po-box-cedex 1.5
|
|
9
|
+
"corpus_version": "v0.13.0-latam (v385's own feed, VERBATIM data section incl. punct_drop 0.3 + all source weights except synth-po-box-cedex 1.5\u21923.0 \u2014 the fine-tune replay boost) \u2014 the deploc additions (synth-gb 10.0 / nz / es-pedania / fr-lieudit) are PROBE PASSENGERS removed after the v3.22 feed attribution (GB street-boundary transfer + CA po-box dilution).",
|
|
10
10
|
"tokenizer_version": "0.9.0-multisplice",
|
|
11
11
|
"steps": 8000,
|
|
12
12
|
"best_step": 4000,
|
|
13
13
|
"hardware": "NVIDIA A100-SXM4-40GB (Modal cloud)",
|
|
14
|
-
"recipe": "v3.24.0-bundle-ordinal-8k.yaml
|
|
14
|
+
"recipe": "v3.24.0-bundle-ordinal-8k.yaml \u2014 v3.23 + augment_ordinal_prob 0.3 (the ONE delta); \u2014 init_from v385 (6.6.0) step-8000, --resume none, LR 1.0e-5 constant, 8k. Channels: street_type (feature_dim 1) + locality_surface (feature_dim 2) painted by the SHARED painter (gazetteer_anchor.py \u2194 gazetteer-inference.ts, parity fixture evidence-parity-v2.json) from the digit-guarded lexicons; evidence_curriculum true (ramped per-row zero-out, independent draws) + evidence_noise_prob 0.15 (false-evidence curriculum: rolled painted patterns / synthetic false positives, labels gold). Pre-registered gates G1-G6 in the recipe header; the candidate save is 4000 per the over-trust watch.",
|
|
15
15
|
"tokenizer_splice": "tokenizer_splice.py build-tokenizer --locales fr --per-file-cap 2000000 over OA fr/countrywide.csv (seed 42, 350k-line corpus, unigram vocab 24000) -> splice 2406 non-ASCII FR pieces into v0.7.1-nsplice (English byte-identity asserted). UNCHANGED from v240 (md5 04995524).",
|
|
16
16
|
"data_attribution": [
|
|
17
|
-
"HM Land Registry
|
|
17
|
+
"HM Land Registry \u2014 Price Paid Data (OGL v3.0): the `synth-gb-v1` training shard (800,000 rows) NEW in 6.7.0, and the `pair-index-gb.bin` placetype-pair index (`neural-weights-en-gb`, this same task). Crown copyright, attribution required.",
|
|
18
18
|
"LINZ-derived OpenAddresses NZ (CC-BY 4.0): the `synth-nz-v2` training shard (800,000 rows) NEW in 6.7.0.",
|
|
19
|
-
"OpenAddresses ES tuples (CC-BY per OA source): the `synth-es-pedania-v1` training shard (800,000 rows, below-municipio
|
|
20
|
-
"BAN
|
|
21
|
-
"Overture Maps Foundation
|
|
22
|
-
"OpenAddresses CZ
|
|
23
|
-
"OpenAddresses PL
|
|
24
|
-
"OpenAddresses SK
|
|
25
|
-
"OpenAddresses SI
|
|
19
|
+
"OpenAddresses ES tuples (CC-BY per OA source): the `synth-es-pedania-v1` training shard (800,000 rows, below-municipio pedan\u00eda place names) NEW in 6.7.0.",
|
|
20
|
+
"BAN \u2014 Base Adresse Nationale (DINUM / IGN, Licence Ouverte 2.0): the `synth-fr-lieudit-v1` training shard (`nom_ld` lieu-dit field) NEW in 6.7.0, additional to the existing `synth-fr-fragment` shard (144,865 rows, 6.4.0).",
|
|
21
|
+
"Overture Maps Foundation \u2014 Addresses theme (CDLA-Permissive-2.0): the `overture-latam` CA/MX training shard (456,230 rows, 6.6.0). Attribution-only, not share-alike.",
|
|
22
|
+
"OpenAddresses CZ \u2014 \u010c\u00daZK R\u00daIAN (CC-BY 4.0): tokenizer-splice training text + the oa-cz coord eval sets",
|
|
23
|
+
"OpenAddresses PL \u2014 GUGiK / PRG (public, BDOT-derived): tokenizer-splice training text + the oa-pl coord eval sets",
|
|
24
|
+
"OpenAddresses SK \u2014 MINV/ZBGIS (CC-0/CC-BY per OA source): oa-sk coord eval set (free-rider validation)",
|
|
25
|
+
"OpenAddresses SI \u2014 GURS (CC-BY per OA source): oa-si coord eval set (free-rider validation)",
|
|
26
26
|
"See THIRD_PARTY_NOTICES.md for the standing OpenAddresses / GeoNames / WOF attribution."
|
|
27
27
|
]
|
|
28
28
|
},
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"phrase_priors": true
|
|
41
41
|
},
|
|
42
42
|
"requires": {
|
|
43
|
-
"$comment": "The SHIP-CONFIG this model was TRAINED against (#718): anchor+gazetteer+country+conventions PLUS the Option-A evidence bundle (street_type/locality_surface). createScorer FAILS CLOSED on a declared-but-unfed channel. inputMode=formatted runs both evidence channels deliberately OFF via the register gate (Decision A)
|
|
43
|
+
"$comment": "The SHIP-CONFIG this model was TRAINED against (#718): anchor+gazetteer+country+conventions PLUS the Option-A evidence bundle (street_type/locality_surface). createScorer FAILS CLOSED on a declared-but-unfed channel. inputMode=formatted runs both evidence channels deliberately OFF via the register gate (Decision A) \u2014 a DECLARED ablation, not a missing feed. Channel slot metadata doubles as the explain-endpoint contract (GTM B7).",
|
|
44
44
|
"anchor": {
|
|
45
45
|
"required": true
|
|
46
46
|
},
|
|
@@ -124,14 +124,15 @@
|
|
|
124
124
|
"intersection_a",
|
|
125
125
|
"intersection_b"
|
|
126
126
|
],
|
|
127
|
-
"notes": "v3.23.0-bundle-guard step-4000, STAGED not promoted (6.7.0-bundle). The evidence bundle is a FRAGMENT-REGISTER capability shipped under the operator's Decision A (2026-07-28): inputMode
|
|
127
|
+
"notes": "v3.23.0-bundle-guard step-4000, STAGED not promoted (6.7.0-bundle). The evidence bundle is a FRAGMENT-REGISTER capability shipped under the operator's Decision A (2026-07-28): inputMode \u2208 {fragmented, formatted} \u2014 explicit on CLI/API, per-endpoint register defaults (validation/batch \u2192 formatted, autocomplete/demo \u2192 fragmented, plain parse \u2192 shape classifier). Formatted mode runs the channels OFF (the trained absence identity) and scores the ablated column: v6.0.0-shipped-baseline PASS 17/17 (us.micro 87.1 vs shipped 86.8; fr.cedex 83.3 under the noise-honest 82.2 floor \u2014 NAMED WATCH: plateaued fine-tune forgetting, ~10/430 CA rows, re-anchors at the next from-scratch retrain). Fragment mode feeds both channels: admin-street-homonym +0.245 asis / +0.765 lower+heal (ON 0.948), bare-street +0.583 lower, particle +0.407, ALL +0.261; house-number classes guard-protected (+0.013/+0.030). Full verdict ledger: .superpowers/sdd/progress.md 2026-07-28; canary fixture data/eval/external/evidence-collision-canary.jsonl.",
|
|
128
128
|
"format": {
|
|
129
129
|
"model": "ONNX int8 dynamic (quantized from fp32, opset 17)",
|
|
130
130
|
"tokenizer": "SentencePiece unigram, byte_fallback=true, vocab_size=73143 (v0.9.0-multisplice; ships WITH the model, both runtimes load it from this bundle)",
|
|
131
131
|
"max_sequence_length": 128,
|
|
132
132
|
"opset": 17,
|
|
133
133
|
"fp32_size_mb": 146.6,
|
|
134
|
-
"int8_size_mb": 37.6
|
|
134
|
+
"int8_size_mb": 37.6,
|
|
135
|
+
"pair_index_us_bin": "PIX1 binary, 1,323,912 bytes, 49,033 pairs, \u03b4=10, \u03b2=5"
|
|
135
136
|
},
|
|
136
137
|
"files": {
|
|
137
138
|
"model": "model.onnx",
|
|
@@ -140,32 +141,33 @@
|
|
|
140
141
|
"calibration": "calibration.json",
|
|
141
142
|
"calibration_per_locale": "calibration-per-locale.json",
|
|
142
143
|
"street_type_lexicon": "street-type-lexicon-v3.json",
|
|
143
|
-
"locality_surface_lexicon": "locality-surface-lexicon-v6.json"
|
|
144
|
+
"locality_surface_lexicon": "locality-surface-lexicon-v6.json",
|
|
145
|
+
"pair_index": "pair-index-us.bin"
|
|
144
146
|
},
|
|
145
147
|
"calibration": {
|
|
146
148
|
"method": "isotonic-regression (PAVA) over per-span softmax confidence; OPT-IN via core/decoder createCalibrator",
|
|
147
149
|
"held_out_ece_raw": 0.0698,
|
|
148
150
|
"held_out_ece_calibrated": 0.0017,
|
|
149
|
-
"note": "RE-FIT on v5.3.0 (2026-07-04): calibration.json + calibration-per-locale.json are now fitted on THIS model's confidence distribution (35,600 spans over the 8k held-out set), not carried from v4.x. The from-scratch model was under-confident (meanConf 0.913 vs acc 0.980, gap -0.067); the fit corrects held-out OA ECE 0.0698
|
|
151
|
+
"note": "RE-FIT on v5.3.0 (2026-07-04): calibration.json + calibration-per-locale.json are now fitted on THIS model's confidence distribution (35,600 spans over the 8k held-out set), not carried from v4.x. The from-scratch model was under-confident (meanConf 0.913 vs acc 0.980, gap -0.067); the fit corrects held-out OA ECE 0.0698\u21920.0017 (overall 0.0677\u21920.0028, per-locale NL 0.166\u21920.000 / DE 0.114\u21920.003). Reproduce: collect-span-confidences.ts \u2192 fit-isotonic-calibration.py --model-version 5.3.0. Apply via @mailwoman/core/decoder's createCalibrator; default parse output is byte-stable when omitted."
|
|
150
152
|
},
|
|
151
153
|
"base_relpath": "models/quantized/model-v3110-deploc-feed-step-008000-int8.onnx under $MAILWOMAN_DATA_ROOT; training output on Modal volume mailwoman-training:/output-v3110-deploc-feed-s42/checkpoints/step-008000",
|
|
152
154
|
"eval": {
|
|
153
155
|
"gate_2026_07_23_v3110_deploc_feed_8k": {
|
|
154
156
|
"$comment": "Task 8 (placetype-pair-prior arc, ship-prep) full battery + Gauntlet, feed-8k vs v385 (6.6.0), all measured fresh this session (ONNX CPU int8). Full transcript: .superpowers/sdd/task-8-prep-report.md; the calibration + checkpoint-choice battery this gate builds on: .superpowers/sdd/task-7-report.md.",
|
|
155
|
-
"verdict": "SHIP-BLOCKED
|
|
157
|
+
"verdict": "SHIP-BLOCKED \u2014 every pre-registered guard PASSES; the Gauntlet (a standing ship-gate requirement, not one of the six pre-registered guards) FAILS on its metamorphic layer. Not promoted pending operator triage.",
|
|
156
158
|
"golden_us_fr": {
|
|
157
159
|
"us_micro_f1": {
|
|
158
160
|
"v385_fresh": 0.867,
|
|
159
161
|
"feed_8k": 0.862,
|
|
160
162
|
"delta_pp": -0.5,
|
|
161
|
-
"bar": "
|
|
163
|
+
"bar": "\u00b10.7pp of v385",
|
|
162
164
|
"result": "PASS"
|
|
163
165
|
},
|
|
164
166
|
"fr_micro_f1": {
|
|
165
167
|
"v385_fresh": 0.899,
|
|
166
168
|
"feed_8k": 0.911,
|
|
167
169
|
"delta_pp": 1.2,
|
|
168
|
-
"bar": "
|
|
170
|
+
"bar": "\u00b10.7pp of v385",
|
|
169
171
|
"result": "outside magnitude, favorable direction"
|
|
170
172
|
}
|
|
171
173
|
},
|
|
@@ -174,21 +176,21 @@
|
|
|
174
176
|
"feed_8k": [0.988, [0.971, 0.995]],
|
|
175
177
|
"feed_2k_for_contrast": [0.665, [0.617, 0.709]],
|
|
176
178
|
"bar": ">= 0.90",
|
|
177
|
-
"result": "PASS (feed-8k); feed-2k FAILS outright
|
|
179
|
+
"result": "PASS (feed-8k); feed-2k FAILS outright \u2014 the deciding reason feed-8k is the ratified ship checkpoint over feed-2k"
|
|
178
180
|
},
|
|
179
181
|
"digit_bare_street_hn_gate_revision": {
|
|
180
182
|
"$comment": "Operator-ratified 2026-07-23 (Teffen Ellis). The pre-registered bar (0.902) was a same-lineage GB-probe checkpoint's own number, not a real ship baseline for a v385-forked checkpoint. Restated against v385's own fresh baseline, measured same session same board.",
|
|
181
183
|
"v385_fresh_baseline": 0.755,
|
|
182
184
|
"feed_8k": [0.868, [0.831, 0.897]],
|
|
183
185
|
"delta_pp": 11.3,
|
|
184
|
-
"old_bar_0_902_probe_anchor": "historical context only, not the active bar
|
|
186
|
+
"old_bar_0_902_probe_anchor": "historical context only, not the active bar \u2014 CI [0.831,0.897] excludes it",
|
|
185
187
|
"result": "PASS (bar restated against 0.755; +11.3pp)"
|
|
186
188
|
},
|
|
187
189
|
"val_macro_f1": {
|
|
188
190
|
"v385": 0.7047,
|
|
189
191
|
"feed_8k": 0.7176,
|
|
190
192
|
"delta_pp": 1.29,
|
|
191
|
-
"bar": "
|
|
193
|
+
"bar": "\u00b11.0pp of v385",
|
|
192
194
|
"result": "outside magnitude, favorable direction"
|
|
193
195
|
},
|
|
194
196
|
"dependent_locality_boards": {
|
|
@@ -217,7 +219,7 @@
|
|
|
217
219
|
}
|
|
218
220
|
},
|
|
219
221
|
"dependent_locality_ablation": {
|
|
220
|
-
"$comment": "The prior
|
|
222
|
+
"$comment": "The prior \u2014 not the checkpoint's own resurrected classifier row \u2014 carries nearly all of GB's measured recall. NZ/ES/FR-lieudit have no equivalent prior and show the checkpoint's own resurrection is weak-to-absent.",
|
|
221
223
|
"v385_plus_prior_at_delta_6_rung3_control": {
|
|
222
224
|
"n": 69,
|
|
223
225
|
"emit_tag_correct": "3/69",
|
|
@@ -239,32 +241,32 @@
|
|
|
239
241
|
"delta_star": 5,
|
|
240
242
|
"fp": "48/6500",
|
|
241
243
|
"fp_pct": 0.738,
|
|
242
|
-
"floor": "<= 122/6500 (the retired
|
|
244
|
+
"floor": "<= 122/6500 (the retired \u03b4=6.0 working number)"
|
|
243
245
|
},
|
|
244
|
-
"demo_presets": "6/6 byte-identical (both weights worlds
|
|
246
|
+
"demo_presets": "6/6 byte-identical (both weights worlds \u2014 en-us control path AND en-gb weights with the prior wired)",
|
|
245
247
|
"error_analysis_2pp_rule": {
|
|
246
248
|
"worst_mover": "street -1.5pp",
|
|
247
249
|
"no_tag_regresses_gt_2pp": true,
|
|
248
250
|
"result": "PASS"
|
|
249
251
|
},
|
|
250
252
|
"gauntlet": {
|
|
251
|
-
"regression": "PASS (33/33 gated; 1 tracked known_fail now passes and should be promoted to status=pass
|
|
252
|
-
"metamorphic": "FAIL
|
|
253
|
-
"held_out": "PASS
|
|
254
|
-
"combined_verdict": "FAIL
|
|
253
|
+
"regression": "PASS (33/33 gated; 1 tracked known_fail now passes and should be promoted to status=pass \u2014 fr-chat-qui-peche-street-swallows-locality)",
|
|
254
|
+
"metamorphic": "FAIL \u2014 NEW gate-failing violation: INV[comma-drop] '1600 Pennsylvania Ave NW, Washington DC 20500' -> comma-dropped form loses the rooftop resolution entirely (38.8977,-77.0365 -> 0,0). v385 HOLDS this exact case (confirmed same session). feed-2k independently FAILS the same layer with DIFFERENT violations on '350 Fifth Avenue, New York, NY' (283.5km off) \u2014 reads as a lineage-wide v3.11.0-deploc-feed robustness regression on NY/DC-class admin resolution, not a single-checkpoint fluke. Neither Task 6 nor Task 7 ran the Gauntlet; this is a NEW finding from Task 8.",
|
|
255
|
+
"held_out": "PASS \u2014 z=0.00 (candidate not significantly worse), n=300 fresh FR/BAN draw",
|
|
256
|
+
"combined_verdict": "FAIL \u2014 do not ship (until the metamorphic regression above is triaged)"
|
|
255
257
|
}
|
|
256
258
|
},
|
|
257
|
-
"gate_2026_07_18_v710_camx": "v6.0.0-shipped-baseline gate + golden 2pp gate (v385 vs shipped v381, channels-on, same run): PASS. Golden: exact-match 24.2% (1105 vs 1104, +1 row), country 89.8 vs 91.4 (
|
|
258
|
-
"gate_2026_07_17_v650_punct_digit": "v6.0.0-shipped-baseline gate: PASS, 0 tags >2pp below shipped v310, +2.3pp us.country_homograph_f1 (only >2pp mover). Gauntlet: PASS
|
|
259
|
+
"gate_2026_07_18_v710_camx": "v6.0.0-shipped-baseline gate + golden 2pp gate (v385 vs shipped v381, channels-on, same run): PASS. Golden: exact-match 24.2% (1105 vs 1104, +1 row), country 89.8 vs 91.4 (\u22121.6, small-N 220/245, sub-threshold \u2014 the only mover >0.5pp down), region 78.1 vs 78.6 (\u22120.5), locality/postcode/street/house_number flat. NO tag >2pp down. Native-order held-out board: MX locality 74.0\u219282.7 (+8.7), CA neutral. Gauntlet (eval gauntlet --candidate): regression 33/33 PASS; metamorphic INV 62/63, DIR 3/3, BAND 16/21 \u2014 identical known-xfail profile to shipped v381 (the 1 INV[comma-drop] xfail is the pre-existing FR #1101 case; US comma-drop held). No new regression. Grade: docs/articles/evals/2026-07-18-v710-camx-latam-grade.md.",
|
|
260
|
+
"gate_2026_07_17_v650_punct_digit": "v6.0.0-shipped-baseline gate: PASS, 0 tags >2pp below shipped v310, +2.3pp us.country_homograph_f1 (only >2pp mover). Gauntlet: PASS \u2014 clear to ship (regression 33/33; metamorphic INV[comma-drop] 9/10 held \u2014 the US '1600 Pennsylvania Ave NW Washington DC' comma-free rooftop RESTORED, the FR 'Rue du Chevaleret' remains the tracked #1101 xfail; held-out FR/BAN n=300 not significantly worse). Digit ownership (NO board 3): bare-street-hn 0.693->0.733 (+4pp), bare-pc guard held 1.000. Grade: package-shaped --weights-cache (#718), int8 candidate vs int8 shipped, on 2026-07-17.",
|
|
259
261
|
"gate_2026_07_16_v640_fr_fragment": {
|
|
260
|
-
"promotion_gate": "v6.0.0-shipped-baseline gate: PASS 18/18, no revision, no relaxation. This spec was cut from the SHIPPED v264's own readings BEFORE v310 was graded, with per-metric noise margins (floor = shipped
|
|
262
|
+
"promotion_gate": "v6.0.0-shipped-baseline gate: PASS 18/18, no revision, no relaxation. This spec was cut from the SHIPPED v264's own readings BEFORE v310 was graded, with per-metric noise margins (floor = shipped \u2212 max(1.0pp, 2 \u00d7 the 95% binomial half-width)); it tightened 15 of 18 floors over the retired v5.3.0-family spec. The FR fragment board's targets and guards were pre-registered in the v3.1.0-fr-fragment config header and in baselines.json (profile fragment-fr-v264), registered against the shipped model before the run. 2pp pre-publish bar: clear on every tag. No trade was measured and none is claimed.",
|
|
261
263
|
"gate_docs": [
|
|
262
264
|
"docs/articles/evals/2026-07-16-t2-fr-fragment-verdict.md (the read)",
|
|
263
265
|
"docs/articles/evals/2026-07-16-t1c-fragment-board-verdict.md (the diagnosis this fix confirms)",
|
|
264
266
|
"docs/articles/evals/2026-07-16-span-head-closed.md (the pre-registered follow-up: the span head does NOT compose with this shard)"
|
|
265
267
|
],
|
|
266
268
|
"fr_fragment_board": {
|
|
267
|
-
"$note": "Board 2
|
|
269
|
+
"$note": "Board 2 \u2014 BAN-sampled, 2800 fixtures, street surfaces disjoint from the training shard. Wilson 95% CIs. No target's interval overlaps its baseline.",
|
|
268
270
|
"bare_street": {
|
|
269
271
|
"v264": 0.215,
|
|
270
272
|
"v310": 0.715,
|
|
@@ -296,7 +298,7 @@
|
|
|
296
298
|
"bare_locality_counter_guard": {
|
|
297
299
|
"v264": 0.98,
|
|
298
300
|
"v310": 0.98,
|
|
299
|
-
"$note": "PRE-REGISTERED as the cell that might collapse by design. It held exactly, same interval
|
|
301
|
+
"$note": "PRE-REGISTERED as the cell that might collapse by design. It held exactly, same interval \u2014 the model learned the distinction, not a new default."
|
|
300
302
|
},
|
|
301
303
|
"overall": {
|
|
302
304
|
"v264": 0.494,
|
|
@@ -304,7 +306,7 @@
|
|
|
304
306
|
}
|
|
305
307
|
},
|
|
306
308
|
"global_parity_floor": {
|
|
307
|
-
"$note": "Board 1
|
|
309
|
+
"$note": "Board 1 \u2014 the guard. The FAIL verdicts eval parity prints on street/house_number are the v7 CAMPAIGN floors (0.90 / 0.97); shipped v264 fails them too. They are a target, not a regression gate.",
|
|
308
310
|
"street": {
|
|
309
311
|
"v264": "154/267 = 0.577",
|
|
310
312
|
"v310": "162/267 = 0.6067"
|
|
@@ -318,10 +320,10 @@
|
|
|
318
320
|
"v310": "71/72 = 0.9861"
|
|
319
321
|
}
|
|
320
322
|
},
|
|
321
|
-
"known_open_not_addressed": "Digit ownership
|
|
323
|
+
"known_open_not_addressed": "Digit ownership \u2014 which tag owns a digit-bearing token (house_number vs postcode vs route number). Untouched by this shard and explicitly out of its scope. Parity PRECISION (new in this cycle \u2014 the half no floor could previously see, since every floor did `if (!goldValues?.length) continue`) reads postcode 25/249 = 0.100, street 12/54 = 0.222, house_number 6/175 = 0.034 emitted where the gold has none. v310 moves this by \u22121 row. Tracked as its own workstream; whether these become formal floors is an open operator decision."
|
|
322
324
|
},
|
|
323
325
|
"gate_2026_07_04_v530_full_family": {
|
|
324
|
-
"promotion_gate": "v5.3.0-family gate (clone of v5.2.0-nordic + the fr.postcode 99.3
|
|
326
|
+
"promotion_gate": "v5.3.0-family gate (clone of v5.2.0-nordic + the fr.postcode 99.3\u219299.2 revision): PASS with the three operator-approved trades stated above. The promote decision ran on the 2026-07-03 RE-GATE of the archived candidate under the #942-floored stack \u2014 fresh dumps BOTH arms, same stack (the #942-D1 stack-drift lesson): 6/6 ni legs PASS; the SI wrong-city re-gate bar (\u2264+2pp) failed at +2.7pp and was adjudicated at the fork, not silently absorbed. Original 100k battery: 15/17 floors (the two above), mask-regression PASS, zero NaN.",
|
|
325
327
|
"gate_docs": [
|
|
326
328
|
"gate-v193/RESULTS.md (pre-registered salvage read + re-gate, 2026-07-03)",
|
|
327
329
|
"#901 (the campaign + the promote fork), #949 (the FR fragmentation this fixes)"
|
|
@@ -352,13 +354,13 @@
|
|
|
352
354
|
"si": {
|
|
353
355
|
"v5_2_0": 8.7,
|
|
354
356
|
"v5_3_0": 11.4,
|
|
355
|
-
"$note": "the stated trade
|
|
357
|
+
"$note": "the stated trade \u2014 floored by #942"
|
|
356
358
|
}
|
|
357
359
|
},
|
|
358
360
|
"ni_legs": "US-2k p50 3.27 identical, resolve 1.000 both; FR-3k p50 1.30 identical (deconfounded same-stack); SE +4.6pp resolve; Abo 0.12km vs 859km"
|
|
359
361
|
},
|
|
360
362
|
"gate_2026_07_02_v510_vocab_splice": {
|
|
361
|
-
"promotion_gate": "#884 gates ALL PASS, pre-registered before measurement (gate log: /mnt/playpen/mailwoman-data/scratch-825/gate-v193/RESULTS.md; evidence comments on #884). US-2k non-inferiority passed at the strongest possible level
|
|
363
|
+
"promotion_gate": "#884 gates ALL PASS, pre-registered before measurement (gate log: /mnt/playpen/mailwoman-data/scratch-825/gate-v193/RESULTS.md; evidence comments on #884). US-2k non-inferiority passed at the strongest possible level \u2014 the int8 candidate's per-row dump is byte-identical to shipped v4.15.0's. CZ/PL/SK/SI improve gates: wrong-city diff CIs wholly negative, resolved-p50 improve CIs wholly negative, resolve-rate floors held. Functional eyeball: CZ churn (103 fixed / 43 newly-wrong) diagnosed as a pre-existing locality-truncation\u2192namesake residual exposed where the baseline won by garbage-parse fluke \u2014 NOT a parse regression (10/10 rows read). The int8 SLO overage (+3.8 MB) was an explicit operator accept (four locales for the same bytes).",
|
|
362
364
|
"gate_docs": [
|
|
363
365
|
"docs/articles/evals/2026-07-01-day-825-tokenizer-fix.md",
|
|
364
366
|
"docs/articles/evals/2026-07-02-lab-session-postmortem.md",
|
|
@@ -385,7 +387,7 @@
|
|
|
385
387
|
"v5_1_0": 10.6,
|
|
386
388
|
"diff_ci95_pp": [-10.4, -6.4]
|
|
387
389
|
},
|
|
388
|
-
"$note": "reservoir-sampled 1k-row OA coord sets (oa-{cz,pl,sk,si}-coord-1k.jsonl), graded parse
|
|
390
|
+
"$note": "reservoir-sampled 1k-row OA coord sets (oa-{cz,pl,sk,si}-coord-1k.jsonl), graded parse\u2192resolve\u2192great-circle, int8 ship artifact"
|
|
389
391
|
},
|
|
390
392
|
"us_2k_non_inferiority": {
|
|
391
393
|
"row_dump": "BYTE-IDENTICAL to shipped v4.15.0 int8 (diff 0 everywhere)",
|
|
@@ -393,15 +395,15 @@
|
|
|
393
395
|
"resolve_rate": 1,
|
|
394
396
|
"region_correct": 0.999
|
|
395
397
|
},
|
|
396
|
-
"tokenization_examples": "
|
|
398
|
+
"tokenization_examples": "Vysok\u00e1 4\u21921 piece, Grudzi\u0105dz 6\u21921, \u015awi\u0119tokrzyska 9\u21921, \u010cist\u00e1 5\u21922; SK fertility \u221251.9%, SI \u221235.2% on diacritic-bearing names with zero SK/SI-specific pieces"
|
|
397
399
|
},
|
|
398
400
|
"gate_2026_06_25_v415_anchor_absorption": {
|
|
399
|
-
"promotion_gate": "v4.15.0-boundary gate PASS after a stated, operator-approved revision of two postcode floors (us.postcode 97
|
|
401
|
+
"promotion_gate": "v4.15.0-boundary gate PASS after a stated, operator-approved revision of two postcode floors (us.postcode 97\u219295, fr.postcode 99.5\u219299.3). The #723 fix (SLICE-H anchor-ON 20\u2192100) trades \u22122pp us.postcode LABEL-F1 on the rare leading-5-digit-postcode (VT E911) case. The trade is COORDINATE-INVISIBLE \u2014 proven by the non-circular oa-resolver-eval below, not asserted. Every other floor holds with margin (us.locality 76.7/62.2, us.street 82.3/74, us.region 88.6/80.1, de.native_locality 89.3/83.8, arena.perturb 78/71); mask-regression gate (#718) PASS; int8\u2194fp32 delta 0. No silent drift: the revision is in scripts/eval/gates/v4.15.0-boundary.json with the reason, mirrored here and in the promotion doc.",
|
|
400
402
|
"gate_doc": "docs/articles/evals/2026-06-25-v4.15.0-promotion.md",
|
|
401
403
|
"slice_h_anchor_on": {
|
|
402
404
|
"v192": 20,
|
|
403
405
|
"v193a3": 100,
|
|
404
|
-
"$note": "leading-5-digit house# correctly labeled house_number (not postcode) with the anchor ON
|
|
406
|
+
"$note": "leading-5-digit house# correctly labeled house_number (not postcode) with the anchor ON \u2014 the #723 production bug"
|
|
405
407
|
},
|
|
406
408
|
"oa_resolver_eval_us": {
|
|
407
409
|
"n": 2000,
|
|
@@ -429,7 +431,7 @@
|
|
|
429
431
|
"vt_locality_match": {
|
|
430
432
|
"v192": 0.926,
|
|
431
433
|
"v193a3": 0.926,
|
|
432
|
-
"$note": "VT = the E911 leading-postcode state where the postcode label trade lives
|
|
434
|
+
"$note": "VT = the E911 leading-postcode state where the postcode label trade lives \u2014 FLAT at the coordinate"
|
|
433
435
|
},
|
|
434
436
|
"sd_locality_match": {
|
|
435
437
|
"v192": 0.965,
|
|
@@ -437,16 +439,16 @@
|
|
|
437
439
|
}
|
|
438
440
|
},
|
|
439
441
|
"label_deltas_coordinate_invisible": [
|
|
440
|
-
"us.postcode -2.0 (95.0)
|
|
441
|
-
"fr.postcode -0.2 (99.3)
|
|
442
|
+
"us.postcode -2.0 (95.0) \u2014 rare leading-5-digit-postcode VT E911 case; VT coordinate flat (92.6=92.6)",
|
|
443
|
+
"fr.postcode -0.2 (99.3) \u2014 eval noise"
|
|
442
444
|
]
|
|
443
445
|
},
|
|
444
446
|
"gate_2026_06_19_fr_admin_split": {
|
|
445
|
-
"promotion_gate": "FR centroid gate PASS
|
|
447
|
+
"promotion_gate": "FR centroid gate PASS \u2014 surpasses v1.5.0 on the SHIPPED assembled anchor-ON coordinate (held-out FR golden, 3000 disjoint communes): coord p50 42.5\u21922.2 km, mean 175\u2192105.5 km (\u221240%), r\u00e9gion-emit 39.6\u219299.6%. US assembled coordinate FLAT (oa-resolver-eval, 2000 OA-US rows: locality-match 97.5\u219297.6, p50 3.3=3.3). Two label deltas trip the 2pp pre-publish gate, BOTH coordinate-invisible and operator-approved (#728): us.locality \u22122.2 (precision-only, 0 recall misses) and fr.country \u22123.5 (resolver given --default-country FR). No silent drift \u2014 both stated here + on #728 + the night postmortem.",
|
|
446
448
|
"gate_doc": "docs/articles/evals/2026-06-19-night-postmortem.md",
|
|
447
449
|
"bridge_retired": true,
|
|
448
450
|
"flagged_deltas_coordinate_invisible": [
|
|
449
|
-
"us.locality -2.2 (precision-only
|
|
451
|
+
"us.locality -2.2 (precision-only \u2014 0 recall misses, spurious-FP on gold-locality-absent rows)",
|
|
450
452
|
"fr.country -3.5 (resolver given --default-country FR, never reaches the coordinate; abandoned v1.8.1 country-shard targeted this)"
|
|
451
453
|
]
|
|
452
454
|
},
|
|
@@ -501,7 +503,7 @@
|
|
|
501
503
|
}
|
|
502
504
|
},
|
|
503
505
|
"per_component_int8_shipconfig": {
|
|
504
|
-
"$comment": "per-locale-f1 anchor-ON matched pair vs v1.5.0 (postmortem guardrail tables). The unfolded per-tag F1 (split affix, intersections, etc.) is the authoritative `capabilities` block below. Tags off the FR-shard path (us intersections/unit, de native_locality, arena.perturb) were not re-measured for v1.8.0
|
|
506
|
+
"$comment": "per-locale-f1 anchor-ON matched pair vs v1.5.0 (postmortem guardrail tables). The unfolded per-tag F1 (split affix, intersections, etc.) is the authoritative `capabilities` block below. Tags off the FR-shard path (us intersections/unit, de native_locality, arena.perturb) were not re-measured for v1.8.0 \u2014 the single training variable was the FR admin-split shard and the architecture is identical to v1.5.0.",
|
|
505
507
|
"us": {
|
|
506
508
|
"house_number": 98.6,
|
|
507
509
|
"locality": 75.7,
|
|
@@ -521,28 +523,48 @@
|
|
|
521
523
|
}
|
|
522
524
|
},
|
|
523
525
|
"vs_1_5_0": {
|
|
524
|
-
"fr_coord_p50": "42.5
|
|
525
|
-
"fr_region_emit": "39.6
|
|
526
|
+
"fr_coord_p50": "42.5 \u2192 2.2 km (\u221295%) \u2014 the win; first model in the arc to beat v1.5.0 on the shipped coordinate",
|
|
527
|
+
"fr_region_emit": "39.6 \u2192 99.6% (+60pp) \u2014 learned the locality\u2194d\u00e9partement split",
|
|
526
528
|
"us_assembled_coord": "FLAT (locality-match +0.1, p50 identical)",
|
|
527
|
-
"us_locality_label": "
|
|
528
|
-
"fr_country_label": "
|
|
529
|
-
"fr_street": "+1.9 (87.5
|
|
530
|
-
"fr_po_box": "+10.6 (72.7
|
|
531
|
-
"fr_house_number": "99.3
|
|
529
|
+
"us_locality_label": "\u22122.2pp (precision-only, coordinate-invisible; gate-firing, operator-approved #728)",
|
|
530
|
+
"fr_country_label": "\u22123.5pp (resolver given country, coordinate-invisible; gate-firing, operator-approved #728)",
|
|
531
|
+
"fr_street": "+1.9 (87.5 \u2192 89.4)",
|
|
532
|
+
"fr_po_box": "+10.6 (72.7 \u2192 83.3)",
|
|
533
|
+
"fr_house_number": "99.3 \u2192 99.5 (held \u2014 v1.5.0's raison d'\u00eatre)"
|
|
532
534
|
},
|
|
533
535
|
"gate_2026_07_28_v3230_bundle_guard": {
|
|
534
536
|
"$comment": "The Option-A promotion battery on the STAGED 6.7.0-bundle candidate (v3.23-4k int8). G5 graded the ABLATED column (= formatted-mode production behavior under Decision A); fragment bars graded fed. Ledger + censuses: .superpowers/sdd/progress.md 2026-07-28.",
|
|
535
|
-
"g1_fragment_bars": "PASS
|
|
536
|
-
"g2_ablation": "borderline-pass (OFF bare-locality
|
|
537
|
-
"g3_invariance": "PASS
|
|
538
|
-
"g4_gauntlet": "PASS
|
|
539
|
-
"g5_golden_ablated": "PASS 17/17 (v6.0.0-shipped-baseline; fr.cedex 83.3 under the ratified 82.2 noise-honest floor
|
|
537
|
+
"g1_fragment_bars": "PASS \u2014 homonym +0.245 asis / +0.765 lower+heal; alnum-hn \u22120.007 asis / +0.013 lower; street-hn \u22120.015 / +0.030; ALL lower+heal +0.261",
|
|
538
|
+
"g2_ablation": "borderline-pass (OFF bare-locality \u22120.018 vs \u00b10.015, \u22481 fixture row; all else at/above v385 reference)",
|
|
539
|
+
"g3_invariance": "PASS \u2014 zero new violation classes vs v385",
|
|
540
|
+
"g4_gauntlet": "PASS \u00d73 (regression/metamorphic/held-out)",
|
|
541
|
+
"g5_golden_ablated": "PASS 17/17 (v6.0.0-shipped-baseline; fr.cedex 83.3 under the ratified 82.2 noise-honest floor \u2014 NAMED WATCH)",
|
|
540
542
|
"g6_canary": "formatted-mode clean by construction; fed-mode 4/20 flips recorded as misroute-cost input"
|
|
541
543
|
},
|
|
542
|
-
"gate_2026_07_30_v700_base_promote": "PROMOTED as model 7.0.0 (npm 8.3.0). Ship-config battery (int8, locality v6): v6.0.0-shipped-baseline 16/17 + fr.bare_street_intact + mask-regression PASS
|
|
544
|
+
"gate_2026_07_30_v700_base_promote": "PROMOTED as model 7.0.0 (npm 8.3.0). Ship-config battery (int8, locality v6): v6.0.0-shipped-baseline 16/17 + fr.bare_street_intact + mask-regression PASS \u2014 the one nominal miss is us.street_prefix 91.3 vs the 96.0 fallback-margin floor (n=25; four spelled-out-directional recall misses, precision 100; clears the support-aware v7.0.0-base floor). fr.cedex_real 90.5 \u2014 the v6-era NAMED WATCH RETIRED (above the unwaived 85.6-class reading). us.street 90.5 / us.locality 81.0 / us.micro 89.8 \u2014 multiple floors up vs the shipped 6.7.0. P0 fragment grid FLAT 40k\u219260k both registers (the over-trust decay proven a fine-tune-recipe artifact): asis ALL 0.803, lower+heal 0.983. Gauntlet: regression 3 venue must-clears CLEARED + 3 tracked cases promoted to pass + the 9-probe directional-homograph set 9/9 (zero prefix-over-splitting cost); metamorphic 5 tracked xfails (one fewer than shipped); held-out PASS. ONE NAMED WATCH rides this promote: si-sentinel-ucakar (SI diacritic digit-split; raw split byte-identical to shipped, which passes only via the word-consistency heal; designed fix = the char-path lineage). New gate spec: v7.0.0-base.json (support-aware Wilson margins, cut from this candidate's ship-config readings).",
|
|
545
|
+
"r5_us_dependent_locality": {
|
|
546
|
+
"$comment": "Pre-registered bars from docs/superpowers/plans/2026-08-01-r5-us-deploc-preregistration.md, all measured before the ship decision.",
|
|
547
|
+
"gauntlet_with_index": "PASS \u2014 verdict and xfail set identical to the baseline without the index (B-R5.1)",
|
|
548
|
+
"venue_confound_board": {
|
|
549
|
+
"n": 60,
|
|
550
|
+
"false_positives": 0,
|
|
551
|
+
"fp_pct": 0.0,
|
|
552
|
+
"bar_pct": 2.0,
|
|
553
|
+
"note": "US law-1 board: neighbourhood surfaces opening venue names (B-R5.2)"
|
|
554
|
+
},
|
|
555
|
+
"positive_board": {
|
|
556
|
+
"n": 60,
|
|
557
|
+
"emit": 60,
|
|
558
|
+
"tag_correct": 60,
|
|
559
|
+
"tag_correct_pct": 100.0,
|
|
560
|
+
"locality_correct": 60,
|
|
561
|
+
"note": "Sampled from 31,474 state-resolved WOF pairs. Measures mechanism efficacy where the gazetteer has data, NOT generalization to unknown surfaces (B-R5.3)"
|
|
562
|
+
},
|
|
563
|
+
"browser_fallback_disclosure": "detectPairIndexCountry routes bare postcode-less Latin queries to us; the US index misses all five GB canonical pairs, so the fallback does not manufacture GB bias (D-R5.4)"
|
|
564
|
+
}
|
|
543
565
|
},
|
|
544
566
|
"files_md5": {
|
|
545
|
-
"$comment": "The SHIPPED artifact md5s
|
|
567
|
+
"$comment": "The SHIPPED artifact md5s \u2014 the identity link-dev-weights.ts (#397 guard) and the gauntlet self-check (#1024) verify dev symlinks / materialized tarballs against, repo-wide. 6.7.0-bundle = v3.24.0-bundle-ordinal step-4000 int8 ($MAILWOMAN_DATA_ROOT/models/quantized/model-v3240-ordinal-step-004000-int8.onnx) + the two digit-guarded evidence lexicons; tokenizer UNCHANGED (v0.9.0-multisplice). Flipped from the staged_candidate block at the 8.2.0 cut (2026-07-29) in lockstep with requires + link-dev-weights DEFAULT_MODEL, per the staging discipline.",
|
|
546
568
|
"model.onnx": "c968c24ad1a3e59658ff1d92c5720575",
|
|
547
569
|
"tokenizer.model": "5c01cdcd4ae25849c5cb26b69fd3dde9",
|
|
548
570
|
"street-type-lexicon-v3.json": "d0194a730805f9e6a886a98e8421061a",
|
|
@@ -677,15 +699,30 @@
|
|
|
677
699
|
}
|
|
678
700
|
}
|
|
679
701
|
},
|
|
680
|
-
"$comment": "Per-tier (server=anchor+gazetteer; pocket=anchor-only)
|
|
702
|
+
"$comment": "Per-tier (server=anchor+gazetteer; pocket=anchor-only) \u00d7 address-system \u00d7 tag capability manifest (#718/#719). maskOffF1 = measured per-tag exact-match F1 with the conventions mask OFF; maskOnF1 = the same with mask ON (recorded only for tags some codex forbiddenTags row suppresses \u2014 the loader's delta-gate consults only those). createScorer FAILS CLOSED when a conventions row forbids a tag with maskOffF1 \u2212 maskOnF1 > 0.05 (the mask provably destroys a real capability). Generated by `mailwoman eval capability-manifest` against the v1.5.0 int8."
|
|
681
703
|
},
|
|
682
704
|
"fisher_artifact": {
|
|
683
|
-
"$comment": "The consolidation artifact (v8.3.0 D4/#1354): diagonal empirical Fisher over the base run's final 2,000 steps, covering all 39,261,743 trainable parameters. The EWC brake input for every fine-tune off this base (train.ewc_fisher_path). HF/R2-distributed ONLY
|
|
705
|
+
"$comment": "The consolidation artifact (v8.3.0 D4/#1354): diagonal empirical Fisher over the base run's final 2,000 steps, covering all 39,261,743 trainable parameters. The EWC brake input for every fine-tune off this base (train.ewc_fisher_path). HF/R2-distributed ONLY \u2014 the runtime never reads it, so it stays out of the npm tarball.",
|
|
684
706
|
"file": "fisher-diag-v1-model-7.0.0.npz",
|
|
685
707
|
"sidecar": "fisher-diag-v1-model-7.0.0.json",
|
|
686
708
|
"md5": "79ede288210ba4b5c1ff56c9fd082b5f",
|
|
687
709
|
"captured_at_step": 60000,
|
|
688
710
|
"count_batches": 2000,
|
|
689
711
|
"distribution": "hf+r2"
|
|
712
|
+
},
|
|
713
|
+
"us_artifacts": {
|
|
714
|
+
"$comment": "Hierarchy campaign R5 (2026-08-01). The US instance of the placetype-pair prior \u2014 the first non-postal-register one.",
|
|
715
|
+
"pair_index_us_bin": {
|
|
716
|
+
"format": "PIX1 placetype-pair index \u2014 a retrieval-augmented (child, parent) dependent_locality prior, e.g. (\"Park Slope\", \"Brooklyn\")",
|
|
717
|
+
"source": "Who's On First admin hierarchy ($MAILWOMAN_DATA_ROOT/wof/admin-global-priority.db). NO postal register: USPS routes city/state/ZIP, so unlike GB's PPD there is no mail source carrying US dependent localities. Children: borough + neighbourhood. Parents: locality, localadmin AND borough \u2014 WOF parents US neighbourhoods to the locality (\"Astoria\" hangs off New York, not Queens), so a locality-only parent rule drops the borough-level pairs this instance exists for.",
|
|
718
|
+
"pairs": 49033,
|
|
719
|
+
"bytes": 1323912,
|
|
720
|
+
"md5": "31e7cd899dab5af0b8d7ec03fe5cb548",
|
|
721
|
+
"delta_calibration": "\u03b4=10, transitionBeta=5 \u2014 inherited from the GB calibration rather than re-swept, because the R5 finding is that the classifier's dependent_locality deficit is UNIFORM across locales (~7.0 logits mean, measured on the en-gb card), not GB-specific. The R5 bars were measured at exactly this pair; changing either number invalidates them.",
|
|
722
|
+
"country_gate": "hard-gated on the header's country (us). Verified inert on GB input: the index misses all five GB canonical pairs (Shoreditch/London, Nine Elms/London, Clapham/London, Camden/London, Didsbury/Manchester) \u2014 see neural/test/weights.test.ts.",
|
|
723
|
+
"not_committed": "derived artifact, .gitignore'd (same posture as postcode-us.bin) \u2014 rebuilt via `mailwoman gazetteer pair-index --out neural-weights-en-us --country us --delta 10 --transition-beta 5 --borough-db <wof/admin-global-priority.db>`",
|
|
724
|
+
"behavior_change": "This changes DEFAULT en-us parse output. A US address carrying a neighbourhood or borough line previously emitted no dependent_locality AND SILENTLY DROPPED the second admin level (\"123 Main St, Park Slope, Brooklyn, NY\" \u2192 locality=Park Slope, Brooklyn discarded). It now emits dependent_locality=Park Slope, locality=Brooklyn.",
|
|
725
|
+
"$comment_md5": "REPRODUCIBILITY: a PIX1 header embeds `buildDate`, so a rebuild from identical sources produces different bytes and a different md5. This md5 therefore identifies the artifact STAGED TO HUGGING FACE for this release \u2014 it is a provenance record of the shipped bytes, NOT a check a local rebuild can reproduce. A mismatch after rebuilding is expected and is not corruption; verify pair COUNT and header delta/beta instead."
|
|
726
|
+
}
|
|
690
727
|
}
|
|
691
728
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mailwoman/neural-weights-en-us",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.5.0",
|
|
4
4
|
"description": "Mailwoman neural-classifier weights for locale 'en-us'. Data-only package — loaded by @mailwoman/neural at runtime.",
|
|
5
5
|
"license": "AGPL-3.0-only OR LicenseRef-Commercial",
|
|
6
6
|
"repository": {
|
|
@@ -15,6 +15,7 @@
|
|
|
15
15
|
"calibration.json",
|
|
16
16
|
"calibration-per-locale.json",
|
|
17
17
|
"postcode-us.bin",
|
|
18
|
+
"pair-index-us.bin",
|
|
18
19
|
"fst-en-us.bin",
|
|
19
20
|
"fst-street-morphology.bin",
|
|
20
21
|
"anchor-lexicon-v1.json",
|
|
Binary file
|
|
@@ -325,3 +325,117 @@ if (existsSync(MORPHOLOGY_SRC)) {
|
|
|
325
325
|
`WARNING: missing ${MORPHOLOGY_SRC} — the street-context gate falls back to the per-process dictionary build.`
|
|
326
326
|
)
|
|
327
327
|
}
|
|
328
|
+
|
|
329
|
+
/**
|
|
330
|
+
* Placetype-pair index (hierarchy campaign R5, 2026-08-01): build `pair-index-us.bin` from the WOF admin DB so
|
|
331
|
+
* `resolveWeights` surfaces `pairIndexPath` in dev and the placetype-pair prior is live for en-us.
|
|
332
|
+
*
|
|
333
|
+
* Unlike en-gb there is NO source CSV — the US has no postal register carrying dependent localities (USPS routes
|
|
334
|
+
* city/state/ZIP), so every pair comes from `--borough-db`. The command refuses a build with no source of any kind, so
|
|
335
|
+
* dropping the flag fails loud rather than writing an empty index.
|
|
336
|
+
*
|
|
337
|
+
* Freshness guard, ported from en-gb: the test suite shells this script out on every run, so an unconditional rebuild
|
|
338
|
+
* would cost minutes per `yarn test`. Peek the header instead and rebuild only when the calibrated delta, the
|
|
339
|
+
* transition beta, or the source DB's md5 has moved. An ABSENT `transitionBeta` reads `undefined` and forces the
|
|
340
|
+
* rebuild that stamps it in.
|
|
341
|
+
*/
|
|
342
|
+
const PAIR_INDEX_BIN_DEST = resolve(PKG_DIR, "pair-index-us.bin")
|
|
343
|
+
/**
|
|
344
|
+
* Calibrated soft-prior magnitude — the SAME pair the R5 bars were measured with (gauntlet unchanged, 0/60
|
|
345
|
+
* venue-confound false positives, 60/60 tag-correct). Changing either number invalidates those receipts.
|
|
346
|
+
*/
|
|
347
|
+
const PAIR_INDEX_DELTA = 10
|
|
348
|
+
const PAIR_INDEX_TRANSITION_BETA = 5
|
|
349
|
+
const PAIR_INDEX_SOURCE_DB = dataRootPath("wof", "admin-global-priority.db")
|
|
350
|
+
|
|
351
|
+
/**
|
|
352
|
+
* Minimal PIX1 header reader — magic + header block only. Reimplemented rather than imported so this data-only package
|
|
353
|
+
* gains no dependency on `@mailwoman/neural` (which pulls onnxruntime-node) to read three fields. If PIX1 ever changes,
|
|
354
|
+
* `neural/pair-index-resolver.ts`'s own parse is the source of truth this must follow.
|
|
355
|
+
*/
|
|
356
|
+
function peekPairIndexHeaderFields(path: string): {
|
|
357
|
+
delta: number
|
|
358
|
+
transitionBeta: number | undefined
|
|
359
|
+
sourceMD5: string | undefined
|
|
360
|
+
} {
|
|
361
|
+
const bytes = readFileSync(path)
|
|
362
|
+
const view = new DataView(bytes.buffer, bytes.byteOffset, bytes.byteLength)
|
|
363
|
+
// "PIX1" little-endian — mirrors pair-index-resolver.ts's MAGIC const.
|
|
364
|
+
const MAGIC = 0x31_58_49_50
|
|
365
|
+
|
|
366
|
+
if (view.getUint32(0, true) !== MAGIC) {
|
|
367
|
+
throw new Error(`pair index: bad magic reading ${path}`)
|
|
368
|
+
}
|
|
369
|
+
|
|
370
|
+
const headerLen = view.getUint32(4, true)
|
|
371
|
+
|
|
372
|
+
const header = JSON.parse(Buffer.from(bytes.subarray(8, 8 + headerLen)).toString("utf8")) as {
|
|
373
|
+
delta: number
|
|
374
|
+
transitionBeta?: number
|
|
375
|
+
sourceMD5s?: string[]
|
|
376
|
+
}
|
|
377
|
+
|
|
378
|
+
return { delta: header.delta, transitionBeta: header.transitionBeta, sourceMD5: header.sourceMD5s?.[0] }
|
|
379
|
+
}
|
|
380
|
+
|
|
381
|
+
if (!existsSync(CLI)) {
|
|
382
|
+
console.error(
|
|
383
|
+
`WARNING: ${CLI} not built — run \`yarn compile\` first, then re-run this script for pair-index-us.bin.`
|
|
384
|
+
)
|
|
385
|
+
} else if (!existsSync(String(PAIR_INDEX_SOURCE_DB))) {
|
|
386
|
+
console.error(
|
|
387
|
+
`WARNING: missing ${PAIR_INDEX_SOURCE_DB} — pair-index-us.bin not built; the placetype-pair prior stays inert for US.`
|
|
388
|
+
)
|
|
389
|
+
} else {
|
|
390
|
+
let needsRebuild = true
|
|
391
|
+
|
|
392
|
+
if (existsSync(PAIR_INDEX_BIN_DEST)) {
|
|
393
|
+
try {
|
|
394
|
+
const header = peekPairIndexHeaderFields(PAIR_INDEX_BIN_DEST)
|
|
395
|
+
|
|
396
|
+
if (header.delta !== PAIR_INDEX_DELTA) {
|
|
397
|
+
console.log(`rebuilding pair-index-us.bin — delta ${header.delta} → ${PAIR_INDEX_DELTA}`)
|
|
398
|
+
} else if (header.transitionBeta !== PAIR_INDEX_TRANSITION_BETA) {
|
|
399
|
+
console.log(
|
|
400
|
+
`rebuilding pair-index-us.bin — transitionBeta ${header.transitionBeta} → ${PAIR_INDEX_TRANSITION_BETA}`
|
|
401
|
+
)
|
|
402
|
+
} else {
|
|
403
|
+
needsRebuild = false
|
|
404
|
+
}
|
|
405
|
+
} catch (error) {
|
|
406
|
+
console.log(`rebuilding pair-index-us.bin — header unreadable (${(error as Error).message})`)
|
|
407
|
+
}
|
|
408
|
+
}
|
|
409
|
+
|
|
410
|
+
if (!needsRebuild) {
|
|
411
|
+
console.log(`skipped pair-index-us.bin build — ${PAIR_INDEX_BIN_DEST} is current`)
|
|
412
|
+
} else {
|
|
413
|
+
const result = spawnSync(
|
|
414
|
+
process.execPath,
|
|
415
|
+
[
|
|
416
|
+
CLI,
|
|
417
|
+
"gazetteer",
|
|
418
|
+
"pair-index",
|
|
419
|
+
"--out",
|
|
420
|
+
PKG_DIR,
|
|
421
|
+
"--country",
|
|
422
|
+
"us",
|
|
423
|
+
"--delta",
|
|
424
|
+
String(PAIR_INDEX_DELTA),
|
|
425
|
+
"--transition-beta",
|
|
426
|
+
String(PAIR_INDEX_TRANSITION_BETA),
|
|
427
|
+
"--borough-db",
|
|
428
|
+
String(PAIR_INDEX_SOURCE_DB),
|
|
429
|
+
],
|
|
430
|
+
{ stdio: "inherit" }
|
|
431
|
+
)
|
|
432
|
+
|
|
433
|
+
if (result.status !== 0 || !existsSync(PAIR_INDEX_BIN_DEST)) {
|
|
434
|
+
console.error(`FAILED: gazetteer pair-index --country us (exit ${result.status})`)
|
|
435
|
+
|
|
436
|
+
process.exit(1)
|
|
437
|
+
}
|
|
438
|
+
|
|
439
|
+
console.log(`built pair-index-us.bin ← ${PAIR_INDEX_SOURCE_DB}`)
|
|
440
|
+
}
|
|
441
|
+
}
|