hpvsim 2.2.6__tar.gz → 2.2.7__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (201) hide show
  1. {hpvsim-2.2.6 → hpvsim-2.2.7}/.gitignore +9 -1
  2. hpvsim-2.2.7/CHANGELOG.md +473 -0
  3. hpvsim-2.2.7/CODE_OF_CONDUCT.md +82 -0
  4. {hpvsim-2.2.6 → hpvsim-2.2.7}/MANIFEST.in +1 -1
  5. hpvsim-2.2.7/PKG-INFO +117 -0
  6. hpvsim-2.2.7/README.md +87 -0
  7. hpvsim-2.2.7/docs/.gitignore +4 -0
  8. hpvsim-2.2.7/docs/CNAME +1 -0
  9. hpvsim-2.2.7/docs/README.md +30 -0
  10. hpvsim-2.2.7/docs/_quarto.yml +184 -0
  11. hpvsim-2.2.7/docs/_variables.yml +2 -0
  12. hpvsim-2.2.7/docs/assets/favicon.ico +0 -0
  13. hpvsim-2.2.7/docs/assets/starsim-logo-dark.png +0 -0
  14. hpvsim-2.2.7/docs/assets/starsim-logo.png +0 -0
  15. hpvsim-2.2.7/docs/assets/styles-dark.scss +127 -0
  16. hpvsim-2.2.7/docs/assets/styles-light.scss +5 -0
  17. hpvsim-2.2.7/docs/assets/styles.css +38 -0
  18. hpvsim-2.2.7/docs/conduct.md +5 -0
  19. hpvsim-2.2.7/docs/index.md +12 -0
  20. hpvsim-2.2.7/docs/overview.md +5 -0
  21. hpvsim-2.2.7/docs/preview +5 -0
  22. hpvsim-2.2.7/docs/publish +6 -0
  23. hpvsim-2.2.7/docs/quarto_utils.py +103 -0
  24. hpvsim-2.2.7/docs/render +11 -0
  25. hpvsim-2.2.7/docs/requirements.txt +2 -0
  26. hpvsim-2.2.7/docs/tutorials/tut_analyzers.qmd +138 -0
  27. hpvsim-2.2.7/docs/tutorials/tut_calibration.qmd +92 -0
  28. hpvsim-2.2.7/docs/tutorials/tut_interventions.qmd +167 -0
  29. hpvsim-2.2.7/docs/tutorials/tut_intro.qmd +115 -0
  30. hpvsim-2.2.7/docs/tutorials/tut_people.qmd +86 -0
  31. hpvsim-2.2.7/docs/tutorials/tut_plotting.qmd +137 -0
  32. hpvsim-2.2.7/docs/tutorials/tut_running.qmd +173 -0
  33. hpvsim-2.2.7/docs/tutorials.md +13 -0
  34. hpvsim-2.2.7/docs/whats-new.md +5 -0
  35. {hpvsim-2.2.6 → hpvsim-2.2.7}/hpvsim/analysis.py +2 -2
  36. {hpvsim-2.2.6 → hpvsim-2.2.7}/hpvsim/interventions.py +15 -12
  37. {hpvsim-2.2.6 → hpvsim-2.2.7}/hpvsim/misc.py +1 -1
  38. {hpvsim-2.2.6 → hpvsim-2.2.7}/hpvsim/population.py +1 -1
  39. {hpvsim-2.2.6 → hpvsim-2.2.7}/hpvsim/settings.py +1 -1
  40. {hpvsim-2.2.6 → hpvsim-2.2.7}/hpvsim/sim.py +2 -2
  41. {hpvsim-2.2.6 → hpvsim-2.2.7}/hpvsim/version.py +2 -2
  42. hpvsim-2.2.7/hpvsim.egg-info/PKG-INFO +117 -0
  43. {hpvsim-2.2.6 → hpvsim-2.2.7}/hpvsim.egg-info/SOURCES.txt +30 -35
  44. {hpvsim-2.2.6 → hpvsim-2.2.7}/pyproject.toml +1 -1
  45. hpvsim-2.2.7/tests/README.md +17 -0
  46. {hpvsim-2.2.6 → hpvsim-2.2.7}/tests/test_interventions.py +58 -0
  47. hpvsim-2.2.6/.readthedocs.yaml +0 -29
  48. hpvsim-2.2.6/CHANGELOG.rst +0 -472
  49. hpvsim-2.2.6/CODE_OF_CONDUCT.rst +0 -57
  50. hpvsim-2.2.6/PKG-INFO +0 -88
  51. hpvsim-2.2.6/README.rst +0 -58
  52. hpvsim-2.2.6/docs/Makefile +0 -31
  53. hpvsim-2.2.6/docs/README.md +0 -20
  54. hpvsim-2.2.6/docs/_static/theme_overrides.css +0 -78
  55. hpvsim-2.2.6/docs/_templates/custom-class-template.rst +0 -27
  56. hpvsim-2.2.6/docs/_templates/custom-function-template.rst +0 -7
  57. hpvsim-2.2.6/docs/_templates/custom-module-template.rst +0 -70
  58. hpvsim-2.2.6/docs/_templates/footer_end.html +0 -1
  59. hpvsim-2.2.6/docs/_templates/footer_start.html +0 -2
  60. hpvsim-2.2.6/docs/_templates/navbar-side.html +0 -12
  61. hpvsim-2.2.6/docs/_templates/page.html +0 -21
  62. hpvsim-2.2.6/docs/api/index.rst +0 -32
  63. hpvsim-2.2.6/docs/build_docs +0 -51
  64. hpvsim-2.2.6/docs/conf.py +0 -140
  65. hpvsim-2.2.6/docs/images/favicon.ico +0 -0
  66. hpvsim-2.2.6/docs/images/idm-logo-transparent.png +0 -0
  67. hpvsim-2.2.6/docs/index.html +0 -12
  68. hpvsim-2.2.6/docs/index.rst +0 -17
  69. hpvsim-2.2.6/docs/overview.rst +0 -6
  70. hpvsim-2.2.6/docs/requirements.txt +0 -15
  71. hpvsim-2.2.6/docs/tutorials/README.rst +0 -5
  72. hpvsim-2.2.6/docs/tutorials/clean_outputs +0 -8
  73. hpvsim-2.2.6/docs/tutorials/example_cancer_cases.csv +0 -17
  74. hpvsim-2.2.6/docs/tutorials/tut_analyzers.ipynb +0 -236
  75. hpvsim-2.2.6/docs/tutorials/tut_calibration.ipynb +0 -153
  76. hpvsim-2.2.6/docs/tutorials/tut_interventions.ipynb +0 -281
  77. hpvsim-2.2.6/docs/tutorials/tut_intro.ipynb +0 -234
  78. hpvsim-2.2.6/docs/tutorials/tut_people.ipynb +0 -144
  79. hpvsim-2.2.6/docs/tutorials/tut_plotting.ipynb +0 -324
  80. hpvsim-2.2.6/docs/tutorials/tut_running.ipynb +0 -316
  81. hpvsim-2.2.6/docs/tutorials.rst +0 -12
  82. hpvsim-2.2.6/docs/variables.txt +0 -23
  83. hpvsim-2.2.6/docs/whats-new.rst +0 -1
  84. hpvsim-2.2.6/hpvsim.egg-info/PKG-INFO +0 -88
  85. hpvsim-2.2.6/tests/README.rst +0 -19
  86. {hpvsim-2.2.6 → hpvsim-2.2.7}/.github/workflows/pypi_release.yaml +0 -0
  87. {hpvsim-2.2.6 → hpvsim-2.2.7}/.github/workflows/tests.yaml +0 -0
  88. {hpvsim-2.2.6 → hpvsim-2.2.7}/LICENSE +0 -0
  89. {hpvsim-2.2.6 → hpvsim-2.2.7}/docs/tutorials/nigeria_cancer_cases.csv +0 -0
  90. {hpvsim-2.2.6 → hpvsim-2.2.7}/docs/tutorials/nigeria_cancer_types.csv +0 -0
  91. {hpvsim-2.2.6 → hpvsim-2.2.7}/docs/tutorials/south_africa_age_pyramid.csv +0 -0
  92. {hpvsim-2.2.6 → hpvsim-2.2.7}/examples/t05_screen_algorithms.py +0 -0
  93. {hpvsim-2.2.6 → hpvsim-2.2.7}/hpvsim/__init__.py +0 -0
  94. {hpvsim-2.2.6 → hpvsim-2.2.7}/hpvsim/base.py +0 -0
  95. {hpvsim-2.2.6 → hpvsim-2.2.7}/hpvsim/calibration.py +0 -0
  96. {hpvsim-2.2.6 → hpvsim-2.2.7}/hpvsim/data/__init__.py +0 -0
  97. {hpvsim-2.2.6 → hpvsim-2.2.7}/hpvsim/data/downloaders.py +0 -0
  98. {hpvsim-2.2.6 → hpvsim-2.2.7}/hpvsim/data/loaders.py +0 -0
  99. {hpvsim-2.2.6 → hpvsim-2.2.7}/hpvsim/data/products_dx.csv +0 -0
  100. {hpvsim-2.2.6 → hpvsim-2.2.7}/hpvsim/data/products_tx.csv +0 -0
  101. {hpvsim-2.2.6 → hpvsim-2.2.7}/hpvsim/data/products_txvx.csv +0 -0
  102. {hpvsim-2.2.6 → hpvsim-2.2.7}/hpvsim/data/products_vx.csv +0 -0
  103. {hpvsim-2.2.6 → hpvsim-2.2.7}/hpvsim/data/test_downloaders.py +0 -0
  104. {hpvsim-2.2.6 → hpvsim-2.2.7}/hpvsim/data/test_loaders.py +0 -0
  105. {hpvsim-2.2.6 → hpvsim-2.2.7}/hpvsim/defaults.py +0 -0
  106. {hpvsim-2.2.6 → hpvsim-2.2.7}/hpvsim/hiv.py +0 -0
  107. {hpvsim-2.2.6 → hpvsim-2.2.7}/hpvsim/immunity.py +0 -0
  108. {hpvsim-2.2.6 → hpvsim-2.2.7}/hpvsim/parameters.py +0 -0
  109. {hpvsim-2.2.6 → hpvsim-2.2.7}/hpvsim/people.py +0 -0
  110. {hpvsim-2.2.6 → hpvsim-2.2.7}/hpvsim/plotting.py +0 -0
  111. {hpvsim-2.2.6 → hpvsim-2.2.7}/hpvsim/regression/pars_v0.2.6.json +0 -0
  112. {hpvsim-2.2.6 → hpvsim-2.2.7}/hpvsim/regression/pars_v0.2.9.json +0 -0
  113. {hpvsim-2.2.6 → hpvsim-2.2.7}/hpvsim/regression/pars_v0.3.0.json +0 -0
  114. {hpvsim-2.2.6 → hpvsim-2.2.7}/hpvsim/regression/pars_v0.3.1.json +0 -0
  115. {hpvsim-2.2.6 → hpvsim-2.2.7}/hpvsim/run.py +0 -0
  116. {hpvsim-2.2.6 → hpvsim-2.2.7}/hpvsim/utils.py +0 -0
  117. {hpvsim-2.2.6 → hpvsim-2.2.7}/hpvsim.egg-info/dependency_links.txt +0 -0
  118. {hpvsim-2.2.6 → hpvsim-2.2.7}/hpvsim.egg-info/entry_points.txt +0 -0
  119. {hpvsim-2.2.6 → hpvsim-2.2.7}/hpvsim.egg-info/requires.txt +0 -0
  120. {hpvsim-2.2.6 → hpvsim-2.2.7}/hpvsim.egg-info/top_level.txt +0 -0
  121. {hpvsim-2.2.6 → hpvsim-2.2.7}/setup.cfg +0 -0
  122. {hpvsim-2.2.6 → hpvsim-2.2.7}/tests/.coveragerc +0 -0
  123. {hpvsim-2.2.6 → hpvsim-2.2.7}/tests/baseline.json +0 -0
  124. {hpvsim-2.2.6 → hpvsim-2.2.7}/tests/benchmark.json +0 -0
  125. {hpvsim-2.2.6 → hpvsim-2.2.7}/tests/benchmark_profile.py +0 -0
  126. {hpvsim-2.2.6 → hpvsim-2.2.7}/tests/check_coverage +0 -0
  127. {hpvsim-2.2.6 → hpvsim-2.2.7}/tests/devtests/check_hiv_data.py +0 -0
  128. {hpvsim-2.2.6 → hpvsim-2.2.7}/tests/devtests/hpv_test_pars.csv +0 -0
  129. {hpvsim-2.2.6 → hpvsim-2.2.7}/tests/devtests/multiscale_concept1.py +0 -0
  130. {hpvsim-2.2.6 → hpvsim-2.2.7}/tests/devtests/multiscale_concept2.py +0 -0
  131. {hpvsim-2.2.6 → hpvsim-2.2.7}/tests/devtests/multiscale_concept3.py +0 -0
  132. {hpvsim-2.2.6 → hpvsim-2.2.7}/tests/devtests/multiscale_test.df +0 -0
  133. {hpvsim-2.2.6 → hpvsim-2.2.7}/tests/devtests/mysql_hpvsim_test.py +0 -0
  134. {hpvsim-2.2.6 → hpvsim-2.2.7}/tests/devtests/mysql_test.py +0 -0
  135. {hpvsim-2.2.6 → hpvsim-2.2.7}/tests/devtests/network_dx.py +0 -0
  136. {hpvsim-2.2.6 → hpvsim-2.2.7}/tests/devtests/plot_nathx.py +0 -0
  137. {hpvsim-2.2.6 → hpvsim-2.2.7}/tests/devtests/setup_mysql +0 -0
  138. {hpvsim-2.2.6 → hpvsim-2.2.7}/tests/devtests/test_cancer_dysp.py +0 -0
  139. {hpvsim-2.2.6 → hpvsim-2.2.7}/tests/devtests/test_dt.py +0 -0
  140. {hpvsim-2.2.6 → hpvsim-2.2.7}/tests/devtests/test_hiv.py +0 -0
  141. {hpvsim-2.2.6 → hpvsim-2.2.7}/tests/devtests/test_latency.py +0 -0
  142. {hpvsim-2.2.6 → hpvsim-2.2.7}/tests/devtests/test_logistic.py +0 -0
  143. {hpvsim-2.2.6 → hpvsim-2.2.7}/tests/devtests/test_merge_scens.py +0 -0
  144. {hpvsim-2.2.6 → hpvsim-2.2.7}/tests/devtests/test_multiscale.py +0 -0
  145. {hpvsim-2.2.6 → hpvsim-2.2.7}/tests/devtests/test_multiscale_pars.py +0 -0
  146. {hpvsim-2.2.6 → hpvsim-2.2.7}/tests/devtests/test_networks.py +0 -0
  147. {hpvsim-2.2.6 → hpvsim-2.2.7}/tests/devtests/test_new_progs.py +0 -0
  148. {hpvsim-2.2.6 → hpvsim-2.2.7}/tests/devtests/test_parameter_exploration.py +0 -0
  149. {hpvsim-2.2.6 → hpvsim-2.2.7}/tests/devtests/test_popgrowth.py +0 -0
  150. {hpvsim-2.2.6 → hpvsim-2.2.7}/tests/devtests/test_popscale.py +0 -0
  151. {hpvsim-2.2.6 → hpvsim-2.2.7}/tests/devtests/test_sampler.py +0 -0
  152. {hpvsim-2.2.6 → hpvsim-2.2.7}/tests/devtests/test_txvx.py +0 -0
  153. {hpvsim-2.2.6 → hpvsim-2.2.7}/tests/devtests/tut_parameter_exploration.ipynb +0 -0
  154. {hpvsim-2.2.6 → hpvsim-2.2.7}/tests/hpvsim_v1.2.2.yml +0 -0
  155. {hpvsim-2.2.6 → hpvsim-2.2.7}/tests/pytest.ini +0 -0
  156. {hpvsim-2.2.6 → hpvsim-2.2.7}/tests/requirements.txt +0 -0
  157. {hpvsim-2.2.6 → hpvsim-2.2.7}/tests/run_tests +0 -0
  158. {hpvsim-2.2.6 → hpvsim-2.2.7}/tests/simple.py +0 -0
  159. {hpvsim-2.2.6 → hpvsim-2.2.7}/tests/test_analysis.py +0 -0
  160. {hpvsim-2.2.6 → hpvsim-2.2.7}/tests/test_baselines.py +0 -0
  161. {hpvsim-2.2.6 → hpvsim-2.2.7}/tests/test_calibration.py +0 -0
  162. {hpvsim-2.2.6 → hpvsim-2.2.7}/tests/test_data/RSA_data.csv +0 -0
  163. {hpvsim-2.2.6 → hpvsim-2.2.7}/tests/test_data/art_coverage_south_africa.csv +0 -0
  164. {hpvsim-2.2.6 → hpvsim-2.2.7}/tests/test_data/australia_age_pyramid.csv +0 -0
  165. {hpvsim-2.2.6 → hpvsim-2.2.7}/tests/test_data/hiv_incidence_south_africa.csv +0 -0
  166. {hpvsim-2.2.6 → hpvsim-2.2.7}/tests/test_data/india_cancer_cases.csv +0 -0
  167. {hpvsim-2.2.6 → hpvsim-2.2.7}/tests/test_data/india_cancer_deaths.csv +0 -0
  168. {hpvsim-2.2.6 → hpvsim-2.2.7}/tests/test_data/india_cancer_types.csv +0 -0
  169. {hpvsim-2.2.6 → hpvsim-2.2.7}/tests/test_data/india_cin_types.csv +0 -0
  170. {hpvsim-2.2.6 → hpvsim-2.2.7}/tests/test_data/india_data.csv +0 -0
  171. {hpvsim-2.2.6 → hpvsim-2.2.7}/tests/test_data/india_hpv_data.csv +0 -0
  172. {hpvsim-2.2.6 → hpvsim-2.2.7}/tests/test_data/india_hpv_prevalence.csv +0 -0
  173. {hpvsim-2.2.6 → hpvsim-2.2.7}/tests/test_data/kenya_age_pyramid.csv +0 -0
  174. {hpvsim-2.2.6 → hpvsim-2.2.7}/tests/test_data/kenya_cancer_incidence.csv +0 -0
  175. {hpvsim-2.2.6 → hpvsim-2.2.7}/tests/test_data/kenya_cancer_mortality.csv +0 -0
  176. {hpvsim-2.2.6 → hpvsim-2.2.7}/tests/test_data/kenya_data.csv +0 -0
  177. {hpvsim-2.2.6 → hpvsim-2.2.7}/tests/test_data/param_space.csv +0 -0
  178. {hpvsim-2.2.6 → hpvsim-2.2.7}/tests/test_data/param_space_filled.csv +0 -0
  179. {hpvsim-2.2.6 → hpvsim-2.2.7}/tests/test_data/south_africa_age_pyramid.csv +0 -0
  180. {hpvsim-2.2.6 → hpvsim-2.2.7}/tests/test_data/south_africa_art_coverage_by_age_females.csv +0 -0
  181. {hpvsim-2.2.6 → hpvsim-2.2.7}/tests/test_data/south_africa_art_coverage_by_age_males.csv +0 -0
  182. {hpvsim-2.2.6 → hpvsim-2.2.7}/tests/test_data/south_africa_cancer_data_2020.csv +0 -0
  183. {hpvsim-2.2.6 → hpvsim-2.2.7}/tests/test_data/south_africa_cancer_data_hiv_2020.csv +0 -0
  184. {hpvsim-2.2.6 → hpvsim-2.2.7}/tests/test_data/south_africa_cancer_incidence_by_age_no_hiv.csv +0 -0
  185. {hpvsim-2.2.6 → hpvsim-2.2.7}/tests/test_data/south_africa_cancer_incidence_by_age_with_hiv.csv +0 -0
  186. {hpvsim-2.2.6 → hpvsim-2.2.7}/tests/test_data/south_africa_female_hiv_mortality.csv +0 -0
  187. {hpvsim-2.2.6 → hpvsim-2.2.7}/tests/test_data/south_africa_hpv_data.csv +0 -0
  188. {hpvsim-2.2.6 → hpvsim-2.2.7}/tests/test_data/south_africa_male_hiv_mortality.csv +0 -0
  189. {hpvsim-2.2.6 → hpvsim-2.2.7}/tests/test_data/south_africa_target_data.csv +0 -0
  190. {hpvsim-2.2.6 → hpvsim-2.2.7}/tests/test_data/south_africa_type_distribution_cancer.csv +0 -0
  191. {hpvsim-2.2.6 → hpvsim-2.2.7}/tests/test_data/south_africa_type_distribution_high_grade_lesion.csv +0 -0
  192. {hpvsim-2.2.6 → hpvsim-2.2.7}/tests/test_data/tanzania_age_pyramid.csv +0 -0
  193. {hpvsim-2.2.6 → hpvsim-2.2.7}/tests/test_data/tanzania_data.csv +0 -0
  194. {hpvsim-2.2.6 → hpvsim-2.2.7}/tests/test_data/test_tx_assigner.csv +0 -0
  195. {hpvsim-2.2.6 → hpvsim-2.2.7}/tests/test_data/test_via.csv +0 -0
  196. {hpvsim-2.2.6 → hpvsim-2.2.7}/tests/test_data/test_via_triage.csv +0 -0
  197. {hpvsim-2.2.6 → hpvsim-2.2.7}/tests/test_data.py +0 -0
  198. {hpvsim-2.2.6 → hpvsim-2.2.7}/tests/test_event_schedule.py +0 -0
  199. {hpvsim-2.2.6 → hpvsim-2.2.7}/tests/test_run.py +0 -0
  200. {hpvsim-2.2.6 → hpvsim-2.2.7}/tests/test_sim.py +0 -0
  201. {hpvsim-2.2.6 → hpvsim-2.2.7}/tests/update_baseline +0 -0
@@ -2,6 +2,12 @@
2
2
  *.obj
3
3
  files/
4
4
 
5
+ # Quarto
6
+ _freeze/
7
+ _inv/
8
+ api/
9
+ .jupyter_cache/
10
+
5
11
  # Other files
6
12
  .idea
7
13
  .vscode
@@ -79,9 +85,11 @@ instance/
79
85
  # Scrapy stuff:
80
86
  .scrapy
81
87
 
82
- # Sphinx documentation
88
+ # Sphinx (legacy) / Quarto documentation
83
89
  docs/_build/
84
90
  docs/api/_autosummary
91
+ docs/_site/
92
+ objects.json
85
93
 
86
94
  # PyBuilder
87
95
  target/
@@ -0,0 +1,473 @@
1
+ All notable changes to the codebase are documented in this file. Changes
2
+ that may result in differences in model output, or are required in order
3
+ to run an old parameter set with the current version, are flagged with
4
+ the term "Regression information".
5
+
6
+ ## Version 2.2.7 (2026-04-22)
7
+
8
+ - Fix cancer treatment results always being blank: `BaseTreatment.check_eligibility` was excluding cancer patients (preventing radiation from running), `BaseTreatment.apply` was writing to CIN fields for cancer treatment, and `cum_cancer_treated` cumsum used the wrong source array
9
+ - *Github info* PR [92](https://github.com/starsimhub/hpvsim/pull/92), issue [91](https://github.com/starsimhub/hpvsim/issues/91)
10
+
11
+ ## Version 2.2.6 (2026-04-17)
12
+
13
+ - Reconcile different copies of repository
14
+ - *Github info* PR [75](https://github.com/starsimhub/hpvsim/pull/75)
15
+
16
+ ## Version 2.2.5 (2025-10-27)
17
+
18
+ - Small bugfix for campaign vaccination
19
+ - *Github info* PR
20
+ [689](https://github.com/starsimhub/hpvsim_orig/pull/689)
21
+
22
+ ## Version 2.2.4 (2025-08-20)
23
+
24
+ - Fixes a bug in analyzer results for cancer by age and HIV status
25
+ - *Github info* PR
26
+ [687](https://github.com/starsimhub/hpvsim_orig/pull/687)
27
+
28
+ ## Version 2.2.3 (2025-06-27)
29
+
30
+ - Small bugfixes and changes to HIV module parameterization
31
+ - *Github info* PR
32
+ [685](https://github.com/starsimhub/hpvsim_orig/pull/685)
33
+
34
+ ## Version 2.2.2 (2025-06-20)
35
+
36
+ - Bugfix to allow running simulations beyond 2100
37
+ - *Github info* PR
38
+ [681](https://github.com/starsimhub/hpvsim_orig/pull/681)
39
+
40
+ ## Version 2.2.1 (2025-05-29)
41
+
42
+ - Bugfix for running calibrations to prevent interventions being
43
+ reinitialized
44
+ - *Github info* PR
45
+ [678](https://github.com/starsimhub/hpvsim_orig/pull/678)
46
+
47
+ ## Version 2.2.0 (2025-05-23)
48
+
49
+ - Refresh results: ensure all main results are populated, remove cancer
50
+ detection results, and fix bug with HPV prevalence calculations
51
+ - Updates to docs
52
+ - *Github info* PR
53
+ [673](https://github.com/starsimhub/hpvsim_orig/pull/673)
54
+
55
+ ## Version 2.1.0 (2025-03-25)
56
+
57
+ - Updates how HPV prognoses are re-evaluated for WLWH
58
+ - Fixes CD4 reconstitution trajectory so that it plateaus before
59
+ quadratic starts decreasing
60
+ - Fixes ART coverage so that it's now by age, sex, and time
61
+ - Fixes assignment of HIV mortality based upon ART coverage
62
+ - Removes HIV-mortality from background mortality
63
+ - Small fix to enable calibration to HIV-stratified data
64
+ - Adds a more robust data downloading method and renamed `get_data()` to
65
+ `download_data()`; updated data version to 1.4
66
+ - *Github info* PR [652](https://github.com/amath-idm/hpvsim/pull/652)
67
+
68
+ ## Version 2.0.2 (2024-03-05)
69
+
70
+ - Modifies DALY analyzer to output YLLL, YLD and DALYs
71
+ - *Github info* PR [659](https://github.com/amath-idm/hpvsim/pull/659)
72
+
73
+ ## Version 2.0.1 (2024-02-14)
74
+
75
+ - Adds in relative transmissibility attribute to people that can be
76
+ modified by vaccination or treatment
77
+ - *Github info* PR [643](https://github.com/amath-idm/hpvsim/pull/658)
78
+
79
+ ## Version 2.0.0 (2023-11-29)
80
+
81
+ - Simplifies natural history model by compressing CIN grades
82
+ - Changes the way HPV progression is modeled so that there is a
83
+ probability of developing CIN based upon duration of precin and
84
+ probability of cancer based upon duration of cancer (based upon
85
+ Rodriguez et al.
86
+ <https://www.ncbi.nlm.nih.gov/pmc/articles/PMC3705579/>)
87
+ - Adds support for pre-calibration explorations
88
+ - Improvements to networks, including clustering functionality, support
89
+ for different distributions for male and female partners and for
90
+ differing concurrency rates, and changes to default partnership
91
+ durations
92
+ - Exposes a parameter for specifying the sex ratio of a population
93
+ - Fixes plotting issue with tutorial
94
+ - Updates filtering for tests that are not genotype-specific
95
+ - *Github info* PR [643](https://github.com/amath-idm/hpvsim/pull/643)
96
+
97
+ ## Version 1.2.7 (2023-09-22)
98
+
99
+ - Updates `sim.summary` to have more useful information
100
+ - *Github info* PR [618](https://github.com/amath-idm/hpvsim/pull/618)
101
+
102
+ ## Version 1.2.6 (2023-09-22)
103
+
104
+ - Fixes plotting issue with MultiSims and Jupyter notebooks
105
+ - Allows scenarios to be run fully in parallel
106
+ - *Github info* PR [614](https://github.com/amath-idm/hpvsim/pull/614)
107
+
108
+ ## Version 1.2.5 (2023-09-21)
109
+
110
+ - Fixes file path when run via Jupyter
111
+ - *Github info* PR [610](https://github.com/amath-idm/hpvsim/pull/610)
112
+
113
+ ## Version 1.2.4 (2023-09-19)
114
+
115
+ - Fixes Matplotlib regression in plotting
116
+ - *Github info* PR [609](https://github.com/amath-idm/hpvsim/pull/609)
117
+
118
+ ## Version 1.2.3 (2023-08-30)
119
+
120
+ - Updates data loading to be much more efficient
121
+ - *Github info* PR [604](https://github.com/amath-idm/hpvsim/pull/604)
122
+
123
+ ## Version 1.2.2 (2023-08-11)
124
+
125
+ - Improved tests and included `conda` environment specification
126
+ - *Github info* PR [598](https://github.com/amath-idm/hpvsim/pull/598)
127
+
128
+ ## Version 1.2.1 (2023-07-09)
129
+
130
+ - Updated data files being used
131
+ - *Github info* PR [586](https://github.com/amath-idm/hpvsim/pull/586)
132
+
133
+ ## Version 1.2.0 (2023-05-31)
134
+
135
+ - Changes to improve run speed, most notably changes to how migration is
136
+ applied
137
+ - Additional tests to ensure consistency between calibration results,
138
+ age analyzer results, and sim results
139
+ - Updates to natural history to prevent people progressing too quickly
140
+ to cancer
141
+ - *Github info* PR [576](https://github.com/amath-idm/hpvsim/pull/576)
142
+
143
+ ## Version 1.1.5 (2023-03-23)
144
+
145
+ - Adds cross-protection functionality to t-cell immunity and adds
146
+ <span class="title-ref">sev_imm</span> attribute to people
147
+ - *Github info* PR [564](https://github.com/amath-idm/hpvsim/pull/564)
148
+
149
+ ## Version 1.1.4 (2023-03-15)
150
+
151
+ - Fixes bug that caused location data to be loaded twice
152
+ - *Github info* PR [546](https://github.com/amath-idm/hpvsim/pull/546)
153
+
154
+ ## Version 1.1.3 (2023-03-14)
155
+
156
+ - Fixes bug that misses some ways you can specify sex for vaccination
157
+ - *Github info* PR [555](https://github.com/amath-idm/hpvsim/pull/555)
158
+
159
+ ## Version 1.1.2 (2023-03-13)
160
+
161
+ - Fixes bug that never computed cancer deaths by age
162
+ - *Github info* PR [554](https://github.com/amath-idm/hpvsim/pull/554)
163
+
164
+ ## Version 1.1.1 (2023-03-01)
165
+
166
+ - Sets time to and date of HIV death for those not on ART and who fail
167
+ on ART
168
+ - Moves all HIV attributes, parameters, and results into hivsim class
169
+ instance
170
+ - Merges HIV results with sim.results at conclusion of simulation
171
+ - Adds HIV pars as an argument to calibration as well as HIV-specific
172
+ results to age-results analyzer
173
+ - Allows for flexible severity growth functions
174
+ - *Github info* PR [542](https://github.com/amath-idm/hpvsim/pull/542)
175
+
176
+ ## Version 1.1.0 (2023-02-16)
177
+
178
+ - Moves all HIV functionality into hiv.py
179
+ - Establishes new class HIVsim, which is defined by a set of parameters
180
+ and methods for updating a people object
181
+ - Bug fix for setting people.sev wrong on day of infection
182
+ - *Github info* PR [526](https://github.com/amath-idm/hpvsim/pull/526)
183
+
184
+ ## Version 1.0.1 (2023-02-09)
185
+
186
+ - Fixes computation of dur_episomal by adjusting for dt
187
+ - *GitHub info*: PR [527](https://github.com/amath-idm/hpvsim/pull/527)
188
+
189
+ ## Version 1.0.0 (2023-01-31)
190
+
191
+ - Official release!
192
+ - *GitHub info*: PR [521](https://github.com/amath-idm/hpvsim/pull/521)
193
+
194
+ ## Version 0.4.17 (2023-01-31)
195
+
196
+ - Adds a tutorial on calibration
197
+ - Small changes to parameter values
198
+ - *GitHub info*: PR [520](https://github.com/amath-idm/hpvsim/pull/520)
199
+
200
+ ## Version 0.4.16 (2023-01-30)
201
+
202
+ - Change to natural history, including computation of transformation
203
+ based upon time with dysplasia
204
+ - Addition of cellular immunity to moderate progression in a secondary
205
+ infection
206
+ - Default parameter changes and some small typo/bug fixes
207
+ - *GitHub info*: PR [513](https://github.com/amath-idm/hpvsim/pull/513)
208
+
209
+ ## Version 0.4.15 (2023-01-13)
210
+
211
+ - Fixed bug in intervention and analyzer initialization
212
+ - *GitHub info*: PR [511](https://github.com/amath-idm/hpvsim/pull/511)
213
+
214
+ ## Version 0.4.14 (2023-01-11)
215
+
216
+ - Add Sweep class
217
+ - *GitHub info*: PR [431](https://github.com/amath-idm/hpvsim/pull/431)
218
+
219
+ ## Version 0.4.13 (2023-01-09)
220
+
221
+ - Dysplasia percentages are now tracked throughout agent lifetimes, and
222
+ CIN grades are defined as properties based on these percentages
223
+ - Removes all genotypes aside from HPV 16, 18 and a composite 'other
224
+ high risk' genotype from the defaults
225
+ - *GitHub info*: PR [507](https://github.com/amath-idm/hpvsim/pull/507)
226
+
227
+ ## Version 0.4.12 (2023-01-02)
228
+
229
+ - Adds documentation and examples for screening algorithms.
230
+ - *GitHub info*: PR [505](https://github.com/amath-idm/hpvsim/pull/505)
231
+
232
+ ## Version 0.4.11 (2022-12-21)
233
+
234
+ - Adds colposcopy and cytology testing options, along with default
235
+ values for screening sensitivity and specificity.
236
+ - Adds a clearance probability for treatment to control the % of treated
237
+ women who also clear their infection
238
+ - Removes use_multiscale parameter and sets ms_agent_ratio to 1 by
239
+ default
240
+ - *GitHub info*: PR [497](https://github.com/amath-idm/hpvsim/pull/497)
241
+
242
+ ## Version 0.4.10 (2022-12-19)
243
+
244
+ - Change the seed used for running simulations to avoid having random
245
+ processes in the model run sometimes being correlated with population
246
+ attributes
247
+ - Deprecate `Sim.set_seed()` - use `hpu.set_seed()` instead
248
+ - Added `hpvsim.rootdir` to provide a convenient absolute path to the
249
+ - Added equality operator for <span class="title-ref">Result</span>
250
+ objects
251
+ - Exporting simulation results to JSON now includes 2D results (e.g., by
252
+ genotype)
253
+ - `age_pyramid` and `age_results` analyzer argument changed from
254
+ `datafile` to `data` since this input supports both passing in a
255
+ filename or a dataframe
256
+ - *GitHub info*: PR [485](https://github.com/amath-idm/hpvsim/pull/485)
257
+
258
+ ## Version 0.4.9 (2022-12-16)
259
+
260
+ - Added in high- and low-grade lesions to type distribution results
261
+ - Changes default duration and rate of dysplasia for hr HPVs
262
+ - *GitHub info*: PR [479](https://github.com/amath-idm/hpvsim/pull/482)
263
+
264
+ ## Version 0.4.8 (2022-12-14)
265
+
266
+ - Small bug fix to re-enable plots of cytology outcomes by genotype
267
+ - *GitHub info*: PR [484](https://github.com/amath-idm/hpvsim/pull/484)
268
+
269
+ ## Version 0.4.7 (2022-12-13)
270
+
271
+ - Migration is now modeled by finding mismatches between the modeled
272
+ population size by age and data on population sizes by age
273
+ (previously, this adjustment was done for the overall population
274
+ rather than by age bucket).
275
+ - *GitHub info*: PR [479](https://github.com/amath-idm/hpvsim/pull/479)
276
+
277
+ ## Version 0.4.6 (2022-12-12)
278
+
279
+ - Changes to several default parameters: default genotypes are now 16,
280
+ 18, and other high-risk; and default hpv control prob is now 0.
281
+ - Results now capture infections by age and type distributions.
282
+ - Adds age of cancer to analyzer
283
+ - Changes to default plotting styles
284
+ - Various bugfixes: prevents immunity values from exceeding 1, ensures
285
+ people with cancer aren't given second cancers
286
+ - *GitHub info*: PR [458](https://github.com/amath-idm/hpvsim/pull/458)
287
+
288
+ ## Version 0.4.5 (2022-12-06)
289
+
290
+ - Removes default screening products pending review
291
+ - *GitHub info*: PR [464](https://github.com/amath-idm/hpvsim/pull/464)
292
+
293
+ ## Version 0.4.4 (2022-12-05)
294
+
295
+ - Changes to progression to cancer -- no longer based on clinical
296
+ cutoffs, now stochastically applied by genotype to CIN3 agents
297
+ - *GitHub info*: PR [430](https://github.com/amath-idm/hpvsim/pull/430)
298
+
299
+ ## Version 0.4.3 (2022-12-01)
300
+
301
+ - Fixes bug with population growth function
302
+ - *GitHub info*: PR [459](https://github.com/amath-idm/hpvsim/pull/459)
303
+
304
+ ## Version 0.4.2 (2022-11-21)
305
+
306
+ - Changes to parameterization of immunity
307
+ - *GitHub info*: PR [425](https://github.com/amath-idm/hpvsim/pull/425)
308
+
309
+ ## Version 0.4.1 (2022-11-21)
310
+
311
+ - Fixes age of migration
312
+ - Adds scale parameter for vital dynamics
313
+ - *GitHub info*: PR [423](https://github.com/amath-idm/hpvsim/pull/423)
314
+
315
+ ## Version 0.4.0 (2022-11-16)
316
+
317
+ - Adds merge method for scenarios and fixes printing bugs
318
+ - *GitHub info*: PR [422](https://github.com/amath-idm/hpvsim/pull/422)
319
+
320
+ ## Version 0.3.9 (2022-11-15)
321
+
322
+ - Simplifies genotype initialization, adds checks for HIV runs.
323
+ - Since the last release, changes were also made to virological
324
+ clearance rates for people receiving treatment - previously all
325
+ treated people would clear infection, but now some may control
326
+ latently instead.
327
+ - *GitHub info*: PRs [421](https://github.com/amath-idm/hpvsim/pull/421)
328
+ and [420](https://github.com/amath-idm/hpvsim/pull/420)
329
+
330
+ ## Version 0.3.8 (2022-11-02)
331
+
332
+ - Store treatment properties as part of sim.people
333
+ - *GitHub info*: PR [413](https://github.com/amath-idm/hpvsim/pull/413)
334
+
335
+ ## Version 0.3.7 (2022-11-01)
336
+
337
+ - Fix to ensure consistent results for the number of txvx doses
338
+ - *GitHub info*: PR [411](https://github.com/amath-idm/hpvsim/pull/411)
339
+
340
+ ## Version 0.3.6 (2022-11-01)
341
+
342
+ - Fix bug related to screening eligibility. NB, this has a sizeable
343
+ impact on results - screening strategies will be much more effective
344
+ after this fix.
345
+ - *GitHub info*: PR [396](https://github.com/amath-idm/hpvsim/pull/396)
346
+
347
+ ## Version 0.3.5 (2022-10-31)
348
+
349
+ - Store stocks related to interventions
350
+ - *GitHub info*: PR [395](https://github.com/amath-idm/hpvsim/pull/395)
351
+
352
+ ## Version 0.3.4 (2022-10-31)
353
+
354
+ - Bugfixes for therapeutic vaccination
355
+ - *GitHub info*: PR [394](https://github.com/amath-idm/hpvsim/pull/394)
356
+
357
+ ## Version 0.3.3 (2022-10-30)
358
+
359
+ - Changes to therapeautic vaccine efficacy assumptions
360
+ - *GitHub info*: PR [393](https://github.com/amath-idm/hpvsim/pull/393)
361
+
362
+ ## Version 0.3.2 (2022-10-26)
363
+
364
+ - Additional tutorials and minor release tidying
365
+ - *GitHub info*: PR [380](https://github.com/amath-idm/hpvsim/pull/380)
366
+
367
+ ## Version 0.3.1 (2022-10-26)
368
+
369
+ - Fixes bug with screening
370
+ - Increases coverage of baseline test
371
+ - *GitHub info*: PR [373](https://github.com/amath-idm/hpvsim/pull/373)
372
+
373
+ ## Version 0.3.0 (2022-10-26)
374
+
375
+ - Implements multiscale modeling
376
+ - Minor release tidying
377
+ - *GitHub info*: PR [365](https://github.com/amath-idm/hpvsim/pull/365)
378
+
379
+ ## Version 0.2.11 (2022-10-25)
380
+
381
+ - Changes the way dates of HPV clearance are assigned to use durations
382
+ sampled
383
+ - *GitHub info*: PR [374](https://github.com/amath-idm/hpvsim/pull/374)
384
+
385
+ ## Version 0.2.10 (2022-10-24)
386
+
387
+ - Fixes bug with treatment
388
+ - *GitHub info*: PR [354](https://github.com/amath-idm/hpvsim/pull/354)
389
+
390
+ ## Version 0.2.9 (2022-10-18)
391
+
392
+ - Prevents infectious people from being passed to People.infect()
393
+ - Fixes bugs with initialization within scenario runs
394
+ - Remove ununsed prevalence results
395
+ - *GitHub info*: PR [338](https://github.com/amath-idm/hpvsim/pull/345)
396
+
397
+ ## Version 0.2.8 (2022-10-17)
398
+
399
+ - Fixes bug with intervention year interpolation
400
+ - Changes reactivation probabilities to annual, not per time step
401
+ - Refactor prognoses calls
402
+ - *GitHub info*: PR [338](https://github.com/amath-idm/hpvsim/pull/338)
403
+
404
+ ## Version 0.2.7 (2022-10-14)
405
+
406
+ - Adds robust relative paths via `hpv.datadir`
407
+ - *GitHub info*: PR [333](https://github.com/amath-idm/hpvsim/pull/333)
408
+
409
+ ## Version 0.2.6 (2022-10-12)
410
+
411
+ - Removes Numba since slower for small sims and only 10% faster for
412
+ large sims.
413
+ - Moves functions from `utils.py` into `people.py`, `sim.py`, and
414
+ `population.py`.
415
+ - *GitHub info*: PR [326](https://github.com/amath-idm/hpvsim/pull/326)
416
+
417
+ ## Version 0.2.5 (2022-10-07)
418
+
419
+ - Adds people filtering (NB: not used, and later removed).
420
+ - Fixes bug with `print(sim)` not working.
421
+ - Adds baseline tests.
422
+ - *GitHub info*: PR [310](https://github.com/amath-idm/hpvsim/pull/310)
423
+
424
+ ## Version 0.2.4 (2022-10-07)
425
+
426
+ - Changes to dysplasia progression parameterization
427
+ - Adds a new implementation of HPV natural history for HIV positive
428
+ women
429
+ - Note: HIV was added since the previous version
430
+ - *GitHub info*: PR [304](https://github.com/amath-idm/hpvsim/pull/304)
431
+
432
+ ## Version 0.2.3 (2022-09-01)
433
+
434
+ - Adds a `use_migration` parameter that activates immigration/emigration
435
+ to ensure population sizes line up with data.
436
+ - Adds simple data versioning.
437
+ - *GitHub info*: PR [279](https://github.com/amath-idm/hpvsim/pull/279)
438
+
439
+ ## Version 0.2.2 (2022-08-22)
440
+
441
+ - Separates out the `Calibration` class into a separate file and to no
442
+ longer inherit from `Analyzer`. Functionality is unchanged.
443
+ - *GitHub info*: PR [255](https://github.com/amath-idm/hpvsim/pull/255)
444
+
445
+ ## Version 0.2.1 (2022-08-19)
446
+
447
+ - Improves calibration to enable support for MySQL.
448
+ - Fixes plotting bug.
449
+ - *GitHub info*: PR [253](https://github.com/amath-idm/hpvsim/pull/253)
450
+
451
+ ## Version 0.2.0 (2022-08-19)
452
+
453
+ - Fixed tests and data loading logic.
454
+ - *GitHub info*: PR [251](https://github.com/amath-idm/hpvsim/pull/251)
455
+
456
+ ## Version 0.1.0 (2022-08-01)
457
+
458
+ - Updated calibration.
459
+ - *GitHub info*: PR [215](https://github.com/amath-idm/hpvsim/pull/215)
460
+
461
+ ## Version 0.0.3 (2022-07-18)
462
+
463
+ - Updated data loading scripts.
464
+ - *GitHub info*: PR [156](https://github.com/amath-idm/hpvsim/pull/156)
465
+
466
+ ## Version 0.0.2 (2022-06-15)
467
+
468
+ - Made into a Python module.
469
+ - *GitHub info*: PR [64](https://github.com/amath-idm/hpvsim/pull/64)
470
+
471
+ ## Version 0.0.1 (2022-04-04)
472
+
473
+ - Initial version.
@@ -0,0 +1,82 @@
1
+ # Code of conduct
2
+
3
+ ## Our pledge
4
+
5
+ We believe that a diverse, equitable, and inclusive environment is
6
+ essential for producing the best quality software. In the interest of
7
+ fostering an open and welcoming environment, we as contributors and
8
+ maintainers pledge to making participation in HPVsim development and the
9
+ HPVsim community a harassment-free experience for everyone, regardless
10
+ of age, body size, disability, ethnicity, sex characteristics, gender
11
+ identity and expression, level of experience, education, socio-economic
12
+ status, nationality, personal appearance, race, religion, or sexual
13
+ identity and orientation.
14
+
15
+ ## Our standards
16
+
17
+ Examples of behavior that contributes to creating a positive environment
18
+ include:
19
+
20
+ - Using welcoming and inclusive language
21
+ - Being respectful of differing viewpoints and experiences
22
+ - Gracefully accepting constructive criticism
23
+ - Focusing on what is best for the community
24
+ - Showing empathy towards other community members
25
+
26
+ Examples of unacceptable behavior by participants include:
27
+
28
+ - The use of sexualized language or imagery and unwelcome sexual
29
+ attention or advances
30
+ - Trolling, insulting/derogatory comments, and personal or political
31
+ attacks
32
+ - Public or private harassment
33
+ - Publishing others' private information, such as a physical or
34
+ electronic address, without explicit permission
35
+ - Other conduct which could reasonably be considered inappropriate in a
36
+ professional setting
37
+
38
+ ## Our responsibilities
39
+
40
+ HPVsim maintainers are responsible for clarifying the standards of
41
+ acceptable behavior and will take appropriate and fair corrective action
42
+ in response to any instances of unacceptable behavior.
43
+
44
+ HPVsim maintainers have the right and responsibility to remove, edit, or
45
+ reject comments, commits, code, wiki edits, issues, and other
46
+ contributions that are not aligned to this Code of Conduct, or to ban
47
+ temporarily or permanently any contributor for other behaviors that they
48
+ deem inappropriate, threatening, offensive, or harmful.
49
+
50
+ ## Scope
51
+
52
+ This Code of Conduct applies both within project spaces and in public
53
+ spaces when an individual is representing HPVsim or its community.
54
+ Examples of representing the HPVsim project or community include using
55
+ an official project e-mail address, posting via an official social media
56
+ account, or acting as an appointed representative at an online or
57
+ offline event.
58
+
59
+ ## Enforcement
60
+
61
+ Instances of abusive, harassing, or otherwise unacceptable behavior may
62
+ be reported by contacting the project team at
63
+ <robyn.stuart@gatesfoundation.org>. All complaints will be reviewed and
64
+ investigated and will result in a response that is deemed necessary and
65
+ appropriate to the circumstances. The HPVsim team is obligated to
66
+ maintain confidentiality with regard to the reporter of an incident.
67
+ Further details of specific enforcement policies may be posted
68
+ separately.
69
+
70
+ HPVsim maintainers who do not follow or enforce the Code of Conduct in
71
+ good faith may face temporary or permanent repercussions as determined
72
+ by other members of HPVsim's leadership.
73
+
74
+ ## Attribution
75
+
76
+ This Code of Conduct is adapted from the [Contributor
77
+ Covenant](https://www.contributor-covenant.org), version 1.4, available
78
+ at
79
+ <https://www.contributor-covenant.org/version/1/4/code-of-conduct.html>.
80
+
81
+ For answers to common questions about this code of conduct, see the
82
+ [FAQ](https://www.contributor-covenant.org/faq).
@@ -1,6 +1,6 @@
1
1
  include LICENSE
2
2
  global-include requirements*.txt
3
- global-include *.rst
3
+ global-include *.md
4
4
  recursive-include hpvsim *.py
5
5
  recursive-include hpvsim *.csv
6
6
  recursive-include hpvsim *.json