Closed apromessi closed 1 year ago
LGTM
This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.
Changes Missing Coverage | Covered Lines | Changed/Added Lines | % | ||
---|---|---|---|---|---|
oldabe/money_in.py | 26 | 35 | 74.29% | ||
<!-- | Total: | 33 | 42 | 78.57% | --> |
Files with Coverage Reduction | New Missed Lines | % | ||
---|---|---|---|---|
oldabe/money_in.py | 9 | 58.65% | ||
<!-- | Total: | 9 | --> |
Totals | |
---|---|
Change from base Build 5459039338: | -0.6% |
Covered Lines: | 203 |
Relevant Lines: | 328 |
This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.
Changes Missing Coverage | Covered Lines | Changed/Added Lines | % | ||
---|---|---|---|---|---|
oldabe/money_in.py | 25 | 36 | 69.44% | ||
<!-- | Total: | 32 | 43 | 74.42% | --> |
Files with Coverage Reduction | New Missed Lines | % | ||
---|---|---|---|---|
oldabe/money_in.py | 21 | 58.94% | ||
<!-- | Total: | 21 | --> |
Totals | |
---|---|
Change from base Build 5459039338: | 0.5% |
Covered Lines: | 202 |
Relevant Lines: | 325 |
Summary of Changes
Adds the concept of an ItemizedPayment for recording how much of an incoming payment went towards fees (instruments) and how much went to the project (attributions). We need this historical data when calculating the total amount that a person has paid into the project so that we can compare the total amount accurately with the price and the correct investment amount. Only the portion of a payment that went towards the project should count towards price/investment.
Public Domain Dedication
(Why: The freely released, copyright-free work in this repository represents an investment in a better way of doing things called attribution-based economics. Attribution-based economics is based on the simple idea that we gain more by giving more, not by holding on to things that, truly, we could only create because we, in our turn, received from others. As it turns out, an economic system based on attribution -- where those who give more are more empowered -- is significantly more efficient than capitalism while also being stable and fair (unlike capitalism, on both counts), giving it transformative power to elevate the human condition and address the problems that face us today along with a host of others that have been intractable since the beginning. You can help make this a reality by releasing your work in the same way -- freely into the public domain in the simple hope of providing value. Learn more about attribution-based economics at drym.org, tell your friends, do your part.)