epiforecasts / forecast.vocs

Contains models and tools to produce short-term forecasts for both case and sequence notifications assuming circulation of either one or two variants. Tools are also provided to allow the evaluation of the use of sequence data for short-term forecasts in both real-world settings and in user generated scenarios.
http://epiforecasts.io/forecast.vocs
Other
8 stars 3 forks source link

Add testing of post-processing functions. #70

Closed seabbs closed 3 years ago

seabbs commented 3 years ago

Add tests for post-processing functions. The complexity here is that these rely on a stan model fit which needs a compiled model that can take some time.

There are several solutions with one being to use a saved stan model fit for all testing. This could potentially get out of date without attention. A solution for this would be to link saving the model to changes to either the stan model code or the stan_fit function using git hooks.