- Michel Fodje's simulation in Python (https://github.com/minkwe/epr-simple/) of the model from Joy Christian converted to R: http://rpubs.com/gill1109/13325
- Chantal's Java model (see link on the right side of this page) in R: http://rpubs.com/gill1109/13329
The last two implementations give a nice overview of which CHSH can be obtained when allowing a part of the particle pairs not to be detected.
The simulation that implements Joy Christian's model is discussed at http://www.sciphysicsforums.com/spfbb1/viewtopic.php?f=6&t=11. In short this simulation also leaves out a part of the initial particle pairs, so some say it makes use of the detection loophole. Joy argues that in his model these particle states do not exist, so should not be counted anyway.
and a mathematic version written by John Reed: http://libertesphilosophica.