hpcflow.sdk.monitoring.models#
Typed monitoring data and conversion of the existing JSON file formats.
Dataclasses are used throughout monitoring. Dictionaries remain appropriate for dynamic scheduler arguments, counters, and indexes keyed by run ID.
Functions
Convert models to the existing JSON schema, including historical sequences. |
Classes
A run's engine state and its position in the task/element/iteration layout. |
|
An action attempt's display state within an iteration. |
|
Compact action counts, grouped patterns, and timing observations for one part. |
|
Elements of one task sharing the same ordered iteration/action/attempt states. |
|
A named, immutable step in a grouped element's iteration pattern. |
|
Scheduler state for a whole job or individual zero-based array elements. |
|
Saved scheduler context and reference for one successfully submitted jobscript. |
|
PID and creation time used to distinguish a submitter from a later reused PID. |
|
A direct job's process ID and original command, without a workflow object. |
|
Registry records, a fresh-ID counter, and IDs freed by explicit unregistering. |
|
One registered submission part, its job references, and latest observations. |
|
Terminal action states shared by parts of one workflow submission. |
|
File identity and stat values used to avoid reparsing an unchanged store header. |
|
Workflow path and persistent ID used to share loads and reject replaced stores. |