For quickly testing triplets of dice for this puzzle: https://en.wikipedia.org/wiki/Intransitive_dice
In a repl:
intransitive-dice.core> (test-dice [[2 3 4 5]
[2 6 8 9]
[1 5 7 8]])