Skip to content

fix(core): align DecorrelationMeter to the autocorrelation-corrected margin (Caveat-A) - #10028

Merged
AceHack merged 1 commit into
mainfrom
fix/decorrelationmeter-align-to-corrected-margin-20260804
Aug 4, 2026
Merged

fix(core): align DecorrelationMeter to the autocorrelation-corrected margin (Caveat-A)#10028
AceHack merged 1 commit into
mainfrom
fix/decorrelationmeter-align-to-corrected-margin-20260804

Conversation

@AceHack

@AceHack AceHack commented Aug 4, 2026

Copy link
Copy Markdown
Member

Aligns the DecorrelationMeter (the earlier scope-limited CHSH instrument) with the chshSybilCalibrated default switch (#10027): classifyPair / fuse now bound at 2 + AntiSybil.chshMarginAutocorr (the pairs own HAC effective-sample margin) instead of the i.i.d. chshMargin.

Effect

An autocorrelated / periodic probe stream no longer under-states the fluctuation, so it needs more rounds to convict AboveClassicalBound — the correct, more-conservative behavior. Resolves the modules own SOUNDNESS-block autocorrelation caveat (updated in place).

Same subset logic as the anti-sybil switch: margin_corrected ≥ margin_iid ⇒ can only remove false AboveClassicalBound verdicts, never add. The streams are already in hand at both call sites (no signature change). The i.i.d. chshMargin stays exported for callers who explicitly want it.

Tests

8 DecorrelationMeter tests green with no fixture changes — the s4 fixtures autocorrelation is mild enough that |S|=4 still clears the corrected bound at n=100; the tiny-n non-conviction and identical-pair (S=2) tests hold a fortiori. Core 0-warning.

This was the flagged one-line follow-up from #10027 — the last i.i.d.-chshMargin conviction site is now aligned.

🤖 Generated with Claude Code

…margin (Caveat-A)

DecorrelationMeter.classifyPair / fuse now bound at 2 + AntiSybil.chshMarginAutocorr
(the pair's own HAC effective-sample margin) instead of the i.i.d. chshMargin,
matching the chshSybilCalibrated default switch (#10027). An autocorrelated /
periodic probe stream no longer under-states the fluctuation, so it needs more
rounds to convict AboveClassicalBound — the correct, more-conservative behavior.
Resolves the module's own SOUNDNESS-block autocorrelation caveat (updated).

Same subset logic as the anti-sybil switch: margin_corrected ≥ margin_iid ⇒ can
only remove false AboveClassicalBound verdicts, never add. Streams are already in
hand at both call sites (no signature change). The i.i.d. chshMargin stays exported
for callers who explicitly want it.

8 DecorrelationMeter tests green with NO fixture changes (the s4 fixtures'
autocorrelation is mild enough that |S|=4 still clears the corrected bound at
n=100; the tiny-n non-conviction and identical-pair tests hold a fortiori).
Core 0-warning.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@chatgpt-codex-connector

Copy link
Copy Markdown

Codex usage limits have been reached for code reviews. Please check with the admins of this repo to increase the limits by adding credits.
Credits must be used to enable repository wide code reviews.

@AceHack
AceHack merged commit 388ba35 into main Aug 4, 2026
7 checks passed
@AceHack
AceHack deleted the fix/decorrelationmeter-align-to-corrected-margin-20260804 branch August 4, 2026 15:32
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