mrc-ide / safir

squire and friends individual rewrite
https://mrc-ide.github.io/safir/
Other
1 stars 2 forks source link

Feat/test infection efficacy #52

Closed slwu89 closed 2 years ago

slwu89 commented 2 years ago

splits test-processes-vaccination.R into new file test-processes-vaccination-onwardtransmission.R to store the tests specifically for making sure onward transmission attenuating effect of NAT is working. Adds a new test to test-processes-vaccination.R to make sure vaccine efficacy against infection (S->E probability) is working.

codecov[bot] commented 2 years ago

Codecov Report

Merging #52 (30bb7bd) into main (731a9a3) will increase coverage by 3.31%. The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##             main      #52      +/-   ##
==========================================
+ Coverage   74.46%   77.77%   +3.31%     
==========================================
  Files          35       35              
  Lines        2052     2052              
==========================================
+ Hits         1528     1596      +68     
+ Misses        524      456      -68     
Impacted Files Coverage Δ
R/process_vaccination.R 100.00% <0.00%> (+2.04%) :arrow_up:
R/events_hospital.R 100.00% <0.00%> (+9.23%) :arrow_up:
R/events_vaccination.R 70.00% <0.00%> (+40.00%) :arrow_up:
R/simulation_loop_safir.R 88.88% <0.00%> (+88.88%) :arrow_up:
R/events_exposure_vaccine.R 100.00% <0.00%> (+100.00%) :arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update 731a9a3...30bb7bd. Read the comment docs.