tests: correct comment
@@ -194,7 +194,7 @@ def test_model_cumulative_census(param, model):
)
admits = df.cumsum()
- # TODO: is 1.0 for ceil function?
+ # 1.0 is for the one hospital patient on the first day, who won't appear in the admissions
diff = admits.hospitalized[1:-1] - (
param.market_share * param.hospitalized.rate * (raw_df.infected[1:-1] + raw_df.recovered[1:-1]) - 1.0
)
