-
Notifications
You must be signed in to change notification settings - Fork 117
Perform GloWGR input validation #240
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
Conversation
Signed-off-by: Karen Feng <karen.feng@databricks.com>
Signed-off-by: Karen Feng <karen.feng@databricks.com>
Signed-off-by: Karen Feng <karen.feng@databricks.com>
Signed-off-by: Karen Feng <karen.feng@databricks.com>
Signed-off-by: Karen Feng <karen.feng@databricks.com>
Codecov Report
@@ Coverage Diff @@
## master #240 +/- ##
=======================================
Coverage 93.75% 93.75%
=======================================
Files 90 90
Lines 4339 4340 +1
Branches 406 379 -27
=======================================
+ Hits 4068 4069 +1
Misses 271 271
Continue to review full report at Codecov.
|
Signed-off-by: Karen Feng <karen.feng@databricks.com>
…ut-validation Signed-off-by: Karen Feng <karen.feng@databricks.com>
Signed-off-by: Karen Feng <karen.feng@databricks.com>
Signed-off-by: Karen Feng <karen.feng@databricks.com>
| """ | ||
| __assert_all_present(labeldf, 'label') | ||
| __check_standardized(labeldf, 'label') | ||
| __assert_all_present(covdf, 'covariate') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should also check standardization of covariates here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done, thanks for the review! Can you take a second look?
Signed-off-by: Karen Feng <karen.feng@databricks.com>
Signed-off-by: Karen Feng <karen.feng@databricks.com>
LelandBarnard
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good!
henrydavidge
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Had a few comments
...main/scala/io/projectglow/transformers/blockvariantsandsamples/VariantSampleBlockMaker.scala
Outdated
Show resolved
Hide resolved
...main/scala/io/projectglow/transformers/blockvariantsandsamples/VariantSampleBlockMaker.scala
Outdated
Show resolved
Hide resolved
Signed-off-by: Karen Feng <karen.feng@databricks.com>
Signed-off-by: Karen Feng <karen.feng@databricks.com>
henrydavidge
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
One nit, LGTM after addressing.
What changes are proposed in this pull request?
Adds the following input validation steps to GloWGR.
sig == 0duringassemble_block.To cut down slightly on runtime, I also wrote out the level 1-reduced GT matrix to use in tests that don't require the original block GT matrix.
How is this patch tested?