leerho opened a new pull request, #28:
URL: https://github.com/apache/datasketches-tck/pull/28

   datasketches-cpp now generates density snapshots 
(apache/datasketches-cpp#588, for apache/datasketches-cpp#584) with the same 
inputs as the Rust generator: k = 10, dim = 3, points {x, sqrt(x), -x}, n in 
{0, 1, 10, 100, 1000, 10000}. C++ density compaction uses a random shuffle that 
the generator does not seed, so the images with n >= 100 change from run to 
run. This classifies them as unstable, as `rustStability` already does for Rust.
   
   This PR only adds the rule and its tests. The weekly snapshot update will 
pick up the new C++ files at the next C++ revision. I ran `snapshots update 
cpp` at apache/datasketches-cpp@7425057a locally to check it: 102 files are 
added (density, AoS, count-min v2, KLL with k = 1000 and 65535), and 
`count_min_empty` / `count_min_non_empty` are deleted (replaced by the 
count-min v2 files from apache/datasketches-cpp#576).
   
   Two things the snapshots will show:
   - The C++ density images now carry family ID 23 
(apache/datasketches-cpp#590), so the n = 0, 1 and 10 images, which match Rust 
byte for byte otherwise, differ from Rust's in byte 2 until Rust also moves to 
23.
   - On macOS, `frequent_string_*_cpp.sk` came out with the same bytes as the 
committed (Linux) files except for item order: C++ frequent items hashes 
strings with `std::hash`, which differs between libc++ and libstdc++. The 
scheduled update runs on Linux, so this doesn't affect it, but a local update 
on macOS shows them as changed stable files.
   
   `mise run check` passes.
   
   🤖 Generated with [Claude Code](https://claude.com/claude-code)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to