Skip to content
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

fix: apply the cap after normalising the distribution #9846

Merged
merged 11 commits into from
Dec 8, 2021

Conversation

gdixon
Copy link
Contributor

@gdixon gdixon commented Dec 7, 2021

Description

This PR will apply the matching_cap post normalisation (recursively)

Refers/Fixes

Refs: match-cap thread

Testing

Tested locally

@gdixon gdixon force-pushed the post-nomarlisation-cap branch from 8c2a827 to 0440c27 Compare December 7, 2021 17:37
@gdixon gdixon marked this pull request as ready for review December 8, 2021 02:31
@gdixon gdixon changed the base branch from master to stable December 8, 2021 15:16
@gdixon gdixon merged commit 73565d0 into stable Dec 8, 2021
thelostone-mc added a commit that referenced this pull request Dec 10, 2021
* fix: apply the cap after normalising the distribution (#9846)

* fix: apply the cap after normalising the distribution

* fix: adds flag to estimate_clr so that we can skip saving the results

* fix: expose id and title to make it easier to compare results

* fix: apply Adityas comments

* add logging

* add more logs

* add logging

* fix: adds id to totals

* fix: clean up logs

* fix: ensures we dont spread the remainder if we havent reached the saturation point

* fix: debug output

Co-authored-by: Aditya Anand M C <aditya.anandmc@gmail.com>

* fix: enable search in GrantCLRCalculation admin

* fix: ensures props are available for str of questAttempt

* fix: prevents bigNumber overflow (#9862)

* fix: linting issues

Co-authored-by: Graham Dixon <graham@gitcoin.co>
Co-authored-by: Graham Dixon <graham@gdixon.co.uk>
Copy link

@Tomek00177 Tomek00177 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oezelo

thelostone-mc added a commit that referenced this pull request Dec 14, 2021
* fix: apply the cap after normalising the distribution (#9846)

* fix: apply the cap after normalising the distribution

* fix: adds flag to estimate_clr so that we can skip saving the results

* fix: expose id and title to make it easier to compare results

* fix: apply Adityas comments

* add logging

* add more logs

* add logging

* fix: adds id to totals

* fix: clean up logs

* fix: ensures we dont spread the remainder if we havent reached the saturation point

* fix: debug output

Co-authored-by: Aditya Anand M C <aditya.anandmc@gmail.com>

* fix: enable search in GrantCLRCalculation admin

* fix: ensures props are available for str of questAttempt

* fix: prevents bigNumber overflow (#9862)

* allow disabling checkout via admin

Co-authored-by: Graham Dixon <graham@gitcoin.co>
Co-authored-by: Graham Dixon <graham@gdixon.co.uk>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants