test(writer): property + mutation coverage for Delta/AlpRd encoders#106
Merged
Conversation
Add seeded-random round-trip property tests for the fastlanes.delta and vortex.alprd encoders, and bring both under the writer pitest scope. - Delta: cover all eight integer ptypes and sizes 0/1/5/1024/1025/3000, exercising the multi-chunk loop, cross-chunk transpose and offset-slice tail that the prior <16-element cases never reached; assert the zone-map min/max stats (signed int64 + unsigned uint64 ordering) and the empty no-stats guard. - AlpRd: bit-exact round-trip over random finite f32/f64 across the same sizes, hitting the exception-heavy and multi-chunk paths. - Add accepts() coverage for both sides. Pitest: Delta survivors 22->8, writer test strength 82%->85%. The remaining survivors are round-trip-invariant (Delta internal base/padding representation; AlpRd dictionary-selection heuristic) and are pinned by the Rust interop and file-size integration tests, not by Java round-trips. Co-Authored-By: Claude Opus 4.8 <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.
Adds seeded-random round-trip property tests for the
fastlanes.deltaandvortex.alprdencoders, and brings both under the writer pitest scope.FL_CHUNK_SIZE=1024). Asserts zone-map min/max stats (signed int64 + unsigned uint64 ordering) and the empty no-stats guard.accepts()coverage for both sides.Pitest: Delta survivors 22→8, writer test strength 82%→85%. Remaining survivors are round-trip-invariant (Delta internal base/padding representation; AlpRd dictionary-selection heuristic) and are pinned by the Rust interop + file-size integration tests, not Java round-trips.
🤖 Generated with Claude Code