Merged
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #34 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 20 22 +2
Lines 2329 2399 +70
=========================================
+ Hits 2329 2399 +70 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
kgaythorpe
approved these changes
Feb 20, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Ok, this is a mess of a PR as the more code I wrote, the more issues I found that needed fixing.
The point of the PR is:-
stochastic_files.Randstochastic_graphs.R- the first converts from the incoming (drop)box files to a format that hopefully we'll like -pqfiles we can load witharrow::read_parquet- and they are standardised in a way that's nice. For example usage, seescripts/process_stoch_202310gavi.Randscripts/process_stoch_202409malaria.Rwhich I used to generate the data you may have seen.The rest of the PR is not really very interesting and sorts out a bunch of other things.
The CI had not been run for a while and was failing, so the contents of .github/workflows are taken from more recent R projects that have CI.
We used to use the
qsformat for the aggregated data that would get pushed to annex - and is also in some reports containing that same aggregated data. Sadly, theqspackage has been dumped, and theqs2that supercedes it is not compatible with the original - it can't read the old files. This is quite disappointing, and since we are usingpqin other places, I've gone witharrowthroughout, in the hope that will last longer. I'll revisit the reports at some point.The new code is tested with 100% coverage! Hurrah. But also some older tests needed fixing - some because
testthathas changed some of its output text, and some were missing from some previous work to do with expressing outcomes as a list of whatever the outcomes are, rather than explicitly being deaths, cases and dalys. (We wanted to add ylls).