UCL / TLOmodel

Epidemiology modelling framework for the Thanzi la Onse project
https://www.tlomodel.org/
MIT License
13 stars 5 forks source link

HTM Scale-up Not Having The Effect Expected #1411

Open tbhallett opened 5 months ago

tbhallett commented 5 months ago

Whereas, the test script and the initial scenario run showed that the HTM scale-up was working as expected, it appears that the in practice they do not (see here).

The test script and the scenario both examine scale-up occurring instantly in year 2012, whereas the scale-up scenarios we want for the final analysis is for scale-up instantly in 2019.

Looking at this, I can see a few reasons why this might be occurring:

(I don't think this section suffers from the same issue - but it looks a bit fragile, for similar reasons).

There may be other issues in the Tb and malaria codes of a similar nature.

I would propose doing the following:

tdm32 commented 5 months ago

Whereas, the test script and the initial scenario run showed that the HTM scale-up was working as expected, it appears that the in practice they do not (see here).

The test script and the scenario both examine scale-up occurring instantly in year 2012, whereas the scale-up scenarios we want for the final analysis is for scale-up instantly in 2019.

Looking at this, I can see a few reasons why this might be occurring:

(I don't think this section suffers from the same issue - but it looks a bit fragile, for similar reasons).

There may be other issues in the Tb and malaria codes of a similar nature.

I would propose doing the following:

  • [ ] Update the scenario file so that it reflects a scale-up in 2019, running at scale, and confirming that this also shows there being no epidemiological impact. (If this doesn't confirm it, then I have had some mistakes in my Scenario file and in these observations)
  • [ ] Searching for possible issues in hiv.py, tb.py and malaria.py and fixing
  • [ ] Re-running the scenario
  • [ ] Raising PR with fixes

Thanks for digging into this @tbhallett, I'll work on it this afternoon. Just confirming branch [hallett/analysis_for_vertical_and_horizontal_progs] is the most up-to-date one?

tdm32 commented 5 months ago

@tbhallett I'm wondering if there is an issue here with constraints on consumables and personnel. From my scale-up paper, there was only a small impact of HIV program scale-up for 2 reasons: 1. the program is already very close to hitting targets and the proposed scale-up is small, 2. the consumables availability limits the amount of scale-up that can occur.

I've tested this quickly on a small population and found that running the scenarios with consumables availability set to 'all' did lead to a reduction in AIDS deaths with HIV program scale-up (around 30% fall in a pop of 5,000).

So when we scale-up programs only (no HSS), the effects will be limited by cons availability. Both the baseline and the scale-up scenario will likely be affected by mode 2, I think in mode 2 even in the baseline scenarios many appts will not be able to run due to personnel shortages.

Could this be explaining why we see no difference between the baseline and scale-up scenarios? I'll set off a larger run with cons availability to 'all' and keep mode 1 throughout just to see. Hopefully will update you Thurs am.

tbhallett commented 5 months ago

@tbhallett I'm wondering if there is an issue here with constraints on consumables and personnel. From my scale-up paper, there was only a small impact of HIV program scale-up for 2 reasons: 1. the program is already very close to hitting targets and the proposed scale-up is small, 2. the consumables availability limits the amount of scale-up that can occur.

I've tested this quickly on a small population and found that running the scenarios with consumables availability set to 'all' did lead to a reduction in AIDS deaths with HIV program scale-up (around 30% fall in a pop of 5,000).

So when we scale-up programs only (no HSS), the effects will be limited by cons availability. Both the baseline and the scale-up scenario will likely be affected by mode 2, I think in mode 2 even in the baseline scenarios many appts will not be able to run due to personnel shortages.

Could this be explaining why we see no difference between the baseline and scale-up scenarios? I'll set off a larger run with cons availability to 'all' and keep mode 1 throughout just to see. Hopefully will update you Thurs am.

That might be a part of it, but not all (I think), because;

image

tbhallett commented 4 months ago

We made the change whereby the linear models are rebuild following updating the parameters in #1413

The graphs produced were almost the same as the originals above.

tbhallett commented 4 months ago

Next job is to run a simplified version of the analysis, but...

This is being done on within the branch PR'd at https://github.com/UCL/TLOmodel/pull/1288 in file src/scripts/comparison_of_horizontal_and_vertical_programs/mini_analysis_for_testing/mini_version_scenario.py

~job-id = htm_with_and_without_hss-2024-07-25T193651Z~

UPDATE:

That job failed for mysterious reason. Second attempt is (from current tip of master c147e2bfbf715e262f38411269776582d14273a4)

mini_htm_with_and_without_hss-2024-07-29T102041Z

tbhallett commented 4 months ago

@tdm has done experiments that confirm ---for a scale-up in 2015, to "maximal possible levels", in either Mode 1 or Mode 2, an effect on deaths is had for H, T, M scale-ups individually and collectively.

Therefore, the discrepancy between this success and the lack of an effect not the runs done so far using the Scenario files defined above could be as follows:

Therefore, our action plan is as follows (in some new PRs)

And also,

tdm32 commented 4 months ago

Below are test runs which use default settings for all modules and switch the HIV, TB and malaria programmes to minimum or maximum values. All runs are done in both mode 1 and mode 2.

TO DO:

with services set to MIN:

image image

with services set to MAX:

image image
tbhallett commented 4 months ago

Following merge of #1443 and #1441,

we're now submitting a run using the MAX scenario and with changes occurring in 2015.

This is from branch hallett/test_run_htm_scale_up and the job_id is: htm_with_and_without_hss-2024-07-29T143852Z

tbhallett commented 4 months ago

Next steps

tbhallett commented 4 months ago

Results from the full_run look more promising....

Need to work out is 2019 scale-up can work too and if it's reasonable to use the max scale-ups.

Check that the HTM input is of the same size as Tara expects (from her earlier paper).

Update graphs. (It could be that the effects look small because the HSS package is so strong.)

Also - effect on TB very small. Maybe best to combine HIV and TB for presentation purposes?

Additional_Deaths_Averted_vs_Baseline_2020-2030 All_programs All_Scenarios:_DALYs_2020-2030 DALYs_Averted_vs_Baseline_2020-2030 Deaths_2020-2030 HIV_programs Malaria_programs TB_programs

tbhallett commented 4 months ago

final attempt at running the whole thing in Mode1 : htm_with_and_without_hss_mode1-2024-08-02T160157Z (which is a run of src/scripts/comparison_of_horizontal_and_vertical_programs/scenario_vertical_programs_with_and_without_hss_mode1.py

tbhallett commented 4 months ago

next steps:

tbhallett commented 3 months ago

Results from mode1 run (htm_with_and_without_hss_mode1-2024-08-02T160157Z) seem very similar to that for Mode2. This suggests that the 'crowding-out' issues are not behind the weak impact of the HTM scale-up....?

Additional_Deaths_Averted_vs_Baseline_2020-2030 All_programs All_Scenarios:_DALYs_2020-2030 DALYs_Averted_vs_Baseline_2020-2030 Deaths_2020-2030 HIV_programs Malaria_programs TB_programs

tbhallett commented 3 months ago

@tdm's further investigation finds 1) Diagnosis rate for TB remains low in scale-up scenario (due to low sensivity of Gene Xpert on sputum samples) 2) That scale-up is frustrated by consumables non-availability to extreme degree 3) That in TB scale-up scenario, TB treatment rates goes down (not up)

tdm32 commented 3 months ago

@tbhallett regarding issue 3 above, from plots of run htm_with_and_without_hss_mode1-2024-08-02T160157Z we saw unusual trends in tb proportion diagnosed and proportion treated.

Turns out this was just an anomaly in the final year of the simulation, whereby the proportion dx (and therefore treated) drops. This may just be stochastic noise, or a low proportion of tb cases occurring in PLHIV (who get additional screening compared with general population) 12% in the final year.

To correct this, I have re-plotted the figures using an average over the period 2016-2030. This shows almost identical treatment coverage rates between baseline and TB_no_HSS (both 38%), with increase to 43% with HSS. For diagnosis, TB_no_HSS shows small increase from 38% to 48%, 45% with HSS. No obvious reason why dx rates are slightly lower with HSS, but we do have small tb case numbers for this (80-100 cases per year).

Looks like almost perfect referral between dx and tx for TB+HSS, but some drop-off in TB_no_HSS which is expected due to consumables stockouts.

I'll repeat this with the new runs so we can see the impact of TB Culture HSI and supply chain strengthening alone vs full HSS.

TB image image image image image

HIV image

MALARIA image image

tbhallett commented 3 months ago

Results from htm_with_and_without_hss-2024-08-06T094337Z (using the TB fix for culture)

Additional_Deaths_Averted_vs_Baseline_2020-2030 All_programs All_Scenarios:_DALYs_2020-2030 DALYs_Averted_vs_Baseline_2020-2030 Deaths_2020-2030 HIV_programs Malaria_programs TB_programs

tbhallett commented 3 months ago

... and from htm_with_and_without_hss-2024-08-06T094422Z (where we also have the consumables always being available):

Additional_Deaths_Averted_vs_Baseline_2020-2030 All_programs All_Scenarios:_DALYs_2020-2030 DALYs_Averted_vs_Baseline_2020-2030 Deaths_2020-2030 HIV_programs Malaria_programs TB_programs

tdm32 commented 3 months ago

From run htm_with_and_without_hss-2024-08-06T094422Z where consumables are always available and TB culture used as a backup dx test we do see an improvement in tb diagnosis and treatment rates:

image image image