I think it’s just a particularity of the particular deterministic sequence of random numbers used by Sonic Pi. Changing the dataset would not affect the sequence of 1s and -1s (at least f the sequences of data are the same length). Instead you could change it by adding a call to use_random_seed 10000
(or some other number) at the start.