This is my best attempt at generating complete test vectors for the ML-KEM compress() and decompress() functions described by the FIPS 203 IPD.
This is has not (yet) been subject to cross-referencing against any other implementation. It may be incorrect!!!
If your implementation doesn't match up, please let me know.
["compress"][d][x]
holds the result of compress_d(x)
["decompress"][d][y]
holds the result of decompress_d(y)
The values for d==0 are not especially meaningful, but I left them in to keep the array indexing sensible.
Assuming I've generated these correctly, the data ought to be identical to anyone else's - consider it CC0 licensed or whatever, although consider linking back to this page (https://gist.github.com/DavidBuchanan314/a6fcf8cc465e861916a8eb9f8f233ce5) for reference purposes, in case any issues are reported.