Pretty much random, as the name implies, but not always. Never in the same time signature 2 measures in a row.