Repository navigation
fix: one counter-example no longer turns offers into writes - #423
Conversation
A counter centre of one row has tightness 1.0, so its score was never scaled. Against it the term's own sentences always read closer, and one "So how" counter turned Hono offers into writes (7 -> 24 on pack-100). With a floor, the comparison now waits for floorMinimum counters. The fingerprint rule changes, so stored summaries are rebuilt. check-counter-portrait.sh gains a one-counter arm. It must give the same verdicts as the floor arm. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01Jptb12ieonqTHyXStMVCt7 Signed-off-by: Nathan Zylbersztejn <[email protected]>
|
Automatic reviews are disabled for this repository. Configure in Code Review Settings. |
|
No actionable comments were generated in the recent review. WalkthroughThe portrait read path now requires counter rows before it uses a counter centre: at least one row without a floor, or at least Estimated code review effort: 2 (Simple) | ~10 minutes Possibly related PRs
Merge Risk:
|
One counter-example could turn a term's offers into writes. Now a term with a floor needs 3 counters before the counter comparison replaces the floor.
A counter centre built from one row has tightness 1.0, so its score was never scaled. Against it, the term's own sentences always read closer. On the pack-100 replay, one "So how" counter on Hono raised Hono writes from 7 to 24.
Evidence
scripts/check-counter-portrait.shgains a "one counter per term" arm. It must give exactly the floor arm's verdicts. On main that arm writes 9 wrong words out of 24 cases (7 of 20 held out), for example "versatile" -> Vercel, "praise" -> Praisy, "Gwen" -> Qwen. With this change it passes, and the comparison arm still makes 0 held-out errors.…/cut1/gate1), so stored summaries are rebuilt.🤖 Generated with Claude Code
https://claude.ai/code/session_01Jptb12ieonqTHyXStMVCt7