Code for experiment described in "The consistency of the subjective concept of randomness. Ru Qi Yu, Jordan Gunn, Daniel Osherson, Jiaying Zhao. Quarterly journal of experimental psychology. 2018.
The paper can be found here: https://www.princeton.edu/~osherson/papers/consistency.pdf
Check files with name "screenshot" to see screenshots of the code.