-
-
Notifications
You must be signed in to change notification settings - Fork 775
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Faster CLR Calculation #5608
Faster CLR Calculation #5608
Conversation
Codecov Report
@@ Coverage Diff @@
## master #5608 +/- ##
==========================================
+ Coverage 30.05% 30.09% +0.03%
==========================================
Files 248 248
Lines 21404 21396 -8
Branches 3105 3108 +3
==========================================
+ Hits 6434 6440 +6
+ Misses 14694 14680 -14
Partials 276 276
Continue to review full report at Codecov.
|
how much faster is this? have we profiled it in a production like environment? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
left a bunch of minor comments
@owocki so Ran both the algo against the previous clr dataset Perks of getting this PR in:
Reality:
cc @gitcoinco/engineers |
f5b0134
to
3edef90
Compare
- udpate logger to specify which grant has no contributions - removed duplicate binary search - grant is updated + via clr only if it has contributions - reindented comments + removed print stmt
3edef90
to
974b046
Compare
d2e7afe
to
cfc7ffb
Compare
Description
Added three methods:
Testing
I was going through the curve calculation part, and I believe it may break it. My concern is around line 224, but it may be that it's alright. Let's pair up and take look at that @thelostone-mc.