private-attribution / ipa

A raw implementation of Interoperable Private Attribution
MIT License
42 stars 25 forks source link

add dp_for_histogram to hybrid, complete unit test #1451

Open eriktaubeneck opened 5 days ago

eriktaubeneck commented 5 days ago

this adds DP noise to the histogram (only on the leader shard.) it also allows for a proper unit test of hybrid end-to-end.

note there are a few changes to be made after landing #1446.

codecov[bot] commented 5 days ago

Codecov Report

Attention: Patch coverage is 97.29730% with 4 lines in your changes missing coverage. Please review.

Project coverage is 93.64%. Comparing base (d7d4b50) to head (3b9683f). Report is 11 commits behind head on main.

Files with missing lines Patch % Lines
ipa-core/src/query/runner/hybrid.rs 90.00% 3 Missing :warning:
ipa-core/src/test_fixture/hybrid.rs 99.04% 1 Missing :warning:
Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #1451 +/- ## ========================================== + Coverage 93.53% 93.64% +0.10% ========================================== Files 232 233 +1 Lines 41297 41476 +179 ========================================== + Hits 38627 38839 +212 + Misses 2670 2637 -33 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.