From 7bf0082f42094e573ad10496b801454099b2a8b1 Mon Sep 17 00:00:00 2001 From: jlnav Date: Wed, 16 Sep 2026 09:54:03 -0500 Subject: [PATCH] fix mfkg test issue. clarify asking questions in AGENTS.md --- AGENTS.md | 1 + libensemble/gen_funcs/persistent_botorch_mfkg_branin.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/AGENTS.md b/AGENTS.md index f5673f64a..4dd2962aa 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -64,6 +64,7 @@ See ``libensemble/tests/regression_tests/test_xopt_EI.py`` for an example of how - When writing new code, prefer the ``LibeSpecs``, ``SimSpecs``, and ``GenSpecs`` dataclasses over the classic ``sim_specs`` and ``gen_specs`` bare dictionaries. - Read ``CONTRIBUTING.md`` for more information. - The external ``libE-community-examples`` repository contains past use-cases, generators, and other examples. +- Always feel free to ask questions during development. Development Environment ----------------------- diff --git a/libensemble/gen_funcs/persistent_botorch_mfkg_branin.py b/libensemble/gen_funcs/persistent_botorch_mfkg_branin.py index 2a4081c06..a5144414f 100644 --- a/libensemble/gen_funcs/persistent_botorch_mfkg_branin.py +++ b/libensemble/gen_funcs/persistent_botorch_mfkg_branin.py @@ -44,7 +44,7 @@ # Custom function to project posterior to target fidelity (defer to default) def project(X): - return project_to_target_fidelity(X=X, target_fidelities=target_fidelities) + return project_to_target_fidelity(X=X, target_fidelities=target_fidelities, d=3) # Wrapper function for compatibility with existing code