Skip to content

Check pairing copy around the random check words - #2228

Merged
santoshkumarradha merged 4 commits into
app/v3from
fix/c41-pair-words
Nov 3, 2026
Merged

santoshkumarradha merged 4 commits into
app/v3from
fix/c41-pair-words

Conversation

@santoshkumarradha

Copy link
Copy Markdown
Member

What fails

TestM1M4M8M9M10AppPair fails at random with L3 terminal copy: "Waiting for approval on your other computer. It should show: ...".

Cause

The test bans engine words by substring on every visible line, and that line includes the three random check words. The 256-word list holds ledger and cello, and cello contains the banned cell. Each of three words has a 2 in 256 chance of being one of them, so about 2.3% of pairings fail.

This is a test defect. The list stays unchanged because both computers derive and compare these words.

Change

The test removes the pairing's own Words from each line before the ban check. All other copy is still checked, and the allowed pattern still covers the whole line.

Evidence

  • Measured: 44 of 1920 subtests failed under load (2.3%). The only banned matches among the failing words were cello and ledger.
  • Forced red: with WordFor temporarily returning ledger, the old test fails with the same line and the new test passes.
  • The guard still works: adding "on this device" to the copy fails the new test with L3 terminal copy.
  • Not run: a repeat of the 1920 subtests with the fix.

🤖 Generated with Claude Code

santoshkumarradha and others added 4 commits November 2, 2026 13:13
TestM1M4M8M9M10AppPair banned engine words by substring across every visible
line, including the three random check words. The word list holds "ledger" and
"cello", which contains "cell", so about 2.3% of pairings failed the check.

Remove the pairing's own words from the line before the ban check. All other
copy is still checked.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@santoshkumarradha
santoshkumarradha merged commit 7ffd86e into app/v3 Nov 3, 2026
@santoshkumarradha
santoshkumarradha deleted the fix/c41-pair-words branch November 3, 2026 07:23
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