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 Unexpected Behaviour of Count Obfuscation #217

Merged
merged 1 commit into from
Nov 23, 2022

Conversation

alexanderkiel
Copy link
Member

First we now return zero when the actual value is zero in order to keep unnecessary workloads away from the sites.

Second, we changed the epsilon from 0.12 to 0.28 in order to lower the standard derivation from about 11 to about 5 in order to get back to about the same variation as the old algorithm.

Third, we changed the sensitivity of the sample count to 10, because most patients will have about 10 samples.

First we now return zero when the actual value is zero in order to keep
unnecessary workloads away from the sites.

Second, we changed the epsilon from 0.12 to 0.28 in order to lower the
standard derivation from about 11 to about 5 in order to get back to
about the same variation as the old algorithm.

Third, we changed the sensitivity of the sample count to 10, because
most patients will have about 10 samples.
@alexanderkiel alexanderkiel self-assigned this Nov 22, 2022
@alexanderkiel alexanderkiel added the bug Something isn't working label Nov 22, 2022
@sonarqubecloud
Copy link

SonarCloud Quality Gate failed.    Quality Gate failed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 5 Code Smells

0.0% 0.0% Coverage
0.0% 0.0% Duplication

Copy link
Member

@TKussel TKussel 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. If the @RepeatedTest annotation works as I understand it, this is a way better way of testing (see comment).

@alexanderkiel alexanderkiel merged commit 24ad4f3 into develop Nov 23, 2022
@alexanderkiel alexanderkiel deleted the fix/obfuscation branch November 23, 2022 13:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants