-
-
Notifications
You must be signed in to change notification settings - Fork 368
Closed
Description
When an app using Split initially loads, it loads the weights for alternatives from the configuration. These weights are correctly preserved in memory for use by the weighted algorithm.
However, if you're debugging and you call Split::Experiment.all, the experiment objects you get are loaded from Redis, and since Redis doesn't store the weights, all the weights are 1.
I can patch this but I'm wondering what you think the correct behavior is. Should the database store the weights so they can be fetched? Should they just be re-fetched from the configuration?