Migrate ExitCriteria parameters to Ensemble.run()#1747
Open
jlnav wants to merge 8 commits into
Open
Conversation
…sim_max=30). merge ExitCriteria and .run parameters if both exist. Display associated deprecation warnings
Bumps [crate-ci/typos](https://github.com/crate-ci/typos) from 1.47.1 to 1.47.2. - [Release notes](https://github.com/crate-ci/typos/releases) - [Changelog](https://github.com/crate-ci/typos/blob/master/CHANGELOG.md) - [Commits](crate-ci/typos@v1.47.1...v1.47.2) --- updated-dependencies: - dependency-name: crate-ci/typos dependency-version: 1.47.2 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com>
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 6 to 7. - [Release notes](https://github.com/codecov/codecov-action/releases) - [Changelog](https://github.com/codecov/codecov-action/blob/main/CHANGELOG.md) - [Commits](codecov/codecov-action@v6...v7) --- updated-dependencies: - dependency-name: codecov/codecov-action dependency-version: '7' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
…evelop/crate-ci/typos-1.47.2 Bump crate-ci/typos from 1.47.1 to 1.47.2
…evelop/codecov/codecov-action-7 Bump codecov/codecov-action from 6 to 7
… to prevent state between .runs().
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.
ensemble.run()has already been an empty function. Passing in subsets, steps, num sims, num gens, etc. into.run()is (I think) sensible since this resembles Xopt's.step(n_points). It makes the parameters of exit criteria a description of the run instead of a description of the entire ensemble.So
ensemble.run(sim_max=2000, wallclock_max=300)is possible. Deprecates ExitCriteria. So now we save an import, a class instantiation, and a parameter for Ensemble