data-models
data-models copied to clipboard
All models, base module: Fail with a warning when there's no data
Currently, if we run the base module on a period of time (which starts with start_date
or last processed event, and ends with that time plus update_cadence_days
), then the model will complete successfully but not process any data.
Unless new data comes in for that time period, the model will continue to complete with success, but not process any data every subsequent run.
This can be confusing and is not intuitive to diagnose. I think UX might be improved if we fail the base module when there's no data to process.