Skip to content

Commit b262797

Browse files
authored
Merge pull request #227 from CodeForPhilly/update_params_2020_03_24
settings: Update defaults
2 parents 0c0115e + 63d34f6 commit b262797

File tree

3 files changed

+15
-15
lines changed

3 files changed

+15
-15
lines changed

settings.cfg

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
1-
--current-hospitalized 6
2-
--doubling-time 6.0
3-
--known-infected 157
4-
--relative-contact-rate 0.0
1+
--current-hospitalized 14
2+
--doubling-time 4.0
3+
--known-infected 510
4+
--relative-contact-rate 0.3
55
--hospitalized-los 7
6-
--hospitalized-rate 0.05
6+
--hospitalized-rate 0.025
77
--icu-los 9
8-
--icu-rate 0.02
8+
--icu-rate 0.0075
99
--market_share 0.15
1010
--n-days 60
1111
--susceptible 4119405
1212
--ventilated-los 10
13-
--ventilated-rate 0.01
13+
--ventilated-rate 0.005

src/penn_chime/presentation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ def display_sidebar(st, d: Constants) -> Parameters:
122122
"Social distancing (% reduction in social contact)",
123123
min_value=0,
124124
max_value=100,
125-
value=d.relative_contact_rate * 100,
125+
value=int(d.relative_contact_rate * 100),
126126
step=5,
127127
format="%i",
128128
)

src/penn_chime/settings.py

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,13 @@
1717
bucks=bucks,
1818
philly=philly,
1919
),
20-
current_hospitalized=6,
21-
doubling_time=6,
22-
known_infected=157,
20+
current_hospitalized=14,
21+
doubling_time=4,
22+
known_infected=510,
2323
n_days=60,
2424
market_share=0.15,
25-
relative_contact_rate=0,
26-
hospitalized=RateLos(0.05, 7),
27-
icu=RateLos(0.02, 9),
28-
ventilated=RateLos(0.01, 10),
25+
relative_contact_rate=0.3,
26+
hospitalized=RateLos(0.025, 7),
27+
icu=RateLos(0.0075, 9),
28+
ventilated=RateLos(0.005, 10),
2929
)

0 commit comments

Comments
 (0)