Skip to content

docs(design): zsync adversarial sparse-match test fixture (#2080) - #3717

Merged
oferchen merged 1 commit into
masterfrom
docs/zsync-sparse-match-2080
May 5, 2026
Merged

oferchen merged 1 commit into
masterfrom
docs/zsync-sparse-match-2080

Conversation

@oferchen

@oferchen oferchen commented May 5, 2026

Copy link
Copy Markdown
Owner

Summary

  • Pin parameters, invariants, and pass/fail thresholds for the extreme
    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).
  • Establish the fixture as the principal large-N evidence gate for the
    bithash prefilter (Fix overflow in filter shortcut counting #2061) one-sided invariant and the >= 99.99%
    rejection-rate threshold against the saturated tag_table baseline.
  • Specify a deterministic basis-vs-target generator (splitmix64,
    byte-disjoint ranges) extending the sibling fixture Respect last occurrence for tri-state toggles #2079, with a
    block-size sweep over {700, 4096, 65536}.
  • Choose harness shape: #[ignore] integration test for correctness
    invariants plus a cfg-gated criterion bench under bench-bithash
    for the rejection-rate threshold. Mirrors the precedent at
    crates/match/tests/sparse_match_fixture.rs:299-311.

Test plan

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.
@github-actions github-actions Bot added the documentation Improvements or additions to documentation label May 5, 2026
@oferchen
oferchen merged commit efee421 into master May 5, 2026
8 checks passed
@oferchen
oferchen deleted the docs/zsync-sparse-match-2080 branch May 6, 2026 18:56
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.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant