Skip to content

Limit user contributions in a group by #297

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 13 commits into from
Dec 10, 2024
Merged

Conversation

andicuko
Copy link
Contributor

@andicuko andicuko commented Dec 6, 2024

In this MR we limit the user contribution to at most cu groups when applying tau thresholding. cu is now a privacy parameter which by default is 1.

@andicuko andicuko requested a review from ngrislain December 6, 2024 15:31
) -> DpParameters {
DpParameters {
epsilon,
delta,
tau_thresholding_share,
privacy_unit_max_multiplicity,
privacy_unit_max_multiplicity_share,
max_user_groups,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There is no notion of user in qrlew -> please align the naming e.g. max_group_per_privacy_unit or max_privacy_unit_groups

&self,
epsilon: f64,
delta: f64,
max_user_groups: u64,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't know what a user is

let right = left.clone();

// Build an auto join to emulate a window function.
let columns_and_pu_and_rand: Vec<_> = columns_and_pu
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Isolate the contrib limitation code

@ngrislain ngrislain merged commit 5f485a1 into main Dec 10, 2024
1 check passed
@ngrislain ngrislain deleted the limit_user_contributions_gb branch December 10, 2024 13:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants