Hi Jérémy,
Yes, great, that's exactly what I was looking for! I can't get it to work though - I tried putting the function in the example_data.js and alternatively appending it to shuffle.js, but that's not the issue. My items in part 2 are different to those in part 1, but I tested it on part 1 only and it still showed the full 100%. My sequence looks like:
var shuffleSequence = seq("intro",
"setcounter",
"demographics",
"part1",sepWith("sep", seq(rshuffle("pva","pvb","filler"))),
"part2",sepWith("sep", seq(rshuffle("awa","awb"), randomProportion(rshuffle("awa","awb"), .33))),
"end");
Maybe I've made a typo somewhere? It runs, just shows 100% instead of 33%.
Best,
Kate