Skip to content

Final changes for 1.3.3 #322

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 18 commits into from
Oct 17, 2022
Merged

Final changes for 1.3.3 #322

merged 18 commits into from
Oct 17, 2022

Conversation

seabbs
Copy link
Contributor

@seabbs seabbs commented Oct 16, 2022

WIP - tracking down a 10 times performance reversion.

This PR adds final changes for 1.3.3. In particular, it includes some extensions to documentation, improved test coverage, and performance tweaks.

Currently, I am tracking down a significant reversion in performance meaning this is not ready for merging. I assume this was a result of the optimisations to the discrete distributions but I had very poor performance both before and after meaning it may be something else.

LloydChapman and others added 16 commits October 14, 2022 17:31
* Correct implementation of zero_threshold in create_clean_reported_cases

* Add option to filter zeros at start of reported case time series

* revert change to rolling sum and update docs

* change arg name and add llyod as a contributor

* update documentation

* refresh docs

Co-authored-by: Sam Abbott <contact@samabbott.co.uk>
* Update incubation-period.R

* Fixed a few typos

* update from main

Co-authored-by: Sam Abbott <contact@samabbott.co.uk>
* add estimate_secondarry and estimate_truncation simple tests

* update link in news
* upgrade pkgdown version

* add snapshot tests
* optimisations and updates

* port in changes from #311

* update news

* update depreciated testthat features

* use gamma for generation time

* tests for renewal passing (i.e as previous behaviour

* update to new snaps format

* rebuild README
* add doc skeleton

* add rough documentation
@seabbs
Copy link
Contributor Author

seabbs commented Oct 17, 2022

I am seeing these performance issues in Docker but with a local install this PR runs faster than main. Investigating now if its an issue with my development environment vs a package issue.

@seabbs
Copy link
Contributor Author

seabbs commented Oct 17, 2022

I've tested this on Mac and Linux and seeing comparable results for all models compared to main (with this PR being 10% or so faster). On the strength of that, I think we should merge, iron out the last few changes etc as they crop up, and push to CRAN today?

@seabbs seabbs merged commit f4e1eb0 into main Oct 17, 2022
sbfnk pushed a commit that referenced this pull request May 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants