Created
July 14, 2016 09:40
-
-
Save kolo/5f2bb30e1c3c5373039adb39805ee4a8 to your computer and use it in GitHub Desktop.
Register A/B test
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name = "foo" # name of A/B test | |
# load split config | |
Wimdu::AbTest::Registry.new | |
experiment = Split::Experiment.new(name) | |
experiment.new_record? | |
experiment.delete | |
experiment = Split::Experiment.new(name) | |
experiment.save | |
Split::ExperimentCatalog.all.map(&:name).sort |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment