This commit is contained in:
Scott Erickson 2014-03-18 13:48:11 -07:00
commit 514d6024e0

View file

@ -202,7 +202,7 @@ determineIfSessionShouldContinueAndUpdateLog = (sessionID, sessionRank, cb) ->
cb null, true
else
ratio = (updatedSession.numberOfLosses) / (totalNumberOfGamesPlayed)
if ratio > 0.1
if ratio > 0.2
cb null, false
console.log "Ratio(#{ratio}) is bad, ending simulation"
else