Repository navigation
Allow empty tunable values to represent the defaults - #868
Merged
Brian Kroth (bpkroth) merged 5 commits intoOct 4, 2024
Merged
Brian Kroth (bpkroth) merged 5 commits into
Brian Kroth (bpkroth) merged 5 commits into
Conversation
Contributor
Author
|
As noted in the linked discussion, an alternative could be to allow Prior to this |
Sergiy Matusevych (motus)
approved these changes
Oct 4, 2024
Member
|
Looks good! Maybe, all one more unit test with some tunable values omitted to check that they are set to default and others are not? |
Contributor
Author
I think that's handled already in the test I added. I made it a little bit more explicit just now as well. |
Brian Kroth (bpkroth)
enabled auto-merge (squash)
October 4, 2024 21:35
Brian Kroth (bpkroth)
deleted the
allow-empty-tunable-values-dict-to-represent-defaults
branch
October 4, 2024 21:47
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Pull Request
Title
Allows an empty dictionary (object) to represent the default tunable values for tunable params.
Description
This should make it easier to maintain configs that loop over a chosen set of tunable values, where some of the tunable values are the default values without needing to copy/paste those values from the tunable params definitions.
Type of Change
Testing
Extends existing testing infrastructure to check that this works.