Skip to content

Commit

Permalink
use prenormalization instead of post normalization on thr prediction …
Browse files Browse the repository at this point in the history
…curve
  • Loading branch information
thelostone-mc committed Dec 6, 2021
1 parent f1cc8b3 commit ba3d1c7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/grants/clr.py
Original file line number Diff line number Diff line change
Expand Up @@ -465,7 +465,7 @@ def predict_clr(save_to_db=False, from_date=None, clr_round=None, network='mainn
grants_clr = curr_grants_clr.get(grant.id)
predicted_clr = grants_clr['clr_amount'] if grants_clr else 0.0
else:
raw_grants_clr = curr_grants_clr.get(grant.id)
raw_grants_clr = totals.get(grant.id)
# final will save the current distribution for every grant (ie without predictions)
if what == 'final' or raw_grants_clr['clr_amount'] == match_cap_per_grant:
# ignore the other ones
Expand Down

0 comments on commit ba3d1c7

Please sign in to comment.