InstituteforDiseaseModeling/emodpy-typhoid

test_multiroute_HINT.py failed

Opened this issue · 1 comments

Assertion failed in this line:

self.assertTrue(total_infected_B < total_infected_C)

FAILED test_multiroute_HINT.py::MultiRouteHINTTest::test_multiple_route_hint - AssertionError: False is not true
FAILED test_multiroute_HINT.py::MultiRouteHINTTest::test_multiple_route_hint_env - AssertionError: False is not true
FAILED test_multiroute_HINT.py::MultiRouteHINTTest::test_no_hint - AssertionError: False is not true

The issue is because, due to sampling, the numbers sometimes don't make sense:
image
in these sims for the hint test, you can see there are sometimes more people infected than there are people in the node:
https://comps2.idmod.org/#explore/Simulations?filters=ExperimentId=5eeaeb84-1f99-ee11-92fe-f0921c167864&offset=0&count=80&selectedId=61eaeb84-1f99-ee11-92fe-f0921c167864