-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Test for AgeBaseHINT fails when targeting the first age bin #29
Comments
This is a perfect bug report, btw! :) |
They all seem very old! (We shouldn't have >125yo in the model actually.) Might not be an Age-Based HINT bug but rather an artifact of these methuselahs. |
There might be a value in our demographics.json (we're doing the basic demographics by file, not by code) that should really be 0. |
Looks fine. |
This can be closed. It is actually covered by #30. |
Big update on this... First, the "Methuselah Problem" is a known issue when using SIMPLE initial age and a distribution like exponential. In practice we expect users to handle this with aggressive natural mortality in the first timestep. For testing purposes, it's probably better to use uniform distribution which lets you set a max age like 100. Even after we did that in our test, we had a new problem: With a Run_Number of 1 (not 0, or 2, or other values tested) we got 1 NewInfection in the wrong bucket: We have a boy just past his 5th birthday getting an infection. The matrix says that should be impossible. It's not a terrible bug in the grand scheme of things, but it should be run to ground. I checked whether there was a missing transition, but everything seems fine. I checked whether this was a new birth in the sim. It was not. I also checked whether this person received the expected PropertyChange from the 0-5 age bin to the 5-20 age bin, and they did indeed get the property change before the new infection. So they seem to be getting infected while having a 5-20 property. |
SImulation:
https://comps2.idmod.org/#explore/Simulations?filters=Id=592b31df-5095-ee11-92fe-f0921c167864&offset=0&count=100&selectedId=592b31df-5095-ee11-92fe-f0921c167864
My demographic:
This should target the first age bin (0-5] only. I have one outbreak at day 1 and count the NewInfectionEvent in ReportEventRecorder.csv.
Please see these files for the values that I am looking at in the test:
The text was updated successfully, but these errors were encountered: