Skip to content

Adding Desirability functions as objectives #1542

Adding Desirability functions as objectives

Adding Desirability functions as objectives #1542

Triggered via pull request January 16, 2025 12:07
Status Failure
Total duration 1m 17s
Artifacts

lint.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
lint: bofire/benchmarks/multi.py#L660
"__getitem__" method not defined on type "float" (reportGeneralTypeIssues)
lint: bofire/benchmarks/multi.py#L659
Argument of type "float" cannot be assigned to parameter "__obj" of type "Sized" in function "len"   "float" is incompatible with protocol "Sized"     "__len__" is not present (reportGeneralTypeIssues)
lint: bofire/data_models/objectives/desirabilities.py#L26
"name" is possibly unbound (reportUnboundVariable)
lint: bofire/data_models/objectives/desirabilities.py#L44
Cannot access member "clip" for type "DesirabilityObjective"   Member "clip" is unknown (reportGeneralTypeIssues)
lint: bofire/strategies/fractional_factorial.py#L49
Operator "-" not supported for types "NDArray" and "NDArray" (reportGeneralTypeIssues)
lint: bofire/strategies/doe/transform.py#L39
Operator "-" not supported for types "NDArray" and "NDArray" (reportGeneralTypeIssues)
lint: bofire/strategies/doe/transform.py#L45
Operator "-" not supported for types "ndarray" and "NDArray" (reportGeneralTypeIssues)
lint: bofire/strategies/doe/transform.py#L51
Expression of type "float" cannot be assigned to return type "ndarray"   "float" is incompatible with "ndarray" (reportGeneralTypeIssues)
lint: bofire/surrogates/diagnostics.py#L258
Operator "-" not supported for types "ndarray" and "ndarray" (reportGeneralTypeIssues)
lint: bofire/surrogates/diagnostics.py#L290
Operator "-" not supported for types "ndarray" and "ndarray" (reportGeneralTypeIssues)
lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636