Decoders (be it SDDL or programmatic) can be non-trivial and pair with encoders written in other languages. Errors are hard to catch since a faulty decoder will not crash the compressor, rather silently produce worse results.
Is there an existing or planned testing framework for decoders? Perhaps a minimal interface along the lines of zli decode spec.sddl -i input-stream.bin -o output-segments.json with the user responsible for inspecting and validating the output. This is CI friendly, one can commit to the desired output and have git check that it hasn't changed after the zli call.
Decoders (be it SDDL or programmatic) can be non-trivial and pair with encoders written in other languages. Errors are hard to catch since a faulty decoder will not crash the compressor, rather silently produce worse results.
Is there an existing or planned testing framework for decoders? Perhaps a minimal interface along the lines of
zli decode spec.sddl -i input-stream.bin -o output-segments.jsonwith the user responsible for inspecting and validating the output. This is CI friendly, one can commit to the desired output and have git check that it hasn't changed after thezlicall.