Replaced project-dota with level id and major version

This commit is contained in:
Michael Schmatz 2014-02-28 13:50:48 -08:00
parent ee2a60d246
commit 24b25b2d27

View file

@ -181,7 +181,8 @@ findNearestBetterSessionID = (sessionTotalScore, opponentSessionTotalScore, oppo
$gt:opponentSessionTotalScore + 0.5 $gt:opponentSessionTotalScore + 0.5
_id: _id:
$ne: opponentSessionID $ne: opponentSessionID
levelID: "project-dota" "level.original": "52d97ecd32362bc86e004e87"
"level.majorVersion": 0
submitted: true submitted: true
submittedCode: submittedCode:
$exists: true $exists: true
@ -280,7 +281,8 @@ updateSessionToSubmit = (sessionToUpdate, callback) ->
fetchInitialSessionsToRankAgainst = (opposingTeam, callback) -> fetchInitialSessionsToRankAgainst = (opposingTeam, callback) ->
console.log "Fetching sessions to rank against for opposing team #{opposingTeam}" console.log "Fetching sessions to rank against for opposing team #{opposingTeam}"
findParameters = findParameters =
levelID: "project-dota" "level.original": "52d97ecd32362bc86e004e87"
"level.majorVersion": 0
submitted: true submitted: true
submittedCode: submittedCode:
$exists: true $exists: true