Skip to content

Remove automapping - #1622

Merged
shuds13 merged 13 commits into
examples/xopt_generatorsfrom
examples/xopt_generators_remove_auto_mapping
Nov 25, 2025
Merged

Remove automapping#1622
shuds13 merged 13 commits into
examples/xopt_generatorsfrom
examples/xopt_generators_remove_auto_mapping

Conversation

@shuds13

@shuds13 shuds13 commented Nov 20, 2025

Copy link
Copy Markdown
Member

Experimenting with removing automapping.

xopt test runs with this change.

We should run all tests and see what breaks.

Do we need to keep auto-mapping, in an optional sense, or modify it.

If remove will have to update unit tests.

Ive also added gest_api_wrapper sim func so xopt/gest-api style sims can be used directly

@shuds13

shuds13 commented Nov 21, 2025

Copy link
Copy Markdown
Member Author

✔️ test_xopt_EI.py
✔️ test_asktell_aposmm_nlopt.py
✔️ test_asktell_gpCAM.py
❌ test_asktell_sampling.py (relies on automapping)

test_asktell_sampling.py split to two tests and re-written. Now works
✔️ test_asktell_sampling.py
✔️ test_asktell_sampling_external_gen.py (new test using external gen).

What other tests are there?

* Split tests libEnsemble and external generators
* Have an vocs generator that uses arrays
* Array generator disabled as requires gest-api update.
@shuds13
shuds13 marked this pull request as ready for review November 21, 2025 21:46
@shuds13
shuds13 requested a review from jlnav November 21, 2025 21:47
@shuds13 shuds13 mentioned this pull request Nov 21, 2025
15 tasks
@codecov

codecov Bot commented Nov 25, 2025

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 51.06383% with 46 lines in your changes missing coverage. Please review.
⚠️ Please upload report for BASE (examples/xopt_generators@d28681d). Learn more about missing BASE report.

Files with missing lines Patch % Lines
libensemble/sim_funcs/gest_api_wrapper.py 0.00% 27 Missing ⚠️
libensemble/gen_classes/external/sampling.py 68.42% 12 Missing ⚠️
libensemble/specs.py 76.19% 3 Missing and 2 partials ⚠️
libensemble/generators.py 0.00% 2 Missing ⚠️
Additional details and impacted files
@@                     Coverage Diff                     @@
##             examples/xopt_generators    #1622   +/-   ##
===========================================================
  Coverage                            ?   78.41%           
===========================================================
  Files                               ?       81           
  Lines                               ?     8099           
  Branches                            ?     1220           
===========================================================
  Hits                                ?     6351           
  Misses                              ?     1525           
  Partials                            ?      223           

☔ 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.

@shuds13
shuds13 merged commit a11e04d into examples/xopt_generators Nov 25, 2025
14 checks passed
@shuds13
shuds13 deleted the examples/xopt_generators_remove_auto_mapping branch November 25, 2025 19:22
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