Skip to content

Adding Desirability functions as objectives #1527

Adding Desirability functions as objectives

Adding Desirability functions as objectives #1527

Triggered via pull request January 14, 2025 05:32
Status Failure
Total duration 1m 59s
Artifacts

lint.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
lint: bofire/data_models/objectives/desirabilities.py#L20
Cannot access member "name" for type "ndarray[Unknown, Unknown]"   Member "name" is unknown (reportGeneralTypeIssues)
lint: bofire/data_models/objectives/desirabilities.py#L21
Cannot access member "values" for type "ndarray[Unknown, Unknown]"   Member "values" is unknown (reportGeneralTypeIssues)
lint: bofire/data_models/objectives/desirabilities.py#L26
"name" is possibly unbound (reportUnboundVariable)
lint: bofire/utils/torch_tools.py#L445
Cannot access member "clip" for type "MaximizeObjective"   Member "clip" is unknown (reportGeneralTypeIssues)
lint: bofire/utils/torch_tools.py#L445
Cannot access member "clip" for type "MinimizeObjective"   Member "clip" is unknown (reportGeneralTypeIssues)
lint: bofire/utils/torch_tools.py#L445
Cannot access member "clip" for type "MaximizeSigmoidObjective"   Member "clip" is unknown (reportGeneralTypeIssues)
lint: bofire/utils/torch_tools.py#L445
Cannot access member "clip" for type "MinimizeSigmoidObjective"   Member "clip" is unknown (reportGeneralTypeIssues)
lint: bofire/utils/torch_tools.py#L445
Cannot access member "clip" for type "TargetObjective"   Member "clip" is unknown (reportGeneralTypeIssues)
lint: bofire/utils/torch_tools.py#L445
Cannot access member "clip" for type "CloseToTargetObjective"   Member "clip" is unknown (reportGeneralTypeIssues)
lint: bofire/utils/torch_tools.py#L445
Cannot access member "clip" for type "ConstrainedCategoricalObjective"   Member "clip" is unknown (reportGeneralTypeIssues)
lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636