Skip to content
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

Prevent SO evaluation to get stuck on multivariate queries. #23

Merged
merged 1 commit into from
Oct 26, 2023

Conversation

MatteoGiomi
Copy link
Member

For some combinations of datasets and parameters, the SinglingOutEvaluator can take very very long when generating multivariate queries. This PR adds a max_attempts parameter that can be use to specify the maximum number of query generation attempts that are allowed. By default this new parameter is None, and have no effect.

@MatteoGiomi MatteoGiomi added the enhancement New feature or request label Oct 26, 2023
@MatteoGiomi MatteoGiomi self-assigned this Oct 26, 2023
Copy link
Contributor

@eicca eicca left a comment

Choose a reason for hiding this comment

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

Thanks for this wonderful contribution @MatteoGiomi, I've left a few comments!

src/anonymeter/evaluators/singling_out_evaluator.py Outdated Show resolved Hide resolved
Copy link
Contributor

@eicca eicca left a comment

Choose a reason for hiding this comment

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

Looks good to me 👍

@MatteoGiomi MatteoGiomi merged commit 5f54a7d into main Oct 26, 2023
4 checks passed
@MatteoGiomi MatteoGiomi deleted the matteo/feat/timeout-so-queries branch October 26, 2023 14:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants