Closed smcclure17 closed 2 years ago
Yeah, good idea. I think it might be best to make sure to test each new function/feature using a dataset with demographic data. I'm not sure there's an easy way to test the entire ./run.py data update
task without having the expected output change with each added update. I'm not too great at thinking of/designing tests though, so definitely open to ideas.
Demographic data was getting clobbered/removed from the
MultiregionDatasets
due to my use oftimeseries
instead oftimeseries_bucketed
. This updates the code where necessary to restore demographic datapost-fix: https://gist.githubusercontent.com/smcclure17/a50c3c6395bb37552771104b11279c8f/raw/a1ad4a60a4fd6af40d1807f26b7ec0d2d23f3a12/ca-06037.json
pre-fix: https://gist.githubusercontent.com/smcclure17/2365b842dbbb510d620453298957ce52/raw/4edb7fe774f88e8f80bfd90a8ba9a9407efb9418/ca-06037.json