Error while executing inline script
I am getting the following error when I try to run the experiment.
The weird thing is that it only happens sometimes. Other times the experiment works completely fine. Any ideas?
Also, this is the inline script it is referring to:
#Increase total reward by amount of reward for that trial. Run only if [correct]=1 var.total_reward = var.total_reward + var.reward_value