- Python v3.10 or higher
python distribute_proceeds_for_krakatoa_ventures.py --proceeds <CASH_PROCEEDS>
Example :
python distribute_proceeds_for_krakatoa_ventures.py --proceeds 525.25
python test_distribute_proceeds_for_krakatoa_ventures.py
- The data in the cap_table is validated and correct.
- The
total_membership_units_held
in each share class equal to the sum of theunits_held
by each individualunit_holder
in the class. - All of the
amount_invested
values are in cents and represented as an integer.
- The
- The cash proceeds input to the program is given in dollars and is represented as a float(50.25).
- I chose to convert all dollar values to cents in order to avoid weirdness with floating point arithmetic.
- I chose to display all unit holders and share classes in the final outputs even if they didn't have any proceeds distributed to them.