random assignment function to handle complete assignment for non uniform probabilities and blocks
the function can:
Lots of illustrations here https://macartan.github.io/probra/
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.