Reply To: Randomization by feature and by item

PennController for IBEX Forums Support Randomization by feature and by item Reply To: Randomization by feature and by item

#9712
MKonrad
Participant

Hi,

I think the problem lies in the prefix specified in startsWith. Since all features “Feature 60” to “Feature 69” start with “Feature 6” they’re mixed up. Adding “-” to the common prefix after the number should fix this.

Change the line 40 as follows **and delete line 41** and it should work:


features = [...new Array(119)].map((v,n)=>randomize(startsWith("Feature "+Number(n+1)+"-")))

Best,
Markus

  • This reply was modified 1 year, 5 months ago by MKonrad.
  • This reply was modified 1 year, 5 months ago by MKonrad.