# mIF outsourcing decision worksheet

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

`mif-project-specification.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 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 an outsourcing-versus-build decision explicit and reviewable, and to keep two vendor quotes answering the same question.

## How to use it

One row per candidate route for one study. A study with an in-house build, a fully outsourced quote and a hybrid split gets three rows with the same `record_id` group. Fill the specification columns identically across those rows — they describe the study, not the vendor. Fill the vendor and comparison columns per row. Use one file per study rather than one file per organisation.

## Fields

**Identification**

- `record_id` — locally unique id for the row. Use a stable study key so the in-house and vendor rows can be compared.
- `route_type` — `in_house`, `outsourced`, or `hybrid`. Hybrid means your lab performs staining and scanning and a third party performs analysis.
- `vendor_or_team` — the candidate provider, or the internal team name for an in-house route.

**Study specification — fill identically for every route in the study**

- `question` — the biological question, in one sentence.
- `endpoints` — the numeric outputs and the comparison to be made. State the denominator (per patient, per region, per slide).
- `panel_marker_count` — number of markers in the panel, or the planned maximum.
- `single_stain_reference_available` — `yes`, `no`, or `partial`, for whether single-stain IHC exists as the reference for each target.
- `slide_count` — number of slides in the study, and whether more are planned.
- `image_format` — source file format, or `not_yet_scanned`.
- `channel_map_documented` — `yes` / `no` / `partial`: whether channel-to-marker assignment is written down.
- `registration_state` — `registered`, `unregistered`, `not_applicable`, or `unknown` for multi-round data.
- `analysis_method_version` — the versioned description of the segmentation/quantification method. Use `not_yet_written` if it does not exist yet; that answer is itself decision-relevant.
- `phenotype_rule_version` — versioned marker logic for phenotype assignment, or `not_yet_written`.
- `batch_handling_method` — how batch and site differences are handled, or `not_yet_written`.

**Delivery and due diligence — fill per candidate**

- `qc_records_supplied` — what quality-control records accompany the delivery (pre-analytic, analytic, post-analytic). Describe what is offered; do not assume coverage.
- `reference_annotations_supplied` — whether independently reviewed reference annotations are included, and for how many regions.
- `external_qa_participated` — whether the provider takes part in any external quality assessment or inter-laboratory comparison.
- `process_data_delivered` — whether intermediate process data (regions of interest, detections, per-object measurements) is delivered, not only summary tables.
- `code_or_parameters_delivered` — whether the parameters or code needed to regenerate results are handed back, and in what form.
- `review_rounds` — number of result-review rounds included, and what triggers a re-run.
- `named_reviewer` — who reviews the results, and their role. Write `not_named` if no individual is identified.
- `re_verification_supported` — whether quantitative outputs can be re-checked against the images they came from.
- `isolated_client_account` — whether client data and accounts are isolated from other clients.
- `retention_terms` — how long images and results are retained and how retrieval works after the project ends.
- `handback_documented` — whether the handback is described in the agreement rather than assumed.

**Scope**

- `scope_included` — the analysis activities the provider is responsible for, itemised.
- `scope_excluded` — what remains with your team, including endpoint definition and biological interpretation.

**Cost and staffing — use your own numbers**

- `analyst_hours_per_project` — internal analyst hours this route consumes.
- `analyst_fte_available` — internal analyst capacity actually available for this work. Write `0` when there is none.
- `review_capacity_available` — internal capacity to review results, in hours. Write `0` when there is none; a zero here is a finding, not a blank.
- `storage_and_transfer_cost` — your internal cost for image storage and transfer.
- `quote_amount` — the quoted amount for this scope, or `not_quoted`.
- `quote_currency` — the currency of `quote_amount`, or `not_applicable`.
- `quote_scope_basis` — what the quote covers (slides, regions, cohorts, panels, or effort). Never compare two quotes whose basis differs.
- `turnaround_committed` — the committed schedule, or `not_committed`. Record it as stated by the provider; it is not an independent measurement.
- `turnaround_basis` — what the schedule depends on (slides received, revision rounds, batch schedule).

**Decision**

- `risk_notes` — the failure mode you judge most likely for this row.
- `decision` — `outsource`, `build_in_house`, `hybrid`, `defer`, or `undecided`.
- `decision_date` — ISO 8601 date (`YYYY-MM-DD`) of the decision.
- `decision_owner` — the person accountable for the decision.
- `evidence_files` — paths or references to the material the decision rests on (specification, reference annotations, quotes, review records).

## Missing values

Blank means not yet specified. Use `not_yet_written`, `not_quoted`, `not_named`, `not_committed`, `not_applicable` or `unknown` when a field is genuinely inapplicable or unanswered. Do not enter `0` for a price, a count or an unknown. `0` is reserved for a real measured zero — analyst capacity or review capacity that does not exist. Never substitute a missing value with a default threshold, a vendor figure or an estimate presented as fact.

## Scope limits

This worksheet records decisions and evidence; it does not validate anything. It does not implement image analysis, define acceptable thresholds, define a passing score, or replace qualified review of biological interpretation. A domain specialist should review the study specification before it is sent to a provider. Rows are not comparable across studies unless the specification columns match.
