Skip to content

IFA/MMS GA shift optimization refactor#244

Open
tylerdy wants to merge 26 commits intomainfrom
tylerdy/ifa-calibration-refactor
Open

IFA/MMS GA shift optimization refactor#244
tylerdy wants to merge 26 commits intomainfrom
tylerdy/ifa-calibration-refactor

Conversation

@tylerdy
Copy link
Collaborator

@tylerdy tylerdy commented Jan 12, 2026

IFA/MMS GA shift optimization refactor

Description

Changes and notes

Stratify IFA GA shift optimization by ANC attendance for IFA calibration refactor, and update MMS to use ANC exposure data.

Update artifact to use new optimization outputs. See comment below for the changes to artifact key values.

New artifacts at /mnt/team/simulation_science/pub/models/vivarium_gates_mncnh/artifacts/ifa_mms_refactor/

Verification and Testing

See IFA and MMS validations after optimization cells, and the comment linked above to see what values changed in the artifact.

*** REMINDER ***
CI WILL NOT RUN ANY TESTS.
MANUALLY RUN TESTS WITH EACH PR.
-->

  • all tests pass (pytest --runslow)

@review-notebook-app
Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

@tylerdy tylerdy changed the title IFA/MMS calibration refactor IFA/MMS GA shift optimizatoin refactor Jan 12, 2026
@tylerdy tylerdy changed the title IFA/MMS GA shift optimizatoin refactor IFA/MMS GA shift optimization refactor Jan 12, 2026
@tylerdy tylerdy marked this pull request as ready for review January 27, 2026 20:37
@tylerdy tylerdy requested review from alibow and zmbc January 27, 2026 20:37
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Where did this file come from?

Copy link
Contributor

@alibow alibow left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yay!! Looks great! I say it's ready to merge :) thanks Tyler!

@tylerdy
Copy link
Collaborator Author

tylerdy commented Feb 13, 2026

@hussain-jafari I've updated the artifact based on the changes to the GA shift calibration. See the changes to artifact key values in this notebook with the below parameters. @alibow your review of the key changes may be helpful as well.

old_art_dir = "/mnt/team/simulation_science/pub/models/vivarium_gates_mncnh/artifacts/model25.0/"
new_art_dir = "/mnt/team/simulation_science/pub/models/vivarium_gates_mncnh/artifacts/ifa_mms_refactor/"
loc = "ethiopia"

One question (probably for @hussain-jafari) I have about the key changes is whether its important for 'risk_factor.iron_folic_acid_supplementation.risk_specific_shift' to contain both GA and BW shifts. Right now it only contains GA, where as 'risk_factor.multiple_micronutrient_supplementation.risk_specific_shift' only contains BW. The IFA risk specific shift used to be calculated from the excess shift key which contained both GA and BW shifts, but now is calculated from the weighted average GA shift. If its important to add back the BW shift I can do that, but I wasn't sure what that would accomplish.

@tylerdy
Copy link
Collaborator Author

tylerdy commented Feb 19, 2026

I updated the artifact so that the keys can be used with the existing model code. See the updated diff for the artifact keys here

@tylerdy
Copy link
Collaborator Author

tylerdy commented Feb 19, 2026

Tests are passing with the data updates. Renamed artifacts from

/mnt/team/simulation_science/pub/models/vivarium_gates_mncnh/artifacts/ifa_mms_refactor/
to
/mnt/team/simulation_science/pub/models/vivarium_gates_mncnh/artifacts/model30.0

@@ -5,10 +5,10 @@
"id": "42c4fb6b",
Copy link
Contributor

@zmbc zmbc Feb 20, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks like we're continuing to exaggerate this effect a bit, but it's not worse than in the previous run.


Reply via ReviewNB

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

Comments