Skip to content

VOCS APOSMM direct implementation - #1711

Open
shuds13 wants to merge 10 commits into
developfrom
aposmm_vocs_no_process
Open

shuds13 wants to merge 10 commits into
developfrom
aposmm_vocs_no_process

Conversation

@shuds13

@shuds13 shuds13 commented Apr 11, 2026

Copy link
Copy Markdown
Member

No description provided.

@jlnav

jlnav commented Apr 13, 2026

Copy link
Copy Markdown
Member

It was always a matter of time :)

@codecov

codecov Bot commented Apr 13, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 91.74312% with 18 lines in your changes missing coverage. Please review.
✅ Project coverage is 82.53%. Comparing base (a4d74df) to head (6797fb3).
⚠️ Report is 21 commits behind head on develop.

Files with missing lines Patch % Lines
libensemble/gen_classes/aposmm.py 91.38% 7 Missing and 11 partials ⚠️

❗ There is a different number of reports uploaded between BASE (a4d74df) and HEAD (6797fb3). Click for more details.

HEAD has 10 uploads less than BASE
Flag BASE (a4d74df) HEAD (6797fb3)
21 11
Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #1711      +/-   ##
===========================================
- Coverage    88.95%   82.53%   -6.43%     
===========================================
  Files           82       84       +2     
  Lines         8982     9230     +248     
  Branches      1393     1440      +47     
===========================================
- Hits          7990     7618     -372     
- Misses         750     1341     +591     
- Partials       242      271      +29     

☔ View full report in Codecov by Harness.
📢 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 commented Apr 21, 2026

Copy link
Copy Markdown
Member Author

We should have the ability to not have to pass *on_cube around.

@jlnav
jlnav force-pushed the aposmm_vocs_no_process branch from 7477cfc to 8ec126e Compare September 14, 2026 15:05
@jlnav
jlnav force-pushed the aposmm_vocs_no_process branch from 82f4285 to 54dcea3 Compare September 14, 2026 20:52
…_cube

When using APOSMM with variables_mapping that includes x_on_cube, the
GenSpecs model's outputs field was being set from VOCS-derived variables
instead of from the APOSMM generator's gen_specs['out']. This caused
H['x_on_cube'] to be unavailable in the History array, leading to
ValueError: no field of name x_on_cube.

The fix moves the generator gen_specs['out'] check into set_fields_from_vocs
so it runs before the VOCS fallback.
The project() function was calling project_to_target_fidelity without
the required 'd' parameter (total input dimension), which is now a
required positional argument in botorch 0.17.2.
GITHUB_ENV is only set in GitHub Actions, not in local pixi environments.
Default to /dev/null when GITHUB_ENV is not set.
Previously, when using APOSMA with variables_mapping, the GenSpecs outputs
field was set from VOCS only, missing fields like x_on_cube, local_min, etc.
that are produced by the APOSMA generator. This caused tests to fail when
accessing H['x_on_cube'].

The fix merges the generator's gen_specs['out'] fields into the outputs
alongside the VOCS-derived fields, so the History array has all needed fields.
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