GoodDollar / GoodCollective

Monorepo for GoodCollective (Segmented UBI and Direct Payments Pool)
MIT License
3 stars 1 forks source link

How to calculate people supported? #75

Closed krisbitney closed 8 months ago

krisbitney commented 9 months ago

The UI design suggests there is an intention to calculate the number of donations or the number of actions a donor has supported. How can this be calculated?

sirpy commented 9 months ago

@decentralauren @patpedrosa Please elaborate on this

I don't think there's a way to calculate exactly a donor impact, we know how much he has donated to a pool. Actions in the pool might each have different value. The main thing we can calculate is the donor percentage share of impact in the pool donor impact share = donorDonatedToPool/totalDonatedToPool

using the donor impact share we can calculate other metrics like impactShare*totalActionsInPool = roughly number of actions he sponsored

decentralauren commented 9 months ago

@krisbitney this should be the sum of the number of stewards for the pools to which the donor has contributed. If donor submitted to Pool A and Pool B this value should be a sum of all Stewards in Pool A and Pool B. The amount the donor contributed doesn't matter.

krisbitney commented 9 months ago

@krisbitney this should be the sum of the number of stewards for the pools to which the donor has contributed. If donor submitted to Pool A and Pool B this value should be a sum of all Stewards in Pool A and Pool B. The amount the donor contributed doesn't matter.

Sounds good. Thanks!

vldkhh commented 8 months ago

@patpedrosa @decentralauren could you also take a look?

patpedrosa commented 8 months ago

Verified on dev.

decentralauren commented 8 months ago

Also Verified.