-
-
Notifications
You must be signed in to change notification settings - Fork 369
Closed
Description
We are seeing a weird behavior where when calling Split::ExperimentCatalog.all the array returned includes a nil value. Here is a sample array that was returned to us this morning:
[nil, #<Split::Experiment:0x007f5f53ac44a0 @name="20140422_homepage_testimonials", @alternatives=[#<Split::Alternative:0x007f5f53ad7410 @experiment_name="20140422_homepage_testimonials", @name="no", @weight=1>, #<Split::Alternative:0x007f5f53ad73e8 @experiment_name="20140422_homepage_testimonials", @name="yes", @weight=1>], @goals=[], @resettable=false, @algorithm=Split::Algorithms::WeightedSample>, #<Split::Experiment:0x007f5f53ad5318 @name="engraving_option", @alternatives=[#<Split::Alternative:0x007f5f53ae8a58 @experiment_name="engraving_option", @name="separate", @weight=1>, #<Split::Alternative:0x007f5f53ae8a30 @experiment_name="engraving_option", @name="inline", @weight=1>], @goals=[], @resettable=false, @algorithm=Split::Algorithms::WeightedSample>]
This breaks a bunch of expectations we have when running code like this Split::ExperimentCatalog.all.select {|e| !e.has_winner?}
Metadata
Metadata
Assignees
Labels
No labels