Closed seabbs closed 3 years ago
Merging #92 (e95693f) into main (2e8f3e4) will increase coverage by
0.15%
. The diff coverage is88.88%
.:exclamation: Current head e95693f differs from pull request most recent head caabf0b. Consider uploading reports for the commit caabf0b to get more accurate results
@@ Coverage Diff @@
## main #92 +/- ##
==========================================
+ Coverage 87.69% 87.85% +0.15%
==========================================
Files 11 11
Lines 691 700 +9
==========================================
+ Hits 606 615 +9
Misses 85 85
Impacted Files | Coverage Δ | |
---|---|---|
R/generate-data.R | 0.00% <0.00%> (ø) |
|
R/model-validation.R | 0.00% <ø> (ø) |
|
R/model.R | 100.00% <ø> (ø) |
|
R/plot.R | 88.05% <ø> (ø) |
|
R/utils.R | 100.00% <ø> (ø) |
|
R/forecast.R | 92.42% <100.00%> (+0.11%) |
:arrow_up: |
R/postprocess.R | 98.54% <100.00%> (+0.05%) |
: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 2e8f3e4...caabf0b. Read the comment docs.
This PR extends the generic interface by exposing the ability for a custom function mapping observations to a list as required by stan. It also splits
fv_posterior
into a generic functionfv_posterior
which just wrapsposterior
tooling to summarise theposterior
in an opionated way andfv_tidy_posterior
which does model specific tidying to enable easy use of downstream functions.This PR also:
fv_data
->fv_as_data_list
to avoid confusionfv_extract_forecast
as a new optional choice inforecast
.