Skip to content

test: keep the frozen scoring vocabulary authoritative instead of aborting - #72

Merged
Endika merged 1 commit into
mainfrom
test/frozen-scoring-vocabulary
Aug 21, 2026
Merged

test: keep the frozen scoring vocabulary authoritative instead of aborting#72
Endika merged 1 commit into
mainfrom
test/frozen-scoring-vocabulary

Conversation

@Endika

@Endika Endika commented Aug 21, 2026

Copy link
Copy Markdown
Owner

What & why

Described in #70 and not actually included — the file was never staged. Committing it separately
rather than leaving the PR body claiming something the diff did not contain.

scoring_vocabulary froze the 51 gloss classes shared with the shipped model so word-recall
figures stay comparable across model changes. Shipping a 287-class model widened that
intersection to 99 classes, and the guard responded by aborting the whole bench.

Aborting is the wrong response to its own design intent: the frozen file is the authority, so
it now wins, and the run prints a loud notice that the current manifest would give a different
set. Letting the set widen would have quietly changed the denominator every recall figure was
measured against — a better-looking number for a different exam.

Testing

  • python health_words.py --only-test-signers runs and prints the notice, scoring the frozen 51
  • npm run lint, npm run typecheck, npm test, npm run build — unaffected, all pass

@Endika
Endika enabled auto-merge (rebase) August 21, 2026 15:31
@Endika
Endika merged commit 722b750 into main Aug 21, 2026
7 checks passed
@Endika
Endika deleted the test/frozen-scoring-vocabulary branch August 21, 2026 15:31
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.

1 participant