Counterbalancing in builder view can involve making a large number of conditions files (.xlsx or .csv).

This script will automate that process by generating all permutations of your conditions and assigning a letter suffix to the file name.

You then need to add a field 'group' to your experiment settings where the input is a list of letters e.g. ['A', 'B'] and in the Conditions field of your outer loop (which specifies the order of blocks/conditions) use the format:

$'conditions'+expInfo['group']+'.csv'

Name
Last commit
Last update
.gitignore Loading commit data...
conditions.csv Loading commit data...
conditionsA.csv Loading commit data...
conditionsB.csv Loading commit data...
makeCondFile.py Loading commit data...
makeCondFiles.py Loading commit data...