mirror of
https://github.com/reddit-archive/reddit.git
synced 2026-02-04 03:35:09 -05:00
Previously the goal was simply a static amount, this changes it so that it is set to 110% of the average revenue from the previous 7 days (disregarding highest and lowest revenues). To prevent too large of swings due to "spikes", the goal is restricted to no more than a 20% change from the previous day's goal.