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

Test pydantic #178

Draft
wants to merge 90 commits into
base: develop
Choose a base branch
from
Draft

Test pydantic #178

wants to merge 90 commits into from

Conversation

cchall
Copy link
Member

@cchall cchall commented Jan 30, 2025

No description provided.

nested discrimnator for code models, providesbetter error message for mistakes in config
fixed execution_types enum to work as intended
starting to add in options models
…d for spiffe. elegant matching example also tested with the updated param/setting name parsers
…ate layed out by the spiffe implementation. Some adaptation is needed since Genesisv2 does not need multiple commands.
…pes in the model dump so that Genesis is happy with the input file. Corrected a name error for Parameter index field in several places.
…tion registry to handle special cases during the file formatting. Added some missing fields to the validation that were caught after turning off exclude.
…el getters work properly once there are multiple names sharing a typing.
…ss into python functions. Adds significant convenience if there are many arguments being passed into the function.
…tatic so we won't validate that one or the other dynamic or static is set.
…in field which was massing and creating a mysterious error in the allocator.
…un files or sym links when the python process is run directly on the worker.
…, for how to handler software options with multiple methods. Primary issue is making sure that software_options is validated based on the input to the method field. Using a model validator seems to retain the common checks to inputs and still provide useful error message while validating the software_options by method.
…class. Originally libEnsembleOptimizer handled all local optimizers but this gets messy if you want to handle slight variations in user-spec between scipy, dfols, and nlopt. Going forward will use separate classes for each.
…n works. Missing some capabilities such as reload from file and marking X_pending. Some useful generator parameters cannot yet be passed through.
…t be defined in multiple places any longer. This also means that option_spec for the Method classes needs to become a requirement of its ABC and should no longer be private.
# Conflicts:
#	rsopt/configuration/options/dfols.py
#	rsopt/configuration/options/nlopt.py
#	rsopt/configuration/options/scipy.py
#	rsopt/configuration/schemas/options.py
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant