Skip to content

test(writer): bit-width sweep property for bitpacked encode/decode#91

Merged
dfa1 merged 1 commit into
mainfrom
test/bitpacked-width-sweep
Jun 20, 2026
Merged

test(writer): bit-width sweep property for bitpacked encode/decode#91
dfa1 merged 1 commit into
mainfrom
test/bitpacked-width-sweep

Conversation

@dfa1

@dfa1 dfa1 commented Jun 20, 2026

Copy link
Copy Markdown
Owner

Pin and round-trip every bit width 1..32 (u32) and 1..64 (u64): each case forces
its width by including 2^W-1 and fills the rest with random W-bit values, covering
the boundaries (1, 8, 31/32, 63/64) the existing curated arrays didn't hit
deterministically. encode→decode must be lossless for all 96 widths.

Co-Authored-By: Claude Opus 4.8 noreply@anthropic.com

Pin and round-trip every bit width 1..32 (u32) and 1..64 (u64): each case forces
its width by including 2^W-1 and fills the rest with random W-bit values, covering
the boundaries (1, 8, 31/32, 63/64) the existing curated arrays didn't hit
deterministically. encode→decode must be lossless for all 96 widths.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@dfa1 dfa1 merged commit aede11d into main Jun 20, 2026
6 checks passed
@dfa1 dfa1 deleted the test/bitpacked-width-sweep branch June 20, 2026 12:14
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