CDCgov / ww-inference-model

An in-development R package and a Bayesian hierarchical model jointly fitting multiple "local" wastewater data streams and "global" case count data to produce nowcasts and forecasts of both observations
https://cdcgov.github.io/ww-inference-model/
Apache License 2.0
16 stars 2 forks source link

Add testing for key functions #27

Closed kaitejohnson closed 2 months ago

kaitejohnson commented 3 months ago

Goal

We created a bunch of new functions, and we should add a testing suite for them. The functions that need to be tested include: preprocess_ww_data preprocess_hosp_data flag_ww_outliers, indicate_ww_exclusions in preprocessing.R get_draws_df in get_draws_df.R and the rest of the functions in utils.R.

Requirements

kaitejohnson commented 2 months ago

@cbernalz We can discuss Monday, but adding you to this issue for awareness