Running batch script in purely random order


Author
Message
astovall
astovall
New Member (22 reputation)New Member (22 reputation)New Member (22 reputation)New Member (22 reputation)New Member (22 reputation)New Member (22 reputation)New Member (22 reputation)New Member (22 reputation)New Member (22 reputation)
Group: Forum Members
Posts: 8, Visits: 32
Hello,

I want to run a batch script of three different tests in a purely random order (not related to group assignment or session). Is this possible? The selectionmode attribute doesn't seem to do anything in a batch element.

Thank you.
Dave
Dave
Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)
Group: Administrators
Posts: 13K, Visits: 109K
astovall - 9/23/2025
Hello,

I want to run a batch script of three different tests in a purely random order (not related to group assignment or session). Is this possible? The selectionmode attribute doesn't seem to do anything in a batch element.

Thank you.

Yes, this is possible. Set /selectionMode = random in the <batch> element.

https://www.millisecond.com/support/docs/current/html/language/attributes/selectionmode.htm
astovall
astovall
New Member (22 reputation)New Member (22 reputation)New Member (22 reputation)New Member (22 reputation)New Member (22 reputation)New Member (22 reputation)New Member (22 reputation)New Member (22 reputation)New Member (22 reputation)
Group: Forum Members
Posts: 8, Visits: 32
Below is what I’ve tried (apologies, I should’ve included this with my original post), but it runs the tasks in sequential order every time.


/ file = “script1.iqx”
/ file = “script2.iqx”
/ file = “script3.iqx”
/ selectionmode = random

Dave
Dave
Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)Supreme Being (1M reputation)
Group: Administrators
Posts: 13K, Visits: 109K
astovall - 9/24/2025
Below is what I’ve tried (apologies, I should’ve included this with my original post), but it runs the tasks in sequential order every time./ file = “script1.iqx”/ file = “script2.iqx”/ file = “script3.iqx”/ selectionmode = random

Yes, that's correct and works perfectly fine here. If you're testing with Inquisit Lab, close the application between runs. It may be that the randomizer doesn't get a new seed value otherwise and threfore produces the same order.
astovall
astovall
New Member (22 reputation)New Member (22 reputation)New Member (22 reputation)New Member (22 reputation)New Member (22 reputation)New Member (22 reputation)New Member (22 reputation)New Member (22 reputation)New Member (22 reputation)
Group: Forum Members
Posts: 8, Visits: 32
Dave - 9/24/2025
astovall - 9/24/2025
Below is what I’ve tried (apologies, I should’ve included this with my original post), but it runs the tasks in sequential order every time./ file = “script1.iqx”/ file = “script2.iqx”/ file = “script3.iqx”/ selectionmode = random

Yes, that's correct and works perfectly fine here. If you're testing with Inquisit Lab, close the application between runs. It may be that the randomizer doesn't get a new seed value otherwise and threfore produces the same order.

Ah, I think that was my issue. Closing Inquisit Lab and rebooting the machine fixed it. Thank you!!
GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...




Reading This Topic

Explore
Messages
Mentions
Search