Skip to content

Pipeline steps and checks

Each step is one class of sidenor_ladle.model.steps; it reads the outputs of earlier steps from the workspace, writes its own outputs in its folder of paths.output_root and returns a StepResult (summary, key numbers, tables, figures). The data-flow diagram shows which file goes where.

# Name Question answered Main output
01 inventory What is on the virtual machine? index_all.csv
02 thickness-records When was each ladle repaired or demolished, and what thickness was left? thickness_events.csv, thickness_rows.csv
03 campaigns For each image: which campaign, which RUL, is it reliable? images_v2.csv (master table)
04 images-masks Where is the ladle in the image (masks A-F)? tensors_raw_fp16.npy, masks_bits_u8.npy, tensors_index.csv
05 features What do the temperatures say (40 features)? features_E.csv
06 bands How does the temperature vary from top to bottom? features_bands.csv
07 sequences-split How to split the data without leakage? sequences_W5.csv, split_ladles.csv
08 centering How to remove the camera effect? features_E_centered.csv
09 thickness-target Which thickness for each image (methods A and B)? images_thickness.csv
10 signal-diagnostic Is there a wear signal in the features? signal_diagnostic.csv
11 baselines Do the images add something to the ladle age? cv_results.csv
12 audit Is there an error in the pipeline? audit_alignment.csv, figures
13 band-evolution How do the band temperatures evolve along a campaign? figures

Steps 01, 04 and 12 read the images (the longest ones; 01 and 04 run in parallel processes); the others read tables.

Checks (outside the pipeline)

Name Question Outputs
ladle-numbers Is the ladle number of each folder the right one? (enhanced sheets to read by eye) ladle_number_check.xlsx, ladle_<L>.png
attribution How many images may belong to another ladle? passages.csv, missing_heats.csv, suspects.csv
identity Which ladle does each image really show? (classifier, confident learning; needs PyTorch) passage_predictions.csv, suspects.csv
data-quality First days, masks of cameras 2 and 3, quality indicators, 0 mm measures A_*.csv, C_*.csv, D_*.csv, sheets
mask-trim Does mask F remove only hook, objects and ground? E_trim_per_image.csv, sheets

What every step writes next to its outputs

  • summary.txt (or mask_summary.txt, features_summary.txt): the key numbers, in plain text.
  • <key>.result.json: summary, key numbers, tables and figure specifications, used by sidenor-ladle report to rebuild a report without recomputing anything.
  • Its figures as PNG (or interactive HTML, report.figure_files).