Skip to content

test(writer): property + mutation coverage for Delta/AlpRd encoders#106

Merged
dfa1 merged 1 commit into
mainfrom
test/alprd-delta-coverage
Jun 20, 2026
Merged

test(writer): property + mutation coverage for Delta/AlpRd encoders#106
dfa1 merged 1 commit into
mainfrom
test/alprd-delta-coverage

Conversation

@dfa1

@dfa1 dfa1 commented Jun 20, 2026

Copy link
Copy Markdown
Owner

Adds seeded-random round-trip property tests for the fastlanes.delta and vortex.alprd encoders, and brings both under the writer pitest scope.

  • Delta: all eight integer ptypes × sizes 0/1/5/1024/1025/3000 — first coverage of the multi-chunk loop, cross-chunk transpose, and offset-slice tail (prior cases maxed at 16 rows vs FL_CHUNK_SIZE=1024). Asserts 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 exception-heavy and multi-chunk paths.
  • 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

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>
@dfa1 dfa1 merged commit d3d245a into main Jun 20, 2026
6 checks passed
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