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

Decouple scda - reorganise example and test data samples #1

Closed
12 of 18 tasks
Tracked by #529 ...
pawelru opened this issue Dec 8, 2022 · 3 comments
Closed
12 of 18 tasks
Tracked by #529 ...

Decouple scda - reorganise example and test data samples #1

pawelru opened this issue Dec 8, 2022 · 3 comments
Labels

Comments

@pawelru
Copy link
Collaborator

pawelru commented Dec 8, 2022

As a NEST packages maintainer
In order to have my packages more encapsulated (in particular: independent of scda packages)
I want to move example data into the package while still keeping extensive data testing somewhere else (i.e. new package)

This is the target state:

package tern / rlistings / rtables scda.tests chevron tmg / tmc / tg / to goshawk / osprey
test scope - unit
- (general) regression
- (Roche-specific) regression - unit
- (Roche specific) regresion
- unit
- shiny
- unit
- (general) regression
size of data small bigger (scda) small small small

I have discussed this with @shajoezhu and here's the summary:

  • For each of the repo (starting from tern and rlistings): please analyse if scda dependency is really required. If not: let's create example and testing data (it could be the same data sample) and save it into the respective package. This is assumed to be much lighter than scda produces. For some of the cases (e.g. internals to teal) it could be non CDISC.
    As a result, a given package would become independent of scda. This is relevant for individual package release model.
    This needs to be done for many packages (basically all downstream dependencies of scda) starting from tern and rlistings.
  • Create a new (private) repo which would just implement data intensive regression tests based on scda. Those exist currently in tern and it need to be moved from there.

List of tasks:

@shajoezhu
Copy link
Collaborator

how about we name the new repo as "tlg.tests.scda"

@Melkiades
Copy link

Melkiades commented Dec 23, 2022

I widely agree with this issue. Today, I have been thinking about table tests that are currently in tern and I found their repetition with the real TLG-c unnecessary and dangerous. Dangerous because it is very easy at the moment to find discrepancies and even tables that are not tested. I would structure scda.tests (or tlg.tests) so to have all tlgs in only one place (the repo we currently have) while tests just take the output and compare it to saved values generated from the tables. I am strongly against copy-paste the tlg catalog for testing. I think it is prone to errors and updating times take longer and it is possible we forget something, either the current catalog or the testing. Examples of problems:

@gogonzo
Copy link

gogonzo commented Jul 20, 2023

Done!

@gogonzo gogonzo closed this as completed Jul 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants