mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-03-23 19:32:03 -04:00
Dramatically raised ratio requirements
This commit is contained in:
parent
a461a14d6e
commit
326b39b633
1 changed files with 1 additions and 1 deletions
|
@ -202,7 +202,7 @@ determineIfSessionShouldContinueAndUpdateLog = (sessionID, sessionRank, cb) ->
|
||||||
cb null, true
|
cb null, true
|
||||||
else
|
else
|
||||||
ratio = (updatedSession.numberOfLosses) / (totalNumberOfGamesPlayed)
|
ratio = (updatedSession.numberOfLosses) / (totalNumberOfGamesPlayed)
|
||||||
if ratio > 0.66
|
if ratio > 0.1
|
||||||
cb null, false
|
cb null, false
|
||||||
console.log "Ratio(#{ratio}) is bad, ending simulation"
|
console.log "Ratio(#{ratio}) is bad, ending simulation"
|
||||||
else
|
else
|
||||||
|
|
Loading…
Add table
Reference in a new issue