normandy icon indicating copy to clipboard operation
normandy copied to clipboard

Add `randomSample` transform

Open Osmose opened this issue 9 years ago • 3 comments
trafficstars

S&I has a few usecases for random sampling, mainly being used in conjunction with a stable sample in order to spread out the distribution of the stable-sampled audience over time.

Transforms seem to be the way to go, so how about:

0.5|randomSample()

@rayborn @mythmon How does the syntax above look?

Osmose avatar Nov 17 '16 01:11 Osmose

LGTM

mythmon avatar Oct 18 '17 19:10 mythmon

Filed bug 1435883 for the client side of this.

mythmon avatar Feb 05 '18 22:02 mythmon

Fairly complex to do on the client side - so holding on the server side work until client can be done. Check into the bug for progress. Not high priority - but on radar.

shell1 avatar Jul 09 '19 17:07 shell1