Skip to content

test(match): term frequencies on phone_e164 widen the account scale window from 44-48 to 56-70 bits (#1360) - #1435

Merged
athvin merged 1 commit into
mainfrom
exp/1360-phone-tf
Nov 29, 2026
Merged

athvin merged 1 commit into
mainfrom
exp/1360-phone-tf

Conversation

@athvin

@athvin athvin commented Nov 29, 2026 •

Copy link
Copy Markdown
Owner

Closes #1360

Post-merge is part of this pull request. The ledger below records whether
the follow-up work actually happened. /land-pr closes it.

What

Answers #1360: TF on phone_e164 widens the account scale window, and isn't redundant with the domain near-match level. Both account corpora were gridded over 36–130 bits at auto_merge: 0.99, with a TF snapshot computed from each corpus (pass 1 standardizes, pass 2 scores with tf: true). A new gated test pins the result, and er-matching's config-to-model reference and the acct_16 README record it.

Why

#663 left the second shared-switchboard discriminator unevaluated. Its done-when: grid both corpora with TF on the phone level and record whether TF widens the 44–48 window or is redundant.

Proof

acct_10 resolves as designed acct_16 resolves as designed agreed window
no TF 36–48 up to 48 (switchboard fuses from 52) 44–48
TF on phone 56–70 up to 100 56–70

phone_tf_widens_the_account_scale_window pins both ends with TF on (56 and 70) and the fusion without TF at 56. make check exit 0.

Risk & rollback

Test and docs only. Decision: the compile default stays at 44, because it can't assume a snapshot carries phone frequencies. The reference recommends tf: true with 60 bits for configs whose snapshot does. Rollback: git revert <merge-sha>.

Post-merge ledger

Closed by: agent · session Claude Code:24d16c2e-fec6-49d8-9797-060338df4848 on brians-MacBook-Pro · 2026-11-29T11:42:25Z

  • main is green with this change on it — the merge SHA, and the run
    that proves it. A later head SHA with this commit as an ancestor counts;
    a cancelled run with zero jobs does not: — 333eaad, rust 46256984796 + frontend 46256984822 success
  • images built, or correctly never ran because nothing that goes into
    an image changed: — success, run 46256984890 (test and docs only)
  • deploy converged — proved by a line the running process emitted, not
    by the image digest and not by the workflow conclusion: — n/a for behaviour: test and docs only; the next deploy (46257159769) carried it
  • the push-only surface no pull request can pre-test (deploy, drift,
    kind's nightly leg) is green, or knowingly red for a reason that is not
    this change: — infra, devcontainer success on 333eaad
  • the board card reached Done through the automation rather than by
    hand, and the issue closed: — Account matching: evaluate TF on phone_e164 as a switchboard discriminator #1360 CLOSED by test(match): term frequencies on phone_e164 widen the account scale window from 44-48 to 56-70 bits (#1360) #1435 via automation
  • follow-ups are open for everything deferred here — numbers: — none
  • what was learned is written down where the next session will find it
    (a skill, a reference, memory) — or nothing new was learned: — config-to-model.md: phone TF widens the account window to 56–70 bits; recommend tf: true + 60 bits when the snapshot carries phone

Specific to this change

Context — plan, discoveries, measurements, files

Plan

Discoveries

Measurements

Files

The TF snapshot here comes from the corpus itself. A production account snapshot from er train may differ, so the window is evidence for the recommendation, not a guarantee.

🤖 Generated with Claude Code

…indow from 44-48 to 56-70 bits (#1360)

account corpora are gridded here with TF on the phone exact level, using
a TF snapshot computed from the corpus itself: pass 1 standardizes, pass
2 scores on a fresh lake with tf: true. Range 36-130 bits, auto_merge
0.99, domain near-match config.

- Without TF the corpora agree only on 44-48 bits; acct_16's switchboard
  fuses from 52.
- With TF, both resolve as designed from 56 to 70 bits. acct_10 breaks
  above 70, acct_16 above 100.

So TF widens the window from 4 bits to 14 and is not redundant with the
domain level. The compile default stays 44, because it cannot assume a
TF snapshot carries phone frequencies. er-matching's config-to-model
reference recommends tf: true plus 60 bits for a config whose snapshot
does. phone_tf_widens_the_account_scale_window pins both ends and the
no-TF fusion at 56.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@athvin
athvin merged commit 333eaad into main Nov 29, 2026
44 checks passed
@athvin
athvin temporarily deployed to marketing-preview November 29, 2026 11:23 — with GitHub Actions Inactive

This branch was previously deployed

1 inactive deployment
marketing-preview — 99746ef4 Deployed Nov 29, 2026 by athvin via remove closed PR previews #163
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Account matching: evaluate TF on phone_e164 as a switchboard discriminator

2 participants