Skip to content
Browse files

layout

  • Loading branch information...
1 parent f49dfbe commit 31684081634f7e1e59822bedcd2d49e8ba5e7794 @gerad gerad committed Nov 12, 2012
Showing with 1 addition and 3 deletions.
  1. +1 −3 models/person.coffee
View
4 models/person.coffee
@@ -206,9 +206,8 @@ PersonSchema.method 'nextTeam', (next) ->
@votedOnTeamIds (err, votedOn) =>
next err if err
-
+ # judges focus on good stuff
if @judge and votedOn.length < 15
- # judges focus on good stuff
filter['$or'] = [
'scores.judge_count': { $lt: 4 }
'scores.judge_utility': { $gt: 3 }
@@ -217,7 +216,6 @@ PersonSchema.method 'nextTeam', (next) ->
'scores.judge_completeness': { $gt: 3 }
]
-
# every third vote should be for something good
if votedOn.length % 3 is 0
dimensions = Vote.dimensions.concat('overall')

0 comments on commit 3168408

Please sign in to comment.
Something went wrong with that request. Please try again.