Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/basic.yml
Original file line number Diff line number Diff line change
Expand Up @@ -115,4 +115,4 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: crate-ci/typos@v1.36.3
- uses: crate-ci/typos@v1.37.3
2 changes: 1 addition & 1 deletion .github/workflows/extra.yml
Original file line number Diff line number Diff line change
Expand Up @@ -144,4 +144,4 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v5
- uses: crate-ci/typos@v1.36.3
- uses: crate-ci/typos@v1.37.3
4 changes: 2 additions & 2 deletions libensemble/gen_funcs/persistent_ax_multitask.py
Original file line number Diff line number Diff line change
Expand Up @@ -376,9 +376,9 @@ def max_utility_from_GP(n, m, gr, hifi_task):
f, cov = m.predict(obsf)
# Compute expected utility
u = -np.array(f["hifi_metric"])
best_arm_indx = np.flip(np.argsort(u))[:n]
best_arm_index = np.flip(np.argsort(u))[:n]
gr_new = GeneratorRun(
arms=[gr.arms[i] for i in best_arm_indx],
arms=[gr.arms[i] for i in best_arm_index],
weights=[1.0] * n,
)
return gr_new
2 changes: 1 addition & 1 deletion libensemble/gen_funcs/persistent_gpCAM.py
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ def persistent_gpCAM(H_in, persis_info, gen_specs, libE_info):
"""
This generation function constructs a global surrogate of `f` values. It is
a batched method that produces a first batch uniformly random from (lb, ub).
On subequent iterations, it calls an optimization method to produce the next
On subsequent iterations, it calls an optimization method to produce the next
batch of points. This optimization might be too slow (relative to the
simulation evaluation time) for some use cases.

Expand Down
2 changes: 1 addition & 1 deletion libensemble/gen_funcs/persistent_sampling.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ def _get_user_params(user_specs):


@persistent_input_fields(["sim_id"])
@output_data([("x", float, (2,))]) # The dimesion of 2 is a default and can be overwritten
@output_data([("x", float, (2,))]) # The dimension of 2 is a default and can be overwritten
def persistent_uniform(_, persis_info, gen_specs, libE_info):
"""
This generation function always enters into persistent mode and returns
Expand Down
1 change: 1 addition & 0 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -134,6 +134,7 @@ HPE = "HPE"
RO = "RO"
lst = "lst"
noy = "noy"
inpt = "inpt"

[tool.typos.files]
extend-exclude = ["*.bib", "*.xml", "docs/nitpicky"]
Expand Down
Loading