Repository navigation
benchd: seal the timed-token tolerance figures only coarsened - #5
Open
GumbiiDigital wants to merge 1 commit into
Open
GumbiiDigital wants to merge 1 commit into
GumbiiDigital wants to merge 1 commit into
Conversation
The timed-token tolerance path sealed the candidate's token_mismatch_* figures verbatim, and its refusal texts interpolated the candidate's mismatch count, the first diverging position and the reference gap at full precision. The sealed record goes back to the participant whose engine has seen the hidden prompt, and the engine chooses which tokens it commits, so those exact values form a small read-back channel. - Sealed record (flat metrics and every paired_legs row, refused runs included): the mismatch, near-tie and second-choice counts seal as a power-of-two bucket (0 stays 0), the max second-choice gap at 2 decimals, and token_mismatch_first_step not at all (absent on the flat metrics, null on a pair row). In memory they stay exact for the judge. - TIMED-DIVERGENCE-NOT-A-NEAR-TIE names no position and rounds the gap to 2 decimals; TIMED-DIVERGENCE-OVER-TOLERANCE states the allowance benchd computed from the fixture instead of the candidate's count. The tolerance refusal seals first_failing_step as null. - benchd logs the exact values to stderr. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The timed-token tolerance path added in the 2026-09-28 snapshot seals engine-chosen values verbatim:
token_mismatch_count,token_mismatch_first_step,token_mismatch_near_tie_count(and the second-choice count and max relative gap), in the flat metrics and in everypaired_legsrow, including refused runs;TIMED-DIVERGENCE-NOT-A-NEAR-TIEtext, which interpolates the first diverging position and the reference gap at full precision, and theTIMED-DIVERGENCE-OVER-TOLERANCEtext, which interpolates the candidate's mismatch count.The sealed record goes back to the participant, whose engine has seen the hidden prompt and chooses which tokens it commits. Exact values therefore form a small read-back channel (several bits per pair).
Change
token_mismatch_first_stepnot at all (absent on the flat metrics, null on a pair row, so the row's key set is unchanged). The judge still decides on the exact in-memory values.first_failing_stepas null.2 files:
crates/benchd/src/official.rs,crates/benchd/src/score.rs.Tests
the_sealed_record_holds_no_exact_token_counts: count 13, first step 45 and gap 0.123456 seal as 16, no step, and 0.12, on the flat metrics and a pair row.cargo fmt --check,cargo clippy --workspace --all-targets -D warningsand all benchd tests pass (655, 1 ignored).--test-threads=1.🤖 Generated with Claude Code