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

fix: threshold is inclusive #66

Merged
merged 1 commit into from
Jan 5, 2024
Merged

fix: threshold is inclusive #66

merged 1 commit into from
Jan 5, 2024

Conversation

gsfk
Copy link
Member

@gsfk gsfk commented Jan 5, 2024

Bug fix: censorship threshold is supposed to be inclusive, but values equal to the threshold were passing through.

Note that the threshold is correctly applied elsewhere in the code, so parts of the response were inconsistent.

Copy link
Member

@davidlougheed davidlougheed left a comment

Choose a reason for hiding this comment

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

lgtm. maybe we should add some bento_lib submodule to do threshold censorships so we always have consistent behaviour between services.

@gsfk
Copy link
Member Author

gsfk commented Jan 5, 2024

It's not immediately obvious to me how to do this, but centralized and consistent is good.

@davidlougheed
Copy link
Member

i'll make an issue for myself for a future version.

@davidlougheed
Copy link
Member

@gsfk gsfk merged commit b384e98 into master Jan 5, 2024
1 check passed
@gsfk gsfk deleted the fixes/missing-summary branch January 5, 2024 22:02
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