Open
Description
When using the science
method in the Scientist
module, I want to supply an extra parameter that would be used inside the enabled?
method to determine whether to run the experiment.
The intention is to be able to control, on a per-experiment basis, the percentage of time that the experiment will actually run.
Is something like this possible?
Activity
jbarnette commentedon Aug 22, 2017
@jamesbrauman That's a good idea! There's no interface for it right now, but I dig it.
jamesbrauman commentedon Aug 23, 2017
@jbarnette Thanks for replying. For further information, I'm presently doing something like this to achieve what I want:
And then in the
enabled?
method in my experiment, I am doing:And my preferred way of doing it would be to pass that to the
science
call:Would you like me to make a pull request?