Behavioral task used to check the effect of stress on contagion of risk aversity on humans.
The task paradigm is similar to the one used by Shinsuke Suzuki et. al. on their 2016 PNAS paper. Some modifications were made, especially on the timings of paradigm, so that the task would be more appropriate for a behavioral task.
Task is made up of two separate scripts for two separate phases. The config for second phase is generated in the first phase.