upxo.meshing.gbconformant.pipeline.iteration_metrics module

Which stages’ per-iteration history is collected, grouped by the config flag that gates it.

Each iterative stage belongs to one of the four pipeline groups (Cleaning, Surface, Validation, Volume). Its COMPUTE_ITERATION_METRICS_<GROUP> setting decides whether that stage’s algorithm builds a per-pass history list; when off, the stage still runs but the list stays empty, so nothing downstream can read a per-pass history that was never built.

upxo.meshing.gbconformant.pipeline.iteration_metrics.metrics_enabled(config: dict, stage_id: str) → bool[source]

Whether stage_id should build its per-iteration history, per its group’s flag.

upxo.meshing.gbconformant.pipeline.iteration_metrics.has_iteration_history(stage_id: str) → bool[source]

Whether stage_id is one that can carry a per-iteration history at all.