-
Notifications
You must be signed in to change notification settings - Fork 33
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
Issue 917: Create a markdown of the synthetic recover results & post as a PR comment #928
base: main
Are you sure you want to change the base?
Issue 917: Create a markdown of the synthetic recover results & post as a PR comment #928
Conversation
I'm not sure why this runs in my fork but not here... https://github.com/kaitejohnson/EpiNow2/actions/runs/12786541970/job/35647701957?pr=5 |
This seems to be a permission issue. The action reports that it can only read PRs That said, it's not immediately obvious to me why these are different. |
Hmm yes on my fork the GH Action also has write permissions: I'll look into the live codes or an alternative solution. |
Oh, I wonder if this is because you're trying to merge this from a fork - will test a PR within the repo. |
A-ha #930 (comment) |
Interesting, I didn't realise that permissions differ if you are opening a PR from a fork vs from within the repo! This now makes more sense, since my test was fully within my fork. |
@kaitejohnson given this works in the other PR, are you happy for this to be merged? I think the failing check on ubuntu is unrelated and it seems to happen across Actions. |
note my comment about depending on the action used here. |
I think my main concern is the same as @seabbs, but I am not overly concerned about it as a solution since my understanding is we all sort of rely on GH actions from repos that may or may not be maintained.... (maybe this isn't true). I am also pretty stuck on the LiveCodes thing (I think it being in java script is just making me really not understand what's going on.. kaitejohnson#8) |
Is the worry that this will disappear? We could just copy it (with attribution) given that it's under an open license? Or is there some other concern? |
I think that makes sense! No I don't think there's any other concern from my perspective. Happy for it to be merged! |
Description
This PR closes #917.
This PR creates a new
synthetic_recovery.md
which contains the results, in figure format, from running theinst/dev/recover-synthetic/rt.R
andinst/dev/recover-synthetic/eval_rt.R
. These scripts generate synthetic data and fit them using various specifications, and evaluate the results.The modified
.github/workflows/synthetic_validation.yml
renders the markdown and posts a link to download the artifact as a comment. Another issue will be opened to see if we can avoid downloading and just link to a rendered html.Initial submission checklist
devtools::test()
anddevtools::check()
).devtools::document()
).lintr::lint_package()
).After the initial Pull Request