voluntree-uk / app-next

NextJS Application for Voluntree
https://platform.voluntree.net
1 stars 0 forks source link

Award Points #37

Closed mika018 closed 6 months ago

mika018 commented 1 year ago

Decide on the way we award points/karma. We can also introduce levels, milestones, goals, etc. We need a formula to decide how many points per hosted workshop based on number of slots available and their capacities. Attendance points? (If people attend your workshop get extra points?)

mika018 commented 6 months ago

This has been implemented in the event post processing lambda. The award points are calculated using this formula

award_points = rating_bonus * attendee_bonus * length_bonus

where

rating_bonus = (host_rating / 10) + 1
length_bonus = (slot_length_in_minutes / 10)
attendee_bonus = harmonic_series(number_of_attendees)