Skip to content

Commit

Permalink
Hotfix: generation_time_opts use in touchstone benchmarking
Browse files Browse the repository at this point in the history
  • Loading branch information
seabbs committed Dec 21, 2023
1 parent b8a2b0c commit b4a0f5f
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions touchstone/script.R
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ touchstone::benchmark_run(
expr_before_benchmark = { source("touchstone/setup.R") },
default = { epinow(
reported_cases = reported_cases,
generation_time = fixed_generation_time,
generation_time = generation_time_opts(fixed_generation_time),
delays = fixed_delays,
rt = rt_opts(prior = list(mean = 2, sd = 0.2)),
stan = stan_opts(
Expand All @@ -25,7 +25,7 @@ touchstone::benchmark_run(
expr_before_benchmark = { source("touchstone/setup.R") },
uncertain = { epinow(
reported_cases = reported_cases,
generation_time = example_generation_time,
generation_time = generation_time_opts(example_generation_time),
delays = delays,
rt = rt_opts(prior = list(mean = 2, sd = 0.2)),
stan = stan_opts(
Expand All @@ -41,7 +41,7 @@ touchstone::benchmark_run(
expr_before_benchmark = { source("touchstone/setup.R") },
no_delays = { epinow(
reported_cases = reported_cases,
generation_time = fixed_generation_time,
generation_time = generation_time_opts(fixed_generation_time),
rt = rt_opts(prior = list(mean = 2, sd = 0.2)),
stan = stan_opts(
cores = 2, samples = 500, chains = 2,
Expand All @@ -56,7 +56,7 @@ touchstone::benchmark_run(
expr_before_benchmark = { source("touchstone/setup.R") },
stationary = { epinow(
reported_cases = reported_cases,
generation_time = fixed_generation_time,
generation_time = generation_time_opts(fixed_generation_time),
delays = fixed_delays,
rt = rt_opts(prior = list(mean = 2, sd = 0.2), gp_on = "R0"),
stan = stan_opts(
Expand All @@ -72,7 +72,7 @@ touchstone::benchmark_run(
expr_before_benchmark = { source("touchstone/setup.R") },
random_walk = { epinow(
reported_cases = reported_cases,
generation_time = fixed_generation_time,
generation_time = generation_time_opts(fixed_generation_time),
delays = fixed_delays,
rt = rt_opts(prior = list(mean = 2, sd = 0.2), rw = 7),
gp = NULL,
Expand Down

0 comments on commit b4a0f5f

Please sign in to comment.