Get the zstd codec working and debug the failing level-19 cases.
- User
Get the zstd codec working and debug the failing level-19 cases.
Assistant
I'll debug the zstd failures and get the codec working.
Assistant
Output stops at 117 correct bytes — the long-match sequence mis-decodes. Instrumenting temporarily.
Assistant
Sequences 0-1 decode correctly; the drift happens in the state updates before sequence 2. Printing the update chain.
Assistant
Sequences 0-1 and all bit arithmetic check out; only the ML default table disagrees. Fetching the authoritative spec table.
Assistant
All six pass — the bug was my misremembered ML default distribution (fixed from the spec). Wiring zstd into zarr and blosc.
Assistant
Wave 21 is complete, pushed, and the PR is updated. All green: 577 Rust tests, 1053 pytest, clippy 0, ruff clean. This wave delivered the single largest remaining item — Zstandard decompression, implemented entirely from scratch.