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

I should be able to exclude someone from an experiment at any time #12

Open
AndyStabler opened this issue Apr 30, 2018 · 0 comments
Open

Comments

@AndyStabler
Copy link
Owner

At some point I can set up an experiment like so

let andyAb = new AndyAB("an experiment")
.withCohorts("control", "treatment")
.enrol()
.whenIn("control", () => { ... })
.whenIn("treatment", () => { ... });

andyAb.getCohort(); // treatment

I should also be able to explicitly exclude users at some point later on like so:

object.onClick = function() {
  let andyAb = new AndyAB("an experiment");
  andyAb.exclude("exclusion cohort");
  andyAb.getCohort(); // exclusion cohort
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant