Page MenuHomePhabricator

[Java] Test distribution of pageview/session IDs
Closed, DeclinedPublic3 Estimated Story Points

Description

AC

Notes

  • We don't actually need to test if ~10% of sessions are determined to be in sample when sample rate is 0.1, etc. – INSTEAD we just need to verify that the distribution of those N numbers (obtained from "normalizing" the randomly generated session IDs) is approximately Uniform(0,1).

We can use https://commons.apache.org/proper/commons-math/javadocs/api-3.6.1/org/apache/commons/math3/stat/inference/KolmogorovSmirnovTest.html in the Java implementation