Repository navigation
docs(design): zsync adversarial sparse-match test fixture (#2080) - #3717
Merged
Merged
Conversation
Pin the parameters, invariants, and pass/fail thresholds for the extreme sparse-match fixture: a 100 MiB basis where one block in 25600 matches the target. The fixture is the principal large-N evidence gate for the bithash prefilter (#2061) before it lands in release configuration.
oferchen
added a commit
that referenced
this pull request
May 18, 2026
) Pin the parameters, invariants, and pass/fail thresholds for the extreme sparse-match fixture: a 100 MiB basis where one block in 25600 matches the target. The fixture is the principal large-N evidence gate for the bithash prefilter (#2061) before it lands in release configuration.
oferchen
added a commit
that referenced
this pull request
Aug 24, 2026
) Pin the parameters, invariants, and pass/fail thresholds for the extreme sparse-match fixture: a 100 MiB basis where one block in 25600 matches the target. The fixture is the principal large-N evidence gate for the bithash prefilter (#2061) before it lands in release configuration.
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
sparse-match fixture (Ensure delete-after uses content verification before skipping copy #2080): 100 MiB basis where one block in 25600
matches the target stream (one match per 100 MiB at 4 KiB blocks).
bithash prefilter (Fix overflow in filter shortcut counting #2061) one-sided invariant and the >= 99.99%
rejection-rate threshold against the saturated
tag_tablebaseline.byte-disjoint ranges) extending the sibling fixture Respect last occurrence for tri-state toggles #2079, with a
block-size sweep over
{700, 4096, 65536}.#[ignore]integration test for correctnessinvariants plus a cfg-gated criterion bench under
bench-bithashfor the rejection-rate threshold. Mirrors the precedent at
crates/match/tests/sparse_match_fixture.rs:299-311.Test plan
sweep, K=1) align with Ensure delete-after uses content verification before skipping copy #2080 requirements.
rate) is consistent with
docs/design/zsync-bithash.mdsection 7.in
crates/match/.