Skip to content

Commit 07cf6a8

Browse files
committed
tests: correct comment
1 parent b8f5e45 commit 07cf6a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/penn_chime/test_models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ def test_model_cumulative_census(param, model):
194194
)
195195
admits = df.cumsum()
196196

197-
# TODO: is 1.0 for ceil function?
197+
# 1.0 is for the one hospital patient on the first day, who won't appear in the admissions
198198
diff = admits.hospitalized[1:-1] - (
199199
param.market_share * param.hospitalized.rate * (raw_df.infected[1:-1] + raw_df.recovered[1:-1]) - 1.0
200200
)

0 commit comments

Comments
 (0)