Skip to content
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

Set up plot testing infrastructure and tests for plot_coverage #517

Merged
merged 7 commits into from
Apr 5, 2021

Conversation

sarah-colq
Copy link
Contributor

@sarah-colq sarah-colq commented Mar 30, 2021

a) set up DEVELOP.md and subdirectories for using vdiffr to test plots.
b) Add tests for plot_coverage (not one type, see issue #516)
c) move compute_coverage and compute_calibration to their plot files because that's the only place those functions are used (to emulate how plot_width is set up).
d) move test_legal_faceting and Interaction(...) to grp_processing_for_facets.R since those are used by multiple plots. Also add a test for test_legal_faceting.
e) rename test-evaluate.R to test-evaluate_predictions.R because the main file was renamed as well.

sarah-colq and others added 2 commits March 29, 2021 14:14
…ons around to reflect they are either used by all plots or a specific plot.
@sarah-colq sarah-colq requested a review from dajmcdon March 30, 2021 19:47
@sarah-colq sarah-colq requested a review from jacobbien as a code owner March 30, 2021 19:47
@sarah-colq sarah-colq removed the request for review from jacobbien March 30, 2021 19:47
@sarah-colq
Copy link
Contributor Author

@dajmcdon checks are passing properly now!

R-packages/evalcast/DESCRIPTION Show resolved Hide resolved
R-packages/evalcast/DEVELOP.md Show resolved Hide resolved
R-packages/evalcast/tests/testthat/test-grp_processing.R Outdated Show resolved Hide resolved
R-packages/evalcast/tests/testthat/test-plot_coverage.R Outdated Show resolved Hide resolved
@sarah-colq sarah-colq merged commit 9b87afa into cmu-delphi:evalcast Apr 5, 2021
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.

2 participants