# mIF analysis acceptance worksheet

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

`mif-analysis-acceptance.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 project data.

It is **not a validated SOP**, 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 provider's answer comparable with another provider's answer, and to leave a record of why a delivery was accepted or rejected.

## How to use it

One row per requirement or question. Use one file per provider engagement, so the same `section` and `item_id` can be compared across two or more providers without overwriting either answer.

- `section` — which of the four blocks the row belongs to: `scope`, `evidence`, `acceptance` or `retention`.
- `item_id` — a stable key so the same requirement can be matched across providers. Keep the key identical between provider files; change only the answer columns.
- `requirement_or_question` — the requirement as it should be written into the scope, or the question as it should be put to the provider. Write it as a specific, answerable line, not as a topic.
- `provider_response` — the answer, in the provider's words where possible. Do not summarise it into a yes/no here; the answer belongs in the evidence column.
- `evidence_reference` — what was actually handed over: file name, link, or the wording of the reply. If the answer was an assertion with nothing attached, record the assertion here so the gap stays visible.
- `status` — see the vocabulary below.
- `notes` — anything that explains the status, including the reason a check was waived or the scope change that was agreed.

## Missing-value vocabulary

Use exactly one of these in `status`:

- `set` — the requirement is written into the scope and the provider has answered it with something attached.
- `not-set` — the requirement has not been written down. Treat this as the most consequential state, because it cannot be fixed after the delivery arrives.
- `pending` — the requirement is written down but the answer has not arrived yet.
- `not-applicable` — the requirement does not apply to this study. Say why in `notes`.
- `asserted` — the provider answered, but nothing was handed over that would let you re-check the answer.
- `rejected` — the answer was received and did not meet the requirement that the scope named.

`not-set` and `asserted` are the two states worth arguing about. A delivery that fails a `not-set` row cannot be rejected on that ground, because the ground was never written down; a delivery that fails an `asserted` row can be rejected, because the scope did require evidence.

## Fields

### `scope` — the blocks to fix before any image is sent

One row per requirement in each of the five scope blocks. The block names match the article; the rows are yours.

- `analysis_unit` — the unit of inference (patient, slide, region or cell), the denominator, and how several regions from one case combine.
- `marker_threshold_rule` — which markers are read, and the rule that calls a marker positive.
- `comparison_groups` — which groups are compared, at which level, with which inclusion rules.
- `deliverables` — the tables, per-object measurements, masks, figures and project files that come back, listed by name.
- `evidence` — which raw image each reported number traces to, and which software and version produced it.

### `evidence` — what the provider must hand over

- `parameter_set` — the settings, script or parameter file that produced the numbers.
- `worked_example` — one region or cell shown with the call made on it.
- `re_run_commitment` — whether one region can be re-analysed and return the same number.
- `software_version` — software name and version, and which modules were used.
- `exclusion_log` — every excluded region, with a stated reason.
- `handback_terms` — retention period, audit access and re-analysis rights.

### `acceptance` — the checks to run on the delivery

- `route_to_image` — pick a reported number and locate the region, cell and image behind it.
- `denominators_match` — recompute one percentage and compare it with the scope.
- `segmentation_visible` — inspect representative images with the calls overlaid.
- `exclusions_accounted` — compare the exclusion log against the scope.
- `signoff_named` — the named person on your side who can accept or reject, and what they may reject on.

### `retention` — what you can do with the data afterwards

- `image_ownership` — who holds the images, and on what terms.
- `derived_data_handover` — whether the object tables, masks and parameters come back even if the images do not.
- `re_analysis_right` — whether the analysis can be repeated internally later.
- `publication_right` — whether the method and parameters may be described in a manuscript or filing.

## Scope limit

This worksheet records decisions and evidence. It does not validate anything, does not score anything, and does not replace the assay-side qualification that an outsourced result still inherits. A completed worksheet shows that a delivery was checked against a written scope; it does not show that the result is correct.

Example rows are given in this README only, never in the CSV:

```
scope,analysis_unit,Per patient, per region, or per slide? State which and how regions from one case combine.,Patient-level; regions averaged within patient,evidence/contract-scope.pdf,set,Agreed in the scope before the first image was sent.
evidence,parameter_set,Provide the parameter file or script that produced the reported numbers.,Attached as parameters.json,parameters.json,set,
```
