drym-org / old-abe

Accounting prototype for attribution-based economics
6 stars 2 forks source link

Misc tests for money_in #8

Closed apromessi closed 1 year ago

apromessi commented 1 year ago

Summary of Changes

Added tests and doc strings for parse_percentage, serialize_proportion, and calculate_incoming_attribution.

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.)

coveralls commented 2 weeks ago

Pull Request Test Coverage Report for Build 4716890186

Warning: This coverage report may be inaccurate.

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.

Details


Changes Missing Coverage Covered Lines Changed/Added Lines %
oldabe/money_in.py 1 4 25.0%
<!-- Total: 1 4 25.0% -->
Totals Coverage Status
Change from base Build 4716658736: 9.3%
Covered Lines: 86
Relevant Lines: 220

💛 - Coveralls