[sr-dev] git:master: cr: add random distribution function