google / differential-privacy

Google's differential privacy libraries.
Apache License 2.0
3.08k stars 353 forks source link

Export TestNoiseFactory in Maven artifact #267

Open SanjayVas opened 7 months ago

SanjayVas commented 7 months ago

There is currently no way for library users to specify their own Random implementation when building noisers. This prevents tests from having predictable/deterministic results.

This can be exported in a separate Maven artifact that is specifically for testing which ideally includes all testonly artifacts in the main tree.

Related to #107