Skip to content

Commit

Permalink
make test fail less
Browse files Browse the repository at this point in the history
  • Loading branch information
linznedd committed Jan 31, 2025
1 parent b043662 commit ba75aee
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/bofire/strategies/test_doe.py
Original file line number Diff line number Diff line change
Expand Up @@ -463,10 +463,9 @@ def calc_volume_content(A, B, T, W, W_T):
data_model = data_models.DoEStrategy(
domain=domain,
criterion=DOptimalityCriterion(formula="linear"),
optimization_strategy="iterative",
)
strategy = DoEStrategy(data_model=data_model)
doe = strategy.ask(candidate_count=n_experiments, raise_validation_error=False)
doe = strategy.ask(candidate_count=n_experiments)
doe["SC"] = calc_solid_content(*[doe[col] for col in ["A", "B", "T", "W", "W_T"]])
doe["VC"] = calc_volume_content(*[doe[col] for col in ["A", "B", "T", "W", "W_T"]])
doe["T_calc"] = 0.0182 - 0.03704 * doe["VC"]
Expand Down

0 comments on commit ba75aee

Please sign in to comment.