act-now-coalition / covid-data-model

Data backend providing computed data for the graphs displayed at https://covidactnow.org
https://covidactnow.org/
MIT License
149 stars 57 forks source link

Fix case data truncation #1284

Closed smcclure17 closed 2 years ago

smcclure17 commented 2 years ago

https://github.com/covid-projections/covid-data-model/pull/1261 Only increased the default value, but the 10-day value was still being specified when the truncation function was called, so trailing zeros we're still only being truncated for 10 days.

Also, I think we only need to truncate 14 days not 15