I guess you could have used the same technique as the following rule (not shown in this diff) which hands the derivation off to a routine called `calculate_forecast_period`. :wink: