Nengo Spaun gambling code


I’m trying to do some neuroeconomic modelling using Nengo. I’ve found the framework to be quite nice to work with. One question I had relates to an example that is mentioned, but I’ve never seen explained. That is, in several places it mentions that the Spaun system had a mechanism to perform gambling. Is there code that demonstrates what was done that is available somewhere?

In part I’m interested in modelling the expected utility of the gambles and then also determining how to select the appropriate wager to make. I’ve found some of the reinforcement learning examples helpful with some of this, but I was hoping to find a more complete single example.