Skip to content

Commit

Permalink
sandbag grants that already have a high match estimate
Browse files Browse the repository at this point in the history
  • Loading branch information
owocki committed Mar 11, 2021
1 parent 1cf0408 commit 571b29e
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions app/grants/management/commands/grants_upcoming.py
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,13 @@ def handle(self, *args, **options):
upcoming_score += num * upcoming_weight
gem_score += num * gem_weight

# sandbag grants that already have a high match estimate
upcoming_weight = 10
gem_weight = 300

upcoming_score += grant.clr_match_estimate_this_round * upcoming_weight * -1
gem_score += grant.clr_match_estimate_this_round * gem_weight * -1

# sandbag grants that are not new
upcoming_weight = 1000
gem_weight = 100000
Expand Down

0 comments on commit 571b29e

Please sign in to comment.