Skip to content

Commit a565a4c

Browse files
authored
Merge pull request #1601 from Libensemble/dependabot/github_actions/develop/crate-ci/typos-1.37.3
Bump crate-ci/typos from 1.36.3 to 1.37.3
2 parents ec7add0 + 1a68569 commit a565a4c

6 files changed

Lines changed: 7 additions & 6 deletions

File tree

.github/workflows/basic.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,4 +115,4 @@ jobs:
115115
runs-on: ubuntu-latest
116116
steps:
117117
- uses: actions/checkout@v5
118-
- uses: crate-ci/typos@v1.36.3
118+
- uses: crate-ci/typos@v1.37.3

.github/workflows/extra.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,4 +144,4 @@ jobs:
144144
runs-on: ubuntu-latest
145145
steps:
146146
- uses: actions/checkout@v5
147-
- uses: crate-ci/typos@v1.36.3
147+
- uses: crate-ci/typos@v1.37.3

libensemble/gen_funcs/persistent_ax_multitask.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -376,9 +376,9 @@ def max_utility_from_GP(n, m, gr, hifi_task):
376376
f, cov = m.predict(obsf)
377377
# Compute expected utility
378378
u = -np.array(f["hifi_metric"])
379-
best_arm_indx = np.flip(np.argsort(u))[:n]
379+
best_arm_index = np.flip(np.argsort(u))[:n]
380380
gr_new = GeneratorRun(
381-
arms=[gr.arms[i] for i in best_arm_indx],
381+
arms=[gr.arms[i] for i in best_arm_index],
382382
weights=[1.0] * n,
383383
)
384384
return gr_new

libensemble/gen_funcs/persistent_gpCAM.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ def persistent_gpCAM(H_in, persis_info, gen_specs, libE_info):
158158
"""
159159
This generation function constructs a global surrogate of `f` values. It is
160160
a batched method that produces a first batch uniformly random from (lb, ub).
161-
On subequent iterations, it calls an optimization method to produce the next
161+
On subsequent iterations, it calls an optimization method to produce the next
162162
batch of points. This optimization might be too slow (relative to the
163163
simulation evaluation time) for some use cases.
164164

libensemble/gen_funcs/persistent_sampling.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ def _get_user_params(user_specs):
3030

3131

3232
@persistent_input_fields(["sim_id"])
33-
@output_data([("x", float, (2,))]) # The dimesion of 2 is a default and can be overwritten
33+
@output_data([("x", float, (2,))]) # The dimension of 2 is a default and can be overwritten
3434
def persistent_uniform(_, persis_info, gen_specs, libE_info):
3535
"""
3636
This generation function always enters into persistent mode and returns

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,7 @@ HPE = "HPE"
134134
RO = "RO"
135135
lst = "lst"
136136
noy = "noy"
137+
inpt = "inpt"
137138

138139
[tool.typos.files]
139140
extend-exclude = ["*.bib", "*.xml", "docs/nitpicky"]

0 commit comments

Comments
 (0)