Skip to content

Small Refactorings to the DoE Strategy #1599

Small Refactorings to the DoE Strategy

Small Refactorings to the DoE Strategy #1599

Triggered via pull request February 6, 2025 13:49
Status Failure
Total duration 1m 49s
Artifacts

lint.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors
lint: bofire/benchmarks/single.py#L537
Argument of type "float" cannot be assigned to parameter "values" of type "DiscreteVals" in function "__init__"   "float" is incompatible with "DiscreteVals" (reportGeneralTypeIssues)
lint: bofire/benchmarks/single.py#L538
Argument of type "float" cannot be assigned to parameter "values" of type "DiscreteVals" in function "__init__"   "float" is incompatible with "DiscreteVals" (reportGeneralTypeIssues)
lint: bofire/benchmarks/single.py#L554
Argument of type "float" cannot be assigned to parameter "values" of type "DiscreteVals" in function "__init__"   "float" is incompatible with "DiscreteVals" (reportGeneralTypeIssues)
lint: bofire/benchmarks/single.py#L555
Argument of type "float" cannot be assigned to parameter "values" of type "DiscreteVals" in function "__init__"   "float" is incompatible with "DiscreteVals" (reportGeneralTypeIssues)
lint: bofire/data_models/domain/features.py#L821
Object of type "None" is not subscriptable (reportOptionalSubscript)
lint: bofire/data_models/objectives/desirabilities.py#L43
Cannot access member "name" for type "ndarray[Unknown, Unknown]"   Member "name" is unknown (reportGeneralTypeIssues)
lint: bofire/data_models/objectives/desirabilities.py#L44
Cannot access member "values" for type "ndarray[Unknown, Unknown]"   Member "values" is unknown (reportGeneralTypeIssues)
lint: bofire/data_models/objectives/desirabilities.py#L49
"name" is possibly unbound (reportUnboundVariable)
lint: bofire/strategies/doe_strategy.py#L187
"fixed_experiments_count" is possibly unbound (reportUnboundVariable)
lint: bofire/utils/reduce.py#L161
Argument of type "float" cannot be assigned to parameter "coefficients" of type "List[float]" in function "from_greater_equal"   "float" is incompatible with "List[float]" (reportGeneralTypeIssues)