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: patch random stickiness calculations for rollout strategies #131

Merged
merged 1 commit into from
Apr 4, 2023

Conversation

sighphyre
Copy link
Member

This patches the source of randomness in the % rollout calculations. Previously this was using a number between 0 and 100 (other SDKs use 0 to 10 000). This means pidgeon holing the calculation becomes much, much more likely and certain strings used as a toggle name produce very non uniform rollout distributions

@sighphyre sighphyre requested a review from chriswk April 3, 2023 14:36
@sighphyre sighphyre merged commit 4baecad into v3 Apr 4, 2023
5 checks passed
@sighphyre sighphyre deleted the fix/strategy-distribution branch April 4, 2023 07:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

None yet

2 participants