danpovey/lilcom

Testing multi-platform reproducibility

Opened this issue · 1 comments

@soroushzargar can you please make it so that your end-to-end reconstruction-test also prints out some kind of hash values of the compressed arrays? (E.g. could just be the result of casting to int32 and then summing all the elements).

What we need is to make sure that this gives exactly the same results (bitwise) on different platforms. If there are inter-platform differences it can render the files non-decompressible.
(This is true at the int16 level; differences in how we round the floats to int16 would be OK.)

Ok, I'll go with the thing you suggested. If anything with more complex value was needed, just tell me.