-
Notifications
You must be signed in to change notification settings - Fork 4
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
add support for ascending CDF values with numeric output_type_id cast as character #105
Merged
Merged
Changes from all commits
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
98c4252
add support for ascen cdf values w/num out_type_id
zkamvar 3ed727d
dang lintr what I ever do to you?
zkamvar a7a4be9
Update tests/testthat/test-check_tbl_value_col_ascending.R
zkamvar 8421214
fix ordering to be based on hub config
zkamvar 808e6e6
add arguments in validate_model_data
zkamvar f551702
update, man
zkamvar dea1cc8
appease the linter
zkamvar d3d2937
fix skipped test
zkamvar defd517
remove :skull: code
zkamvar c82014d
avoid message in test
zkamvar cf92b6a
clean up internal doc
zkamvar c64bf73
appeas lintr
zkamvar 8e69bb8
fix test assumptions; add failure test check
zkamvar f52f619
move early exit; only create cdf/quantile grid
zkamvar f3f04cf
oops
zkamvar d2517dd
add failing test for check of ascending columns
elray1 c0c356a
simplify order_output_type_ids; clarify object names
zkamvar 95d47af
Update tests/testthat/test-check_tbl_value_col_ascending.R
elray1 c8b9e67
read in test data using read_model_out_file
zkamvar b76cf0f
Merge pull request #188 from hubverse-org/elr/ascending_check_test_case
zkamvar a3eb124
read in model output using hubvalidation mechanism
zkamvar 3471e4d
add MWE for internal function
zkamvar 7b43e64
update grouping for sorting; do not coerce ref to char
zkamvar 3148f40
removed modification of target in test
zkamvar afa20db
add TODO note
zkamvar 98b022e
appease linter
zkamvar 93a5eb7
clean up expectations
zkamvar 1591351
add internal doc
zkamvar ca6eea7
add NEWS item
zkamvar File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Here it would be much cleaner to use
bind_model_tasks = FALSE
. This returns a list of tibbles, one for each model task, keeping values associated with different model tasks separate. You can then map over any model tasks, processing them separately. This would cleanly get round the issue @elray1 described of different quantile levels in different model tasks.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.
TIL about this feature 😮
I'll give it a go!
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.
Honestly, given the fact that this already works, I don't think it's strictly necessary to implement. Good to know of the functionality though as it's really useful for separating submission files into model tasks by joining them onto an expanded grid created with
bind_model_tasks = FALSE
!