Skip to content

Commit ac8e34e

Browse files
committed
Merge branch 'variants-vaccine-refactor2' into variants-dev
2 parents 23a0534 + f53a5f5 commit ac8e34e

File tree

2 files changed

+32
-33
lines changed

2 files changed

+32
-33
lines changed

covasim/regression/pars_v3.0.0.json

+29-30
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,11 @@
99
"rand_seed": 1,
1010
"verbose": 0.1,
1111
"pop_scale": 1,
12+
"scaled_pop": null,
1213
"rescale": true,
1314
"rescale_threshold": 0.05,
1415
"rescale_factor": 1.2,
16+
"frac_susceptible": 1.0,
1517
"contacts": {
1618
"a": 20
1719
},
@@ -35,24 +37,21 @@
3537
"beta": 0.016,
3638
"n_imports": 0,
3739
"n_strains": 1,
38-
"total_strains": 1,
3940
"use_waning": false,
40-
"NAb_init": {
41+
"nab_init": {
4142
"dist": "normal",
4243
"par1": 0,
4344
"par2": 2
4445
},
45-
"NAb_decay": {
46+
"nab_decay": {
4647
"form": "nab_decay",
47-
"pars": {
48-
"init_decay_rate": 0.007701635339554948,
49-
"init_decay_time": 250,
50-
"decay_decay_rate": 0.001
51-
}
48+
"decay_rate1": 0.007701635339554948,
49+
"decay_time1": 250,
50+
"decay_rate2": 0.001
5251
},
53-
"NAb_kin": null,
54-
"NAb_boost": 1.5,
55-
"NAb_eff": {
52+
"nab_kin": null,
53+
"nab_boost": 1.5,
54+
"nab_eff": {
5655
"sus": {
5756
"slope": 2.7,
5857
"n_50": 0.03
@@ -62,12 +61,11 @@
6261
},
6362
"cross_immunity": 0.5,
6463
"rel_imm": {
65-
"asymptomatic": 0.85,
64+
"asymp": 0.85,
6665
"mild": 1,
6766
"severe": 1.5
6867
},
6968
"immunity": null,
70-
"vaccine_info": null,
7169
"rel_beta": 1.0,
7270
"asymp_factor": 1.0,
7371
"dur": {
@@ -229,29 +227,30 @@
229227
"quar_period": 14,
230228
"interventions": [],
231229
"analyzers": [],
232-
"strains": [],
233-
"vaccines": [],
234230
"timelimit": null,
235231
"stopping_func": null,
236232
"n_beds_hosp": null,
237233
"n_beds_icu": null,
238234
"no_hosp_factor": 2.0,
239235
"no_icu_factor": 2.0,
236+
"vaccine_pars": {},
237+
"vaccine_map": {},
238+
"strains": [],
239+
"strain_map": {
240+
"0": "wild"
241+
},
240242
"strain_pars": {
241-
"rel_beta": [
242-
1.0
243-
],
244-
"rel_symp_prob": [
245-
1.0
246-
],
247-
"rel_severe_prob": [
248-
1.0
249-
],
250-
"rel_crit_prob": [
251-
1.0
252-
],
253-
"rel_death_prob": [
254-
1.0
255-
]
243+
"wild": {
244+
"rel_imm": {
245+
"asymp": 0.85,
246+
"mild": 1,
247+
"severe": 1.5
248+
},
249+
"rel_beta": 1.0,
250+
"rel_symp_prob": 1.0,
251+
"rel_severe_prob": 1.0,
252+
"rel_crit_prob": 1.0,
253+
"rel_death_prob": 1.0
254+
}
256255
}
257256
}

tests/benchmark.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
{
22
"time": {
3-
"initialize": 0.411,
4-
"run": 0.505
3+
"initialize": 0.413,
4+
"run": 0.496
55
},
66
"parameters": {
77
"pop_size": 20000,
88
"pop_type": "hybrid",
99
"n_days": 60
1010
},
11-
"cpu_performance": 0.9815278999602399
11+
"cpu_performance": 0.9599341238861429
1212
}

0 commit comments

Comments
 (0)