run_rate(monthly_revenues) taking the completed months so far this year and projecting the annual total: actual sum + (average of the last 3 months, or all months if fewer) × remaining months. Round to the nearest integer.run_rate([100, 110, 120, 130])
1420
460 actual + avg(110,120,130)=120 × 8 remaining months.
recent = revenues[-3:].
remaining = 12 - len(revenues).