Repository navigation
Add group_size parameter to calibrate and export dpsynth.with_group_size. - #230
Merged
Merged
Conversation
copybara-service
Bot
force-pushed
the
cl/993839025
branch
2 times, most recently
from
October 6, 2026 18:36
18d117d to
9219193
Compare
max_records_per_user plumbing from configure in favor of with_group_size on dp_event.with_group_size in calibrate and stop forwarding max_records_per_user from top-level configs.
copybara-service
Bot
force-pushed
the
cl/993839025
branch
2 times, most recently
from
October 7, 2026 00:35
1864e9b to
16dbdcd
Compare
with_group_size in calibrate and stop forwarding max_records_per_user from top-level configs.with_group_size in calibrate instead of forwarding max_records_per_user.
copybara-service
Bot
force-pushed
the
cl/993839025
branch
3 times, most recently
from
October 7, 2026 07:15
08d5de0 to
b2f5634
Compare
with_group_size in calibrate instead of forwarding max_records_per_user.group_size parameter to calibrate and export dpsynth.with_group_size.
copybara-service
Bot
force-pushed
the
cl/993839025
branch
from
October 8, 2026 02:18
b2f5634 to
a689a31
Compare
…oup_size`. PiperOrigin-RevId: 995941188
copybara-service
Bot
force-pushed
the
cl/993839025
branch
from
October 8, 2026 17:57
a689a31 to
bc3798f
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add
group_sizeparameter tocalibrateand exportdpsynth.with_group_size._calibration.calibratenow acceptsgroup_size: int = 1(replacingmax_records_per_user) and lifts the candidate mechanism'sdp_eventviawith_group_size(base, group_size)before applyingpoisson_sampling_prob.with_group_sizeindpsynth/__init__.pyand clarify onCalibratedMechanism.dp_eventthat it always reports the base record-level, un-subsampled privacy guarantee.