# mIF pipeline run manifest worksheet

Version 1.0 | 2026-11-10 | Research documentation only

`pipeline-run-manifest.csv` is a **header-only** CSV. It contains no example rows, no default thresholds, no vendor names, no prices and no measured results. Copy it before entering run data.

It is NOT a validated standard operating procedure, not an assessment instrument with a passing score, and not an import format for QuPath, PathoAxis or any other platform. It exists to make one analysis run self-describing: which code, which parameters, which model and which data produced a result, and who accepted it.

## How to use it

One row per **run** — that is, per execution of the pipeline over a defined set of images. If a run processes forty slides, that is one run and, if you need per-image detail, forty rows sharing the same `run_id`. Fill the run-level fields (software version, script identity, parameter set, command line, reviewer, decision) identically on every row of a run; they describe the run, not the slide.

Keep one file per study rather than one file per organisation. Store the file next to the outputs it describes. If a parameter changes, that is a new run with a new `parameter_set_version`, not an edit to the old row.

## Fields

**Identification**

- `record_id` — locally unique id for the row. Use a stable key so rows can be traced across files.
- `run_id` — identifier for one execution of the pipeline. Rows sharing a `run_id` belong to the same execution.
- `run_timestamp_utc` — ISO 8601 timestamp (`YYYY-MM-DDThh:mm:ssZ`) for when the run started.
- `operator_id` — the person or automated job that executed the run.

**Data layer**

- `project_file` — name or path of the QuPath project file used.
- `project_version` — version identifier for the project structure, or `not_versioned`.
- `image_id` — identifier for the image within the project.
- `image_source_uri` — location of the source image or its entry in the project.
- `image_checksum` — checksum of the image or of the project entry, so the input can be verified later.
- `slide_id` — laboratory slide identifier, if the project carries one.
- `scanner_id` — instrument used for acquisition, or `not_recorded`.
- `acquisition_profile_id` — the acquisition setting set used, or `not_recorded`.
- `channel_map_id` — identifier of the channel-to-marker assignment used by this run.
- `requested_pixel_size_um` — the pixel size the analysis requested, in micrometres, or `not_applicable`.
- `calibration_present` — `yes` or `no`: whether the image actually carried pixel calibration.

**Script layer**

- `qupath_version` — the MAJOR.MINOR.PATCH version used for the run.
- `extension_versions` — versions of the extensions or plugins in use, or `none`.
- `script_ids` — identifiers of the scripts executed.
- `script_version_id` — version identifier for the script set, or `not_versioned`.

**Parameter layer**

- `parameter_set_id` — identifier of the external parameter file used.
- `parameter_set_version` — version identifier for that parameter file.
- `model_id` — identifier of any classifier or trained model used, or `none`.
- `model_version` — version of that model, or `none`.
- `detection_parameter_id` — identifier of the detection/segmentation parameter block used.
- `phenotype_rule_set_id` — identifier of the phenotype rule set used, or `none`.
- `region_definition_source` — how regions were defined: `automated`, `manual_saved_annotation`, `template`, `not_applicable`.

**Execution record**

- `command_line_invocation` — the exact command line, including arguments and flags.
- `exit_status` — the exit code reported by the run.
- `log_uri` — location of the run log.

**Output layer**

- `output_uri` — location of the result file produced for this image.
- `output_row_count` — number of data rows in that result file.
- `output_checksum` — checksum of the result file.

**Acceptance record**

- `reviewer_id` — who reviewed the run.
- `review_date` — ISO 8601 date of the review.
- `review_outcome` — `accepted`, `accepted_with_caveats`, `rejected`, or `not_reviewed`.
- `acceptance_decision` — short statement of what was decided and why.
- `revalidation_required` — `yes` or `no`: whether the decision requires the pipeline to be re-validated before further use.
- `notes` — anything a later reader would need to understand the row.

## Missing values

Blank means not yet recorded. Use `not_recorded`, `not_versioned`, `not_applicable`, `none`, `not_reviewed` or `unknown` when a field is genuinely inapplicable or unanswered. Do not enter `0` for a count, a version or an unknown. `0` is reserved for a real measured zero — a pixel size of exactly zero, or a result file with exactly zero rows. Never substitute a missing value with a default threshold, a vendor figure, or an estimate presented as fact.

## Scope limits

This worksheet records what was run and what was decided about it. It does not validate anything, does not implement image analysis, does not define acceptable thresholds, does not define a passing score, and does not replace qualified review of biological interpretation. A domain specialist should review the pipeline and the acceptance decision before results are reported. Rows are not comparable across runs unless the script, parameter-set and model identifiers are the same.
