Multiple Random List Splits / Partitions

I’m struggling a bit with the logic on this one. I’m looking for something like a Split List with multiple indices. Ultimately I’m just trying to divide a list into number of branches, keeping the original order but randomizing the partition size.

This sort of works, for two random splits / three partitions, but I’d like dynamic control the number.

random splits.gh (6.6 KB)

What about Partition list?