hpcflow.sdk.monitoring.action_render#

Render aligned, grouped action and element state cells.

Functions

action_column_widths

Measure maximum Rich cell widths for task, element, and iteration labels.

action_text

Render compact state counts or full grouped action/element patterns.

display_summary

Select visible runs and infer interrupted runs for inactive submissions.

element_ranges

Format sorted, deduplicated element indices as inclusive square-bracket ranges.

full_action_rows

Group matching iteration patterns into detail rows for each element group.

iteration_runs

Yield consecutive iteration ranges with identical ordered action statuses.

iteration_text

Render consecutive iteration patterns with italic labels and curly-bracket ranges.

needs_compact_layout

Switch fragmented histories to bounded task blocks before labels hide icons.

state_icons

Render ordered action-state symbols using their configured Rich colours.

Classes

ActionColumnWidths

Rich display-cell widths shared across tasks and submissions in a detail table.

FullActionRow

The task, element ranges, iteration ranges, and icons for one aligned detail row.

IterationRange

An inclusive consecutive iteration range sharing one action-status pattern.