Skip to content

Examples/optimas ax generators - #1635

Merged
jlnav merged 24 commits into
experimental/jlnav_plus_shuds_asktellfrom
examples/optimas_ax_generators
Feb 20, 2026
Merged

Examples/optimas ax generators#1635
jlnav merged 24 commits into
experimental/jlnav_plus_shuds_asktellfrom
examples/optimas_ax_generators

Conversation

@shuds13

@shuds13shuds13 commented Dec 10, 2025

Copy link
Copy Markdown
Member

Re: #1634

  • Implement atleast single/multi fidelity and multi-task
  • Test with history
  • Change to treat _id as its own history field (instead of mapping to sim_id).
  • extra CI uses Optimas on multitask_uses_id branch - rem to change (prob bring that in first).
  • Extra tests must pass
  • Check APOSMM in xopt works and all other combos still work with new way _id is treated.
  • Is extra tests still restricted to new ones. Make sure all tests enabled when pull in

@codecov

codecovBot commented Dec 12, 2025

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 59.52381% with 17 lines in your changes missing coverage. Please review.
✅ Project coverage is 93.27%. Comparing base (38aa584) to head (a9b76ef).

Files with missing linesPatch %Lines
libensemble/utils/misc.py50.00%2 Missing and 3 partials ⚠️
libensemble/manager.py60.00%2 Missing and 2 partials ⚠️
libensemble/specs.py63.63%2 Missing and 2 partials ⚠️
libensemble/history.py50.00%1 Missing and 1 partial ⚠️
libensemble/utils/runners.py71.42%1 Missing and 1 partial ⚠️
Additional details and impacted files
@@ Coverage Diff @@## experimental/jlnav_plus_shuds_asktell #1635 +/- ##
==========================================================================
+ Coverage 78.44% 93.27% +14.82% 
==========================================================================
Files 81 81 Lines 8176 8207 +31 Branches 1239 1253 +14 ==========================================================================
+ Hits 6414 7655 +1241 + Misses 1535 356 -1179 + Partials 227 196 -31 

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Comment threadlibensemble/specs.py Outdated
# Set inputs: same as persis_in for gest-api generators (needed for H0 ingestion)
if not self.inputs and self.generator is not None:
self.inputs = self.persis_in
print(f"inputs: {self.inputs}")

Copy link
Copy Markdown
MemberAuthor

Choose a reason for hiding this comment

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

careful

@shuds13
shuds13 requested a review from jlnavFebruary 12, 2026 17:58
if not isinstance(list_dicts, list):
return list_dicts

if not list_dicts:

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Is this to accommodate

gen.ask(0) ??

Either way it looks like a safe/faster fix

self.resources.resource_manager.free_rsets(w)

def _ensure_sim_id_in_persis_in(self, D: npt.NDArray) -> None:
"""Add sim_id to gen_specs persis_in if generator output contains sim_id (gest-api style generators only)"""

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

And such gens will only return sim_id if we're already explicitly mapping _id to it... right?

@jlnav
jlnav merged commit e89e62d into experimental/jlnav_plus_shuds_asktellFeb 20, 2026
24 of 31 checks passed
@jmlarson1
jmlarson1 deleted the examples/optimas_ax_generators branch March 17, 2026 19:58
Sign up for freeto 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

@shuds13@jlnav