davezych / shience

A .NET port(ish) of Github's Scientist library. (https://github.com/github/scientist)
MIT License
9 stars 1 forks source link

Implement runif functionality #4

Closed davezych closed 8 years ago

davezych commented 8 years ago

Implement a runif functionality, which will allow specifying a predicate that determines whether or not to actually run the experiment. Example usages:

MovGP0 commented 8 years ago

An alternative would be a fluent .Where() or .When() extension method. In my opinion this would be nicer, because developers are already used to the name, so they would remember it better.

davezych commented 8 years ago

Once #8 is implemented I agree that this should also be implemented with a fluent interface.