epiforecasts / forecast.vocs

Contains models and tools to produce short-term forecasts for both case and sequence notifications assuming circulation of either one or two variants. Tools are also provided to allow the evaluation of the use of sequence data for short-term forecasts in both real-world settings and in user generated scenarios.
http://epiforecasts.io/forecast.vocs
Other
8 stars 3 forks source link

Feature: Test s3 #105

Closed seabbs closed 2 years ago

seabbs commented 2 years ago

This PR adds basic tests for S3 functionality added in #101. In addition it cleans up documention, adds a new feature so that the assumed spacing between dates can be varied during postprocessing, and fixes a bug with time referencing transmission advantages.

codecov[bot] commented 2 years ago

Codecov Report

Merging #105 (551bebf) into main (019de36) will increase coverage by 7.26%. The diff coverage is 100.00%.

:exclamation: Current head 551bebf differs from pull request most recent head aeedf48. Consider uploading reports for the commit aeedf48 to get more accurate results Impacted file tree graph

@@            Coverage Diff             @@
##             main     #105      +/-   ##
==========================================
+ Coverage   87.36%   94.62%   +7.26%     
==========================================
  Files          13       13              
  Lines         815      819       +4     
==========================================
+ Hits          712      775      +63     
+ Misses        103       44      -59     
Impacted Files Coverage Δ
R/posterior-methods.R 90.19% <ø> (+90.19%) :arrow_up:
R/forecast.R 92.95% <100.00%> (+0.10%) :arrow_up:
R/postprocess.R 98.64% <100.00%> (+0.01%) :arrow_up:
R/plot.R 92.19% <0.00%> (+0.70%) :arrow_up:
R/forecast-methods.R 80.00% <0.00%> (+80.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 019de36...aeedf48. Read the comment docs.