Skip to content

Conversation

jlnav
Copy link
Member

@jlnav jlnav commented Sep 25, 2024

Some tentative changes, mostly adjusts to the APOSMM class so it does internal buffering

return user["initial_sample_size"] if not self._told_initial_sample else user["max_active_runs"]

@property
def _enough_initial_sample(self):
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

is this necessary for non-optimas cases?

if calc_in is not None:
self.y_new = np.atleast_2d(calc_in["f"]).T
nan_indices = [i for i, fval in enumerate(self.y_new) if np.isnan(fval)]
nan_indices = [i for i, fval in enumerate(self.y_new) if np.isnan(fval[0])]
Copy link
Member Author

@jlnav jlnav Sep 26, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why was this necessary for gpcam+optimas experiments but not libE ones?

@codecov
Copy link

codecov bot commented Sep 27, 2024

Codecov Report

Attention: Patch coverage is 85.38283% with 63 lines in your changes missing coverage. Please review.

Project coverage is 78.76%. Comparing base (8371d97) to head (57bbfb1).
Report is 214 commits behind head on experimental/jlnav_plus_shuds_asktell.

Files with missing lines Patch % Lines
libensemble/gen_classes/surmise.py 29.26% 29 Missing ⚠️
libensemble/gen_classes/aposmm.py 71.79% 14 Missing and 8 partials ⚠️
libensemble/sim_funcs/borehole_kills.py 0.00% 5 Missing ⚠️
libensemble/utils/runners.py 95.29% 2 Missing and 2 partials ⚠️
libensemble/gen_funcs/persistent_gen_wrapper.py 95.65% 0 Missing and 1 partial ⚠️
libensemble/libE.py 0.00% 0 Missing and 1 partial ⚠️
libensemble/utils/validators.py 75.00% 0 Missing and 1 partial ⚠️
Additional details and impacted files
@@                            Coverage Diff                            @@
##           experimental/jlnav_plus_shuds_asktell    #1433      +/-   ##
=========================================================================
+ Coverage                                  76.25%   78.76%   +2.51%     
=========================================================================
  Files                                         91       90       -1     
  Lines                                       8389     8280     -109     
  Branches                                    1492     1476      -16     
=========================================================================
+ Hits                                        6397     6522     +125     
+ Misses                                      1748     1527     -221     
+ Partials                                     244      231      -13     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

jlnav and others added 16 commits September 27, 2024 12:15
…ta deal with getting a variable number of responses
Bumps [globus-compute-sdk](https://github.com/globus/globus-compute) from 2.27.1 to 2.28.0.
- [Release notes](https://github.com/globus/globus-compute/releases)
- [Changelog](https://github.com/globus/globus-compute/blob/main/docs/changelog.rst)
- [Commits](globus/globus-compute@2.27.1...2.28.0)

---
updated-dependencies:
- dependency-name: globus-compute-sdk
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
Bumps [crate-ci/typos](https://github.com/crate-ci/typos) from 1.24.6 to 1.25.0.
- [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.24.6...v1.25.0)

---
updated-dependencies:
- dependency-name: crate-ci/typos
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
…vering for similar-to-optimas asks and tells
…evelop/crate-ci/typos-1.25.0

Bump crate-ci/typos from 1.24.6 to 1.25.0
Bumps [crate-ci/typos](https://github.com/crate-ci/typos) from 1.25.0 to 1.26.0.
- [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.25.0...v1.26.0)

---
updated-dependencies:
- dependency-name: crate-ci/typos
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
…us-compute-sdk-2.28.0

Bump globus-compute-sdk from 2.27.1 to 2.28.0
…evelop/crate-ci/typos-1.26.0

Bump crate-ci/typos from 1.25.0 to 1.26.0
@jlnav jlnav requested a review from shuds13 October 8, 2024 20:25
jlnav added 5 commits October 10, 2024 13:45
…s instead of Thread, to potentially prevent data mangling
… the persistent_gen - otherwise since it was slotted in the same point will get sent back again
…sults, not just the number we've buffered...
…a routine for subsequent runs that dont need slotting in anyway!!
@jlnav jlnav merged commit dbd19fd into experimental/jlnav_plus_shuds_asktell Oct 17, 2024
16 checks passed
@jlnav jlnav deleted the feature/adjusts_for_optimas branch October 17, 2024 16:34
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.

2 participants