refactor(plugins): rename configuration_model_default to example_configuration#940
Merged
AlessandroPomponio merged 2 commits intoMay 18, 2026
Merged
Conversation
…iguration Signed-off-by: Alessandro Pomponio <alessandro.pomponio1@ibm.com>
Signed-off-by: Alessandro Pomponio <alessandro.pomponio1@ibm.com>
michael-johnston
approved these changes
May 18, 2026
Member
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.
Summary
This pull request refactors parameter naming across operator decorators and configuration models to improve clarity. The parameter
configuration_model_defaulthas been renamed toexample_configurationthroughout the codebase to better reflect its purpose as an example for templating rather than a default value. Similarly, class methods that generate these example configurations have been renamed fromdefault_parameters()anddefaultOperationParameters()to the more descriptiveexample_configuration().Resolves #650
Files Changed
📄
orchestrator/modules/operators/collections.pyRenamed the
configuration_model_defaultparameter toexample_configurationin three operator decorator functions (characterize_operation,modify_operation, andexport_operation). Updated corresponding docstrings to clarify that this parameter provides an "example parameter model instance for templating" rather than a "default parameter model instance". The internal usage of this parameter was also updated to use the new name consistently.📄
plugins/operators/anomalous_series/anomalous_series/operator.pyRenamed the
default_parameters()class method toexample_configuration()in theDetectAnomalousSeriesconfiguration model. Updated the decorator call to use the newexample_configurationparameter name instead ofconfiguration_model_default.📄
plugins/operators/profile_space/profile_space/operator.pyUpdated the
@characterize_operationdecorator to use the newexample_configurationparameter name instead ofconfiguration_model_defaultfor the ProfileParameters configuration.📄
plugins/operators/ray_tune/ado_ray_tune/rifferla.pyRenamed the
defaultOperationParameters()class method toexample_configuration()in theRifferlaParametersconfiguration model. Updated the decorator call to use the newexample_configurationparameter name.📄
plugins/operators/trim/src/trim/operator.pyUpdated the
@characterize_operationdecorator to use the newexample_configurationparameter name and call the renamedexample_configuration()method instead ofdefaultOperationParameters().📄
plugins/operators/trim/src/trim/trim_pydantic.pyRenamed the
defaultOperationParameters()class method toexample_configuration()in theTrimParametersconfiguration model to align with the new naming convention.