Skip to content

Fix logging of step runtime statistics #31643

Fix logging of step runtime statistics

Fix logging of step runtime statistics #31643

Triggered via pull request October 31, 2024 16:19
Status Failure
Total duration 2m 13s
Artifacts

typing.yml

on: pull_request
Matrix: type-checking
Fit to window
Zoom out
Zoom in

Annotations

10 errors
type-checking (3.12): src/ert/ensemble_evaluator/_ensemble.py#L151
Function is missing a return type annotation
type-checking (3.12): src/ert/ensemble_evaluator/_ensemble.py#L159
Incompatible types in assignment (expression has type "str", variable has type "float")
type-checking (3.12): src/ert/ensemble_evaluator/_ensemble.py#L178
Argument 1 to "_log_completed_fm_step" of "LegacyEnsemble" has incompatible type "ForwardModelStepStart | ForwardModelStepRunning | ForwardModelStepSuccess | ForwardModelStepFailure | ForwardModelStepChecksum | RealizationPending | RealizationRunning | RealizationSuccess | RealizationFailed | RealizationTimeout | RealizationUnknown | RealizationWaiting | EESnapshot | EESnapshotUpdate | EETerminated | EEUserCancel | EEUserDone | EnsembleStarted | EnsembleSucceeded | EnsembleFailed | EnsembleCancelled"; expected "ForwardModelStepStart | ForwardModelStepRunning | ForwardModelStepSuccess | ForwardModelStepFailure"
type-checking (3.12): src/ert/ensemble_evaluator/_ensemble.py#L178
Item "EESnapshot" of "ForwardModelStepStart | ForwardModelStepRunning | ForwardModelStepSuccess | ForwardModelStepFailure | ForwardModelStepChecksum | RealizationPending | RealizationRunning | RealizationSuccess | RealizationFailed | RealizationTimeout | RealizationUnknown | RealizationWaiting | EESnapshot | EESnapshotUpdate | EETerminated | EEUserCancel | EEUserDone | EnsembleStarted | EnsembleSucceeded | EnsembleFailed | EnsembleCancelled" has no attribute "real"
type-checking (3.12): src/ert/ensemble_evaluator/_ensemble.py#L178
Item "EESnapshotUpdate" of "ForwardModelStepStart | ForwardModelStepRunning | ForwardModelStepSuccess | ForwardModelStepFailure | ForwardModelStepChecksum | RealizationPending | RealizationRunning | RealizationSuccess | RealizationFailed | RealizationTimeout | RealizationUnknown | RealizationWaiting | EESnapshot | EESnapshotUpdate | EETerminated | EEUserCancel | EEUserDone | EnsembleStarted | EnsembleSucceeded | EnsembleFailed | EnsembleCancelled" has no attribute "real"
type-checking (3.12): src/ert/ensemble_evaluator/_ensemble.py#L178
Item "EETerminated" of "ForwardModelStepStart | ForwardModelStepRunning | ForwardModelStepSuccess | ForwardModelStepFailure | ForwardModelStepChecksum | RealizationPending | RealizationRunning | RealizationSuccess | RealizationFailed | RealizationTimeout | RealizationUnknown | RealizationWaiting | EESnapshot | EESnapshotUpdate | EETerminated | EEUserCancel | EEUserDone | EnsembleStarted | EnsembleSucceeded | EnsembleFailed | EnsembleCancelled" has no attribute "real"
type-checking (3.12): src/ert/ensemble_evaluator/_ensemble.py#L178
Item "EEUserCancel" of "ForwardModelStepStart | ForwardModelStepRunning | ForwardModelStepSuccess | ForwardModelStepFailure | ForwardModelStepChecksum | RealizationPending | RealizationRunning | RealizationSuccess | RealizationFailed | RealizationTimeout | RealizationUnknown | RealizationWaiting | EESnapshot | EESnapshotUpdate | EETerminated | EEUserCancel | EEUserDone | EnsembleStarted | EnsembleSucceeded | EnsembleFailed | EnsembleCancelled" has no attribute "real"
type-checking (3.12): src/ert/ensemble_evaluator/_ensemble.py#L178
Item "EEUserDone" of "ForwardModelStepStart | ForwardModelStepRunning | ForwardModelStepSuccess | ForwardModelStepFailure | ForwardModelStepChecksum | RealizationPending | RealizationRunning | RealizationSuccess | RealizationFailed | RealizationTimeout | RealizationUnknown | RealizationWaiting | EESnapshot | EESnapshotUpdate | EETerminated | EEUserCancel | EEUserDone | EnsembleStarted | EnsembleSucceeded | EnsembleFailed | EnsembleCancelled" has no attribute "real"
type-checking (3.12): src/ert/ensemble_evaluator/_ensemble.py#L178
Item "EnsembleStarted" of "ForwardModelStepStart | ForwardModelStepRunning | ForwardModelStepSuccess | ForwardModelStepFailure | ForwardModelStepChecksum | RealizationPending | RealizationRunning | RealizationSuccess | RealizationFailed | RealizationTimeout | RealizationUnknown | RealizationWaiting | EESnapshot | EESnapshotUpdate | EETerminated | EEUserCancel | EEUserDone | EnsembleStarted | EnsembleSucceeded | EnsembleFailed | EnsembleCancelled" has no attribute "real"
type-checking (3.12): src/ert/ensemble_evaluator/_ensemble.py#L178
Item "EnsembleSucceeded" of "ForwardModelStepStart | ForwardModelStepRunning | ForwardModelStepSuccess | ForwardModelStepFailure | ForwardModelStepChecksum | RealizationPending | RealizationRunning | RealizationSuccess | RealizationFailed | RealizationTimeout | RealizationUnknown | RealizationWaiting | EESnapshot | EESnapshotUpdate | EETerminated | EEUserCancel | EEUserDone | EnsembleStarted | EnsembleSucceeded | EnsembleFailed | EnsembleCancelled" has no attribute "real"