PennController for IBEX › Forums › Support › Randomly present a subset of items › Reply To: Randomly present a subset of items
May 13, 2023 at 4:53 am
#10583

Keymaster
Hi Hailin,
You could use the custom pick
function. Assuming all your critical items have labels that start with exp.
and all your filler items have labels that start with fil.
it would look something like this:
var shuffleSequence = seq( shuffle( pick( randomize(startsWith("exp.")) , 10), pick( randomize(startsWith("fil.")) , 30) ) )
Jeremy