Skip to content

Added logic for precise breaks for both infected and exposed

Luis Aleixo requested to merge feature/infected_breaks into master

In order to specify different break inputs for the exposed and infected population, the structure for the specific_breaks was modified:

New structure expected - dictionary with the infected_breaks and exposed_breaks keys, so that we can have specific breaks for the exposed and infected population:

{“infected_breaks”: [{"start_time": "...", "finish_time": "..."}, ...], “exposed_breaks”: [{"start_time": "...", "finish_time": "..."}, ...]}

If there are no breaks specified, the empty list should be sent with the respective key.

Validation tests were added.

Merge request reports