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

Automated checks for data consistency #36

Open
sangeetabhatia03 opened this issue Jun 17, 2024 · 1 comment
Open

Automated checks for data consistency #36

sangeetabhatia03 opened this issue Jun 17, 2024 · 1 comment
Assignees
Labels
enhancement New feature or request

Comments

@sangeetabhatia03
Copy link
Collaborator

ATM, when I refactor code, I ask pathogen leads to check if the outputs of the refactored code are consistent with previous versions.
Can we automate this process? It would be good to have an orderly plugin that allows comparison of new packets against old packets and output a user-friendly diff?

@sangeetabhatia03 sangeetabhatia03 added the enhancement New feature or request label Jun 17, 2024
@plietar
Copy link
Member

plietar commented Jun 25, 2024

I've implemented support for this in orderly, now under review: mrc-ide/orderly2#147

You can see in https://github.com/mrc-ide/orderly2/blob/9be0906bf3f8d9229152e4c24562045e7cf5e448/tests/testthat/_snaps/compare.md the kind of outputs it produces. I would be curious to get some feedback, and also trying it on larger/real-world files.

By default the diff is going to include changes that are made to the report's R script. You can pass what = "artefacts" to compare the outputs only.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants