optimamodel / optima

Optima HIV software tool
http://optimamodel.com
GNU Lesser General Public License v3.0
7 stars 1 forks source link

Tv treatfail #1764

Closed robynstuart closed 6 years ago

robynstuart commented 6 years ago

Introduces new logic for handling the relationship between treatment failure, viral suppression, and VL monitoring, as per https://trello.com/c/HnrKvBxp/1009-consider-changes-to-cascade-logic

Main changes are:

  1. Adds a time-varying treatment failure rate as per https://trello.com/c/WApncXdQ/1008-time-varying-treatment-failure-rate
  2. Adds a new parameter for the proportion of people who are switched to a new regimen after having been discovered to be failing (DW request)
  3. Makes it possible for people to switch to using the proportions entered in the optional indicators sheet, i.e., if they want to treat them as actual parameters instead of things to calibrate to.

Note, I added a scenario to investigate the impact of the first two parameters, see testscenarios.py

@cliffckerr please review and share your thoughts. I consider this WIP but ready for input.

robynstuart commented 6 years ago

@cliffckerr thanks for waiting as I made final changes after following up with Clemens and others. I think this is ready now, can you pls re-review and merge if satisfied?

cliffckerr commented 6 years ago

@robynstuart looks good, no changes!