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

Weights on alternatives #11

Open
naveediitb opened this issue Jul 31, 2020 · 1 comment
Open

Weights on alternatives #11

naveediitb opened this issue Jul 31, 2020 · 1 comment

Comments

@naveediitb
Copy link

Hi,

I was trying to test an uneven split(90-10) by providing weights on alternatives for an experiment and it looks like the weights are not taken into consideration

experiment_name = "check_uneven_90_10"
alternatives = [("A", 90), ("B", 10)]
ab_test(experiment_name, *alternatives)

Also tried with
alternatives = [("A", 0.9), ("B", 0.1)]

I am still seeing an even(~50-50) split

Screen Shot 2020-07-31 at 7 52 45 AM

Please let me know if I am missing something or I am using this correctly?
Thanks in advance.

@naveediitb
Copy link
Author

Hi @jpvanhal - I have created a PR and suggested an update that can fix this issue. Please have a look and thank you for creating the repo

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

No branches or pull requests

1 participant