{
 "about": {
  "method": "layout-suggestion",
  "recordedOn": "2026-10-13",
  "script": "pipeline/assay-analyser/oracles/layout_suggestion.py",
  "scriptSha256": "d677d276263192a7a3348e6b8c9fd3863808ae48a93d63da490f7c81d13d499d",
  "origin": "Self-constructed layouts and pattern-test outcomes; no diagnostic is computed here (those are the plate-diagnostics engine's, separately verified)",
  "environment": {
   "image": "ghcr.io/biotechmat/drybench/oracle-env:d6cd987911c17af3@sha256:52c2da8b4a62b2a916a0a44ef276834f8c473115a3d4d73b9809ce4cbd4c8e2c",
   "python": "3.11.15"
  },
  "tolerances": {
   "decisions, m, triggers, rules and refusals": "exact (p against 0.05/m in binary64; the effect against 10 as exact rationals of the printed decimals)",
   "counts and layout properties": "exact"
  }
 },
 "constants": {
  "alpha": "0.05",
  "floorPercentOfSpan": "10",
  "dims": {
   "96": [
    8,
    12
   ],
   "384": [
    16,
    24
   ]
  }
 },
 "cases": [
  {
   "name": "quiet",
   "about": "no pattern triggers: refused (no trigger)",
   "format": 96,
   "wells": {
    "B3": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 10
    },
    "B4": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 3
    },
    "B5": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 1
    },
    "B6": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 0.3
    },
    "B7": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 0.1
    },
    "B8": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 0.03
    },
    "B9": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 0.01
    },
    "B10": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 0.003
    },
    "C3": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 10
    },
    "C4": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 3
    },
    "C5": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 1
    },
    "C6": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 0.3
    },
    "C7": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 0.1
    },
    "C8": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 0.03
    },
    "C9": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 0.01
    },
    "C10": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 0.003
    },
    "D3": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 10
    },
    "D4": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 3
    },
    "D5": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 1
    },
    "D6": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 0.3
    },
    "D7": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 0.1
    },
    "D8": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 0.03
    },
    "D9": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 0.01
    },
    "D10": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 0.003
    },
    "E3": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 10
    },
    "E4": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 3
    },
    "E5": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 1
    },
    "E6": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 0.3
    },
    "E7": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 0.1
    },
    "E8": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 0.03
    },
    "E9": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 0.01
    },
    "E10": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 0.003
    },
    "A1": {
     "role": "positive"
    },
    "A2": {
     "role": "negative"
    },
    "B1": {
     "role": "negative"
    },
    "B2": {
     "role": "positive"
    },
    "C1": {
     "role": "positive"
    },
    "C2": {
     "role": "negative"
    },
    "D1": {
     "role": "negative"
    },
    "D2": {
     "role": "positive"
    },
    "E12": {
     "role": "positive"
    },
    "E11": {
     "role": "negative"
    },
    "F12": {
     "role": "negative"
    },
    "F11": {
     "role": "positive"
    },
    "G12": {
     "role": "positive"
    },
    "G11": {
     "role": "negative"
    },
    "H12": {
     "role": "negative"
    },
    "H11": {
     "role": "positive"
    }
   },
   "tests": [
    {
     "plate": "Plate 1",
     "group": "positive",
     "test": "edge",
     "ok": true,
     "p": 0.6,
     "effectPercent": 2.0
    },
    {
     "plate": "Plate 1",
     "group": "positive",
     "test": "rows",
     "ok": true,
     "p": 0.6,
     "effectPercent": 2.0
    },
    {
     "plate": "Plate 1",
     "group": "positive",
     "test": "columns",
     "ok": true,
     "p": 0.6,
     "effectPercent": 2.0
    },
    {
     "plate": "Plate 1",
     "group": "negative",
     "test": "edge",
     "ok": true,
     "p": 0.6,
     "effectPercent": 2.0
    },
    {
     "plate": "Plate 1",
     "group": "negative",
     "test": "rows",
     "ok": true,
     "p": 0.6,
     "effectPercent": 2.0
    },
    {
     "plate": "Plate 1",
     "group": "negative",
     "test": "columns",
     "ok": true,
     "p": 0.6,
     "effectPercent": 2.0
    },
    {
     "plate": "Plate 1",
     "group": "samples",
     "test": "edge",
     "ok": true,
     "p": 0.6,
     "effectPercent": 2.0
    },
    {
     "plate": "Plate 1",
     "group": "samples",
     "test": "rows",
     "ok": true,
     "p": 0.6,
     "effectPercent": 2.0
    },
    {
     "plate": "Plate 1",
     "group": "samples",
     "test": "columns",
     "ok": true,
     "p": 0.6,
     "effectPercent": 2.0
    }
   ],
   "expected": {
    "status": "refused",
    "reason": "no-trigger",
    "m": 9
   }
  },
  {
   "name": "edge-negative-control",
   "about": "an edge finding in the kill controls: layout (a)",
   "format": 96,
   "wells": {
    "B3": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 10
    },
    "B4": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 3
    },
    "B5": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 1
    },
    "B6": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 0.3
    },
    "B7": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 0.1
    },
    "B8": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 0.03
    },
    "B9": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 0.01
    },
    "B10": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 0.003
    },
    "C3": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 10
    },
    "C4": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 3
    },
    "C5": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 1
    },
    "C6": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 0.3
    },
    "C7": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 0.1
    },
    "C8": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 0.03
    },
    "C9": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 0.01
    },
    "C10": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 0.003
    },
    "D3": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 10
    },
    "D4": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 3
    },
    "D5": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 1
    },
    "D6": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 0.3
    },
    "D7": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 0.1
    },
    "D8": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 0.03
    },
    "D9": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 0.01
    },
    "D10": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 0.003
    },
    "E3": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 10
    },
    "E4": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 3
    },
    "E5": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 1
    },
    "E6": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 0.3
    },
    "E7": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 0.1
    },
    "E8": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 0.03
    },
    "E9": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 0.01
    },
    "E10": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 0.003
    },
    "A1": {
     "role": "positive"
    },
    "A2": {
     "role": "negative"
    },
    "B1": {
     "role": "negative"
    },
    "B2": {
     "role": "positive"
    },
    "C1": {
     "role": "positive"
    },
    "C2": {
     "role": "negative"
    },
    "D1": {
     "role": "negative"
    },
    "D2": {
     "role": "positive"
    },
    "E12": {
     "role": "positive"
    },
    "E11": {
     "role": "negative"
    },
    "F12": {
     "role": "negative"
    },
    "F11": {
     "role": "positive"
    },
    "G12": {
     "role": "positive"
    },
    "G11": {
     "role": "negative"
    },
    "H12": {
     "role": "negative"
    },
    "H11": {
     "role": "positive"
    }
   },
   "tests": [
    {
     "plate": "Plate 1",
     "group": "positive",
     "test": "edge",
     "ok": true,
     "p": 0.6,
     "effectPercent": 2.0
    },
    {
     "plate": "Plate 1",
     "group": "positive",
     "test": "rows",
     "ok": true,
     "p": 0.6,
     "effectPercent": 2.0
    },
    {
     "plate": "Plate 1",
     "group": "positive",
     "test": "columns",
     "ok": true,
     "p": 0.6,
     "effectPercent": 2.0
    },
    {
     "plate": "Plate 1",
     "group": "negative",
     "test": "edge",
     "ok": true,
     "p": 0.001,
     "effectPercent": -12.5
    },
    {
     "plate": "Plate 1",
     "group": "negative",
     "test": "rows",
     "ok": true,
     "p": 0.6,
     "effectPercent": 2.0
    },
    {
     "plate": "Plate 1",
     "group": "negative",
     "test": "columns",
     "ok": true,
     "p": 0.6,
     "effectPercent": 2.0
    },
    {
     "plate": "Plate 1",
     "group": "samples",
     "test": "edge",
     "ok": true,
     "p": 0.6,
     "effectPercent": 2.0
    },
    {
     "plate": "Plate 1",
     "group": "samples",
     "test": "rows",
     "ok": true,
     "p": 0.6,
     "effectPercent": 2.0
    },
    {
     "plate": "Plate 1",
     "group": "samples",
     "test": "columns",
     "ok": true,
     "p": 0.6,
     "effectPercent": 2.0
    }
   ],
   "expected": {
    "status": "suggested",
    "m": 9,
    "triggers": [
     {
      "plate": "Plate 1",
      "group": "negative",
      "test": "edge"
     }
    ],
    "rules": [
     "edge"
    ],
    "counts": {
     "roles": {
      "negative": 8,
      "positive": 8,
      "sample": 32
     },
     "samples": {
      "Cpd A@0.003": 2,
      "Cpd A@0.01": 2,
      "Cpd A@0.03": 2,
      "Cpd A@0.1": 2,
      "Cpd A@0.3": 2,
      "Cpd A@1": 2,
      "Cpd A@10": 2,
      "Cpd A@3": 2,
      "Cpd B@0.003": 2,
      "Cpd B@0.01": 2,
      "Cpd B@0.03": 2,
      "Cpd B@0.1": 2,
      "Cpd B@0.3": 2,
      "Cpd B@1": 2,
      "Cpd B@10": 2,
      "Cpd B@3": 2
     }
    }
   }
  },
  {
   "name": "column-positive-control",
   "about": "a column finding in the vehicle controls: layout (b)",
   "format": 96,
   "wells": {
    "B3": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 10
    },
    "B4": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 3
    },
    "B5": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 1
    },
    "B6": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 0.3
    },
    "B7": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 0.1
    },
    "B8": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 0.03
    },
    "B9": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 0.01
    },
    "B10": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 0.003
    },
    "C3": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 10
    },
    "C4": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 3
    },
    "C5": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 1
    },
    "C6": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 0.3
    },
    "C7": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 0.1
    },
    "C8": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 0.03
    },
    "C9": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 0.01
    },
    "C10": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 0.003
    },
    "D3": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 10
    },
    "D4": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 3
    },
    "D5": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 1
    },
    "D6": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 0.3
    },
    "D7": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 0.1
    },
    "D8": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 0.03
    },
    "D9": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 0.01
    },
    "D10": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 0.003
    },
    "E3": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 10
    },
    "E4": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 3
    },
    "E5": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 1
    },
    "E6": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 0.3
    },
    "E7": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 0.1
    },
    "E8": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 0.03
    },
    "E9": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 0.01
    },
    "E10": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 0.003
    },
    "A1": {
     "role": "positive"
    },
    "A2": {
     "role": "negative"
    },
    "B1": {
     "role": "negative"
    },
    "B2": {
     "role": "positive"
    },
    "C1": {
     "role": "positive"
    },
    "C2": {
     "role": "negative"
    },
    "D1": {
     "role": "negative"
    },
    "D2": {
     "role": "positive"
    },
    "E12": {
     "role": "positive"
    },
    "E11": {
     "role": "negative"
    },
    "F12": {
     "role": "negative"
    },
    "F11": {
     "role": "positive"
    },
    "G12": {
     "role": "positive"
    },
    "G11": {
     "role": "negative"
    },
    "H12": {
     "role": "negative"
    },
    "H11": {
     "role": "positive"
    }
   },
   "tests": [
    {
     "plate": "Plate 1",
     "group": "positive",
     "test": "edge",
     "ok": true,
     "p": 0.6,
     "effectPercent": 2.0
    },
    {
     "plate": "Plate 1",
     "group": "positive",
     "test": "rows",
     "ok": true,
     "p": 0.6,
     "effectPercent": 2.0
    },
    {
     "plate": "Plate 1",
     "group": "positive",
     "test": "columns",
     "ok": true,
     "p": 0.0004,
     "effectPercent": 15.0
    },
    {
     "plate": "Plate 1",
     "group": "negative",
     "test": "edge",
     "ok": true,
     "p": 0.6,
     "effectPercent": 2.0
    },
    {
     "plate": "Plate 1",
     "group": "negative",
     "test": "rows",
     "ok": true,
     "p": 0.6,
     "effectPercent": 2.0
    },
    {
     "plate": "Plate 1",
     "group": "negative",
     "test": "columns",
     "ok": true,
     "p": 0.6,
     "effectPercent": 2.0
    },
    {
     "plate": "Plate 1",
     "group": "samples",
     "test": "edge",
     "ok": true,
     "p": 0.6,
     "effectPercent": 2.0
    },
    {
     "plate": "Plate 1",
     "group": "samples",
     "test": "rows",
     "ok": true,
     "p": 0.6,
     "effectPercent": 2.0
    },
    {
     "plate": "Plate 1",
     "group": "samples",
     "test": "columns",
     "ok": true,
     "p": 0.6,
     "effectPercent": 2.0
    }
   ],
   "expected": {
    "status": "suggested",
    "m": 9,
    "triggers": [
     {
      "plate": "Plate 1",
      "group": "positive",
      "test": "columns"
     }
    ],
    "rules": [
     "rows-columns"
    ],
    "counts": {
     "roles": {
      "negative": 8,
      "positive": 8,
      "sample": 32
     },
     "samples": {
      "Cpd A@0.003": 2,
      "Cpd A@0.01": 2,
      "Cpd A@0.03": 2,
      "Cpd A@0.1": 2,
      "Cpd A@0.3": 2,
      "Cpd A@1": 2,
      "Cpd A@10": 2,
      "Cpd A@3": 2,
      "Cpd B@0.003": 2,
      "Cpd B@0.01": 2,
      "Cpd B@0.03": 2,
      "Cpd B@0.1": 2,
      "Cpd B@0.3": 2,
      "Cpd B@1": 2,
      "Cpd B@10": 2,
      "Cpd B@3": 2
     }
    }
   }
  },
  {
   "name": "edge-and-rows",
   "about": "both: (a) then (b)",
   "format": 96,
   "wells": {
    "B3": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 10
    },
    "B4": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 3
    },
    "B5": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 1
    },
    "B6": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 0.3
    },
    "B7": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 0.1
    },
    "B8": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 0.03
    },
    "B9": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 0.01
    },
    "B10": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 0.003
    },
    "C3": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 10
    },
    "C4": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 3
    },
    "C5": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 1
    },
    "C6": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 0.3
    },
    "C7": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 0.1
    },
    "C8": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 0.03
    },
    "C9": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 0.01
    },
    "C10": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 0.003
    },
    "D3": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 10
    },
    "D4": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 3
    },
    "D5": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 1
    },
    "D6": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 0.3
    },
    "D7": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 0.1
    },
    "D8": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 0.03
    },
    "D9": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 0.01
    },
    "D10": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 0.003
    },
    "E3": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 10
    },
    "E4": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 3
    },
    "E5": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 1
    },
    "E6": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 0.3
    },
    "E7": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 0.1
    },
    "E8": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 0.03
    },
    "E9": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 0.01
    },
    "E10": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 0.003
    },
    "A1": {
     "role": "positive"
    },
    "A2": {
     "role": "negative"
    },
    "B1": {
     "role": "negative"
    },
    "B2": {
     "role": "positive"
    },
    "C1": {
     "role": "positive"
    },
    "C2": {
     "role": "negative"
    },
    "D1": {
     "role": "negative"
    },
    "D2": {
     "role": "positive"
    },
    "E12": {
     "role": "positive"
    },
    "E11": {
     "role": "negative"
    },
    "F12": {
     "role": "negative"
    },
    "F11": {
     "role": "positive"
    },
    "G12": {
     "role": "positive"
    },
    "G11": {
     "role": "negative"
    },
    "H12": {
     "role": "negative"
    },
    "H11": {
     "role": "positive"
    }
   },
   "tests": [
    {
     "plate": "Plate 1",
     "group": "positive",
     "test": "edge",
     "ok": true,
     "p": 0.6,
     "effectPercent": 2.0
    },
    {
     "plate": "Plate 1",
     "group": "positive",
     "test": "rows",
     "ok": true,
     "p": 0.6,
     "effectPercent": 2.0
    },
    {
     "plate": "Plate 1",
     "group": "positive",
     "test": "columns",
     "ok": true,
     "p": 0.6,
     "effectPercent": 2.0
    },
    {
     "plate": "Plate 1",
     "group": "negative",
     "test": "edge",
     "ok": true,
     "p": 0.6,
     "effectPercent": 2.0
    },
    {
     "plate": "Plate 1",
     "group": "negative",
     "test": "rows",
     "ok": true,
     "p": 0.003,
     "effectPercent": 20.0
    },
    {
     "plate": "Plate 1",
     "group": "negative",
     "test": "columns",
     "ok": true,
     "p": 0.6,
     "effectPercent": 2.0
    },
    {
     "plate": "Plate 1",
     "group": "samples",
     "test": "edge",
     "ok": true,
     "p": 0.002,
     "effectPercent": 11.0
    },
    {
     "plate": "Plate 1",
     "group": "samples",
     "test": "rows",
     "ok": true,
     "p": 0.6,
     "effectPercent": 2.0
    },
    {
     "plate": "Plate 1",
     "group": "samples",
     "test": "columns",
     "ok": true,
     "p": 0.6,
     "effectPercent": 2.0
    }
   ],
   "expected": {
    "status": "suggested",
    "m": 9,
    "triggers": [
     {
      "plate": "Plate 1",
      "group": "negative",
      "test": "rows"
     },
     {
      "plate": "Plate 1",
      "group": "samples",
      "test": "edge"
     }
    ],
    "rules": [
     "edge",
     "rows-columns"
    ],
    "counts": {
     "roles": {
      "negative": 8,
      "positive": 8,
      "sample": 32
     },
     "samples": {
      "Cpd A@0.003": 2,
      "Cpd A@0.01": 2,
      "Cpd A@0.03": 2,
      "Cpd A@0.1": 2,
      "Cpd A@0.3": 2,
      "Cpd A@1": 2,
      "Cpd A@10": 2,
      "Cpd A@3": 2,
      "Cpd B@0.003": 2,
      "Cpd B@0.01": 2,
      "Cpd B@0.03": 2,
      "Cpd B@0.1": 2,
      "Cpd B@0.3": 2,
      "Cpd B@1": 2,
      "Cpd B@10": 2,
      "Cpd B@3": 2
     }
    }
   }
  },
  {
   "name": "bonferroni-boundary-at",
   "about": "p exactly 0.05/9: triggers",
   "format": 96,
   "wells": {
    "B3": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 10
    },
    "B4": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 3
    },
    "B5": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 1
    },
    "B6": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 0.3
    },
    "B7": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 0.1
    },
    "B8": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 0.03
    },
    "B9": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 0.01
    },
    "B10": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 0.003
    },
    "C3": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 10
    },
    "C4": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 3
    },
    "C5": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 1
    },
    "C6": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 0.3
    },
    "C7": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 0.1
    },
    "C8": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 0.03
    },
    "C9": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 0.01
    },
    "C10": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 0.003
    },
    "D3": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 10
    },
    "D4": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 3
    },
    "D5": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 1
    },
    "D6": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 0.3
    },
    "D7": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 0.1
    },
    "D8": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 0.03
    },
    "D9": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 0.01
    },
    "D10": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 0.003
    },
    "E3": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 10
    },
    "E4": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 3
    },
    "E5": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 1
    },
    "E6": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 0.3
    },
    "E7": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 0.1
    },
    "E8": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 0.03
    },
    "E9": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 0.01
    },
    "E10": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 0.003
    },
    "A1": {
     "role": "positive"
    },
    "A2": {
     "role": "negative"
    },
    "B1": {
     "role": "negative"
    },
    "B2": {
     "role": "positive"
    },
    "C1": {
     "role": "positive"
    },
    "C2": {
     "role": "negative"
    },
    "D1": {
     "role": "negative"
    },
    "D2": {
     "role": "positive"
    },
    "E12": {
     "role": "positive"
    },
    "E11": {
     "role": "negative"
    },
    "F12": {
     "role": "negative"
    },
    "F11": {
     "role": "positive"
    },
    "G12": {
     "role": "positive"
    },
    "G11": {
     "role": "negative"
    },
    "H12": {
     "role": "negative"
    },
    "H11": {
     "role": "positive"
    }
   },
   "tests": [
    {
     "plate": "Plate 1",
     "group": "positive",
     "test": "edge",
     "ok": true,
     "p": 0.6,
     "effectPercent": 2.0
    },
    {
     "plate": "Plate 1",
     "group": "positive",
     "test": "rows",
     "ok": true,
     "p": 0.6,
     "effectPercent": 2.0
    },
    {
     "plate": "Plate 1",
     "group": "positive",
     "test": "columns",
     "ok": true,
     "p": 0.6,
     "effectPercent": 2.0
    },
    {
     "plate": "Plate 1",
     "group": "negative",
     "test": "edge",
     "ok": true,
     "p": 0.005555555555555556,
     "effectPercent": 30.0
    },
    {
     "plate": "Plate 1",
     "group": "negative",
     "test": "rows",
     "ok": true,
     "p": 0.6,
     "effectPercent": 2.0
    },
    {
     "plate": "Plate 1",
     "group": "negative",
     "test": "columns",
     "ok": true,
     "p": 0.6,
     "effectPercent": 2.0
    },
    {
     "plate": "Plate 1",
     "group": "samples",
     "test": "edge",
     "ok": true,
     "p": 0.6,
     "effectPercent": 2.0
    },
    {
     "plate": "Plate 1",
     "group": "samples",
     "test": "rows",
     "ok": true,
     "p": 0.6,
     "effectPercent": 2.0
    },
    {
     "plate": "Plate 1",
     "group": "samples",
     "test": "columns",
     "ok": true,
     "p": 0.6,
     "effectPercent": 2.0
    }
   ],
   "expected": {
    "status": "suggested",
    "m": 9,
    "triggers": [
     {
      "plate": "Plate 1",
      "group": "negative",
      "test": "edge"
     }
    ],
    "rules": [
     "edge"
    ],
    "counts": {
     "roles": {
      "negative": 8,
      "positive": 8,
      "sample": 32
     },
     "samples": {
      "Cpd A@0.003": 2,
      "Cpd A@0.01": 2,
      "Cpd A@0.03": 2,
      "Cpd A@0.1": 2,
      "Cpd A@0.3": 2,
      "Cpd A@1": 2,
      "Cpd A@10": 2,
      "Cpd A@3": 2,
      "Cpd B@0.003": 2,
      "Cpd B@0.01": 2,
      "Cpd B@0.03": 2,
      "Cpd B@0.1": 2,
      "Cpd B@0.3": 2,
      "Cpd B@1": 2,
      "Cpd B@10": 2,
      "Cpd B@3": 2
     }
    }
   }
  },
  {
   "name": "bonferroni-boundary-above",
   "about": "p just above 0.05/9: no trigger",
   "format": 96,
   "wells": {
    "B3": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 10
    },
    "B4": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 3
    },
    "B5": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 1
    },
    "B6": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 0.3
    },
    "B7": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 0.1
    },
    "B8": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 0.03
    },
    "B9": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 0.01
    },
    "B10": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 0.003
    },
    "C3": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 10
    },
    "C4": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 3
    },
    "C5": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 1
    },
    "C6": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 0.3
    },
    "C7": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 0.1
    },
    "C8": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 0.03
    },
    "C9": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 0.01
    },
    "C10": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 0.003
    },
    "D3": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 10
    },
    "D4": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 3
    },
    "D5": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 1
    },
    "D6": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 0.3
    },
    "D7": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 0.1
    },
    "D8": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 0.03
    },
    "D9": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 0.01
    },
    "D10": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 0.003
    },
    "E3": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 10
    },
    "E4": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 3
    },
    "E5": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 1
    },
    "E6": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 0.3
    },
    "E7": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 0.1
    },
    "E8": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 0.03
    },
    "E9": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 0.01
    },
    "E10": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 0.003
    },
    "A1": {
     "role": "positive"
    },
    "A2": {
     "role": "negative"
    },
    "B1": {
     "role": "negative"
    },
    "B2": {
     "role": "positive"
    },
    "C1": {
     "role": "positive"
    },
    "C2": {
     "role": "negative"
    },
    "D1": {
     "role": "negative"
    },
    "D2": {
     "role": "positive"
    },
    "E12": {
     "role": "positive"
    },
    "E11": {
     "role": "negative"
    },
    "F12": {
     "role": "negative"
    },
    "F11": {
     "role": "positive"
    },
    "G12": {
     "role": "positive"
    },
    "G11": {
     "role": "negative"
    },
    "H12": {
     "role": "negative"
    },
    "H11": {
     "role": "positive"
    }
   },
   "tests": [
    {
     "plate": "Plate 1",
     "group": "positive",
     "test": "edge",
     "ok": true,
     "p": 0.6,
     "effectPercent": 2.0
    },
    {
     "plate": "Plate 1",
     "group": "positive",
     "test": "rows",
     "ok": true,
     "p": 0.6,
     "effectPercent": 2.0
    },
    {
     "plate": "Plate 1",
     "group": "positive",
     "test": "columns",
     "ok": true,
     "p": 0.6,
     "effectPercent": 2.0
    },
    {
     "plate": "Plate 1",
     "group": "negative",
     "test": "edge",
     "ok": true,
     "p": 0.0056,
     "effectPercent": 30.0
    },
    {
     "plate": "Plate 1",
     "group": "negative",
     "test": "rows",
     "ok": true,
     "p": 0.6,
     "effectPercent": 2.0
    },
    {
     "plate": "Plate 1",
     "group": "negative",
     "test": "columns",
     "ok": true,
     "p": 0.6,
     "effectPercent": 2.0
    },
    {
     "plate": "Plate 1",
     "group": "samples",
     "test": "edge",
     "ok": true,
     "p": 0.6,
     "effectPercent": 2.0
    },
    {
     "plate": "Plate 1",
     "group": "samples",
     "test": "rows",
     "ok": true,
     "p": 0.6,
     "effectPercent": 2.0
    },
    {
     "plate": "Plate 1",
     "group": "samples",
     "test": "columns",
     "ok": true,
     "p": 0.6,
     "effectPercent": 2.0
    }
   ],
   "expected": {
    "status": "refused",
    "reason": "no-trigger",
    "m": 9
   }
  },
  {
   "name": "effect-below-floor",
   "about": "9.9% of the span: no trigger",
   "format": 96,
   "wells": {
    "B3": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 10
    },
    "B4": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 3
    },
    "B5": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 1
    },
    "B6": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 0.3
    },
    "B7": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 0.1
    },
    "B8": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 0.03
    },
    "B9": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 0.01
    },
    "B10": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 0.003
    },
    "C3": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 10
    },
    "C4": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 3
    },
    "C5": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 1
    },
    "C6": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 0.3
    },
    "C7": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 0.1
    },
    "C8": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 0.03
    },
    "C9": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 0.01
    },
    "C10": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 0.003
    },
    "D3": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 10
    },
    "D4": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 3
    },
    "D5": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 1
    },
    "D6": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 0.3
    },
    "D7": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 0.1
    },
    "D8": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 0.03
    },
    "D9": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 0.01
    },
    "D10": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 0.003
    },
    "E3": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 10
    },
    "E4": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 3
    },
    "E5": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 1
    },
    "E6": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 0.3
    },
    "E7": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 0.1
    },
    "E8": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 0.03
    },
    "E9": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 0.01
    },
    "E10": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 0.003
    },
    "A1": {
     "role": "positive"
    },
    "A2": {
     "role": "negative"
    },
    "B1": {
     "role": "negative"
    },
    "B2": {
     "role": "positive"
    },
    "C1": {
     "role": "positive"
    },
    "C2": {
     "role": "negative"
    },
    "D1": {
     "role": "negative"
    },
    "D2": {
     "role": "positive"
    },
    "E12": {
     "role": "positive"
    },
    "E11": {
     "role": "negative"
    },
    "F12": {
     "role": "negative"
    },
    "F11": {
     "role": "positive"
    },
    "G12": {
     "role": "positive"
    },
    "G11": {
     "role": "negative"
    },
    "H12": {
     "role": "negative"
    },
    "H11": {
     "role": "positive"
    }
   },
   "tests": [
    {
     "plate": "Plate 1",
     "group": "positive",
     "test": "edge",
     "ok": true,
     "p": 0.6,
     "effectPercent": 2.0
    },
    {
     "plate": "Plate 1",
     "group": "positive",
     "test": "rows",
     "ok": true,
     "p": 0.6,
     "effectPercent": 2.0
    },
    {
     "plate": "Plate 1",
     "group": "positive",
     "test": "columns",
     "ok": true,
     "p": 0.6,
     "effectPercent": 2.0
    },
    {
     "plate": "Plate 1",
     "group": "negative",
     "test": "edge",
     "ok": true,
     "p": 0.0001,
     "effectPercent": 9.9
    },
    {
     "plate": "Plate 1",
     "group": "negative",
     "test": "rows",
     "ok": true,
     "p": 0.6,
     "effectPercent": 2.0
    },
    {
     "plate": "Plate 1",
     "group": "negative",
     "test": "columns",
     "ok": true,
     "p": 0.6,
     "effectPercent": 2.0
    },
    {
     "plate": "Plate 1",
     "group": "samples",
     "test": "edge",
     "ok": true,
     "p": 0.6,
     "effectPercent": 2.0
    },
    {
     "plate": "Plate 1",
     "group": "samples",
     "test": "rows",
     "ok": true,
     "p": 0.6,
     "effectPercent": 2.0
    },
    {
     "plate": "Plate 1",
     "group": "samples",
     "test": "columns",
     "ok": true,
     "p": 0.6,
     "effectPercent": 2.0
    }
   ],
   "expected": {
    "status": "refused",
    "reason": "no-trigger",
    "m": 9
   }
  },
  {
   "name": "effect-at-floor",
   "about": "10% of the span: triggers",
   "format": 96,
   "wells": {
    "B3": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 10
    },
    "B4": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 3
    },
    "B5": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 1
    },
    "B6": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 0.3
    },
    "B7": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 0.1
    },
    "B8": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 0.03
    },
    "B9": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 0.01
    },
    "B10": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 0.003
    },
    "C3": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 10
    },
    "C4": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 3
    },
    "C5": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 1
    },
    "C6": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 0.3
    },
    "C7": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 0.1
    },
    "C8": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 0.03
    },
    "C9": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 0.01
    },
    "C10": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 0.003
    },
    "D3": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 10
    },
    "D4": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 3
    },
    "D5": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 1
    },
    "D6": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 0.3
    },
    "D7": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 0.1
    },
    "D8": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 0.03
    },
    "D9": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 0.01
    },
    "D10": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 0.003
    },
    "E3": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 10
    },
    "E4": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 3
    },
    "E5": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 1
    },
    "E6": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 0.3
    },
    "E7": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 0.1
    },
    "E8": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 0.03
    },
    "E9": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 0.01
    },
    "E10": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 0.003
    },
    "A1": {
     "role": "positive"
    },
    "A2": {
     "role": "negative"
    },
    "B1": {
     "role": "negative"
    },
    "B2": {
     "role": "positive"
    },
    "C1": {
     "role": "positive"
    },
    "C2": {
     "role": "negative"
    },
    "D1": {
     "role": "negative"
    },
    "D2": {
     "role": "positive"
    },
    "E12": {
     "role": "positive"
    },
    "E11": {
     "role": "negative"
    },
    "F12": {
     "role": "negative"
    },
    "F11": {
     "role": "positive"
    },
    "G12": {
     "role": "positive"
    },
    "G11": {
     "role": "negative"
    },
    "H12": {
     "role": "negative"
    },
    "H11": {
     "role": "positive"
    }
   },
   "tests": [
    {
     "plate": "Plate 1",
     "group": "positive",
     "test": "edge",
     "ok": true,
     "p": 0.6,
     "effectPercent": 2.0
    },
    {
     "plate": "Plate 1",
     "group": "positive",
     "test": "rows",
     "ok": true,
     "p": 0.6,
     "effectPercent": 2.0
    },
    {
     "plate": "Plate 1",
     "group": "positive",
     "test": "columns",
     "ok": true,
     "p": 0.6,
     "effectPercent": 2.0
    },
    {
     "plate": "Plate 1",
     "group": "negative",
     "test": "edge",
     "ok": true,
     "p": 0.0001,
     "effectPercent": 10.0
    },
    {
     "plate": "Plate 1",
     "group": "negative",
     "test": "rows",
     "ok": true,
     "p": 0.6,
     "effectPercent": 2.0
    },
    {
     "plate": "Plate 1",
     "group": "negative",
     "test": "columns",
     "ok": true,
     "p": 0.6,
     "effectPercent": 2.0
    },
    {
     "plate": "Plate 1",
     "group": "samples",
     "test": "edge",
     "ok": true,
     "p": 0.6,
     "effectPercent": 2.0
    },
    {
     "plate": "Plate 1",
     "group": "samples",
     "test": "rows",
     "ok": true,
     "p": 0.6,
     "effectPercent": 2.0
    },
    {
     "plate": "Plate 1",
     "group": "samples",
     "test": "columns",
     "ok": true,
     "p": 0.6,
     "effectPercent": 2.0
    }
   ],
   "expected": {
    "status": "suggested",
    "m": 9,
    "triggers": [
     {
      "plate": "Plate 1",
      "group": "negative",
      "test": "edge"
     }
    ],
    "rules": [
     "edge"
    ],
    "counts": {
     "roles": {
      "negative": 8,
      "positive": 8,
      "sample": 32
     },
     "samples": {
      "Cpd A@0.003": 2,
      "Cpd A@0.01": 2,
      "Cpd A@0.03": 2,
      "Cpd A@0.1": 2,
      "Cpd A@0.3": 2,
      "Cpd A@1": 2,
      "Cpd A@10": 2,
      "Cpd A@3": 2,
      "Cpd B@0.003": 2,
      "Cpd B@0.01": 2,
      "Cpd B@0.03": 2,
      "Cpd B@0.1": 2,
      "Cpd B@0.3": 2,
      "Cpd B@1": 2,
      "Cpd B@10": 2,
      "Cpd B@3": 2
     }
    }
   }
  },
  {
   "name": "sample-rows-only",
   "about": "sample row and column findings alone: refused",
   "format": 96,
   "wells": {
    "B3": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 10
    },
    "B4": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 3
    },
    "B5": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 1
    },
    "B6": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 0.3
    },
    "B7": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 0.1
    },
    "B8": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 0.03
    },
    "B9": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 0.01
    },
    "B10": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 0.003
    },
    "C3": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 10
    },
    "C4": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 3
    },
    "C5": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 1
    },
    "C6": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 0.3
    },
    "C7": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 0.1
    },
    "C8": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 0.03
    },
    "C9": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 0.01
    },
    "C10": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 0.003
    },
    "D3": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 10
    },
    "D4": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 3
    },
    "D5": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 1
    },
    "D6": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 0.3
    },
    "D7": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 0.1
    },
    "D8": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 0.03
    },
    "D9": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 0.01
    },
    "D10": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 0.003
    },
    "E3": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 10
    },
    "E4": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 3
    },
    "E5": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 1
    },
    "E6": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 0.3
    },
    "E7": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 0.1
    },
    "E8": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 0.03
    },
    "E9": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 0.01
    },
    "E10": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 0.003
    },
    "A1": {
     "role": "positive"
    },
    "A2": {
     "role": "negative"
    },
    "B1": {
     "role": "negative"
    },
    "B2": {
     "role": "positive"
    },
    "C1": {
     "role": "positive"
    },
    "C2": {
     "role": "negative"
    },
    "D1": {
     "role": "negative"
    },
    "D2": {
     "role": "positive"
    },
    "E12": {
     "role": "positive"
    },
    "E11": {
     "role": "negative"
    },
    "F12": {
     "role": "negative"
    },
    "F11": {
     "role": "positive"
    },
    "G12": {
     "role": "positive"
    },
    "G11": {
     "role": "negative"
    },
    "H12": {
     "role": "negative"
    },
    "H11": {
     "role": "positive"
    }
   },
   "tests": [
    {
     "plate": "Plate 1",
     "group": "positive",
     "test": "edge",
     "ok": true,
     "p": 0.6,
     "effectPercent": 2.0
    },
    {
     "plate": "Plate 1",
     "group": "positive",
     "test": "rows",
     "ok": true,
     "p": 0.6,
     "effectPercent": 2.0
    },
    {
     "plate": "Plate 1",
     "group": "positive",
     "test": "columns",
     "ok": true,
     "p": 0.6,
     "effectPercent": 2.0
    },
    {
     "plate": "Plate 1",
     "group": "negative",
     "test": "edge",
     "ok": true,
     "p": 0.6,
     "effectPercent": 2.0
    },
    {
     "plate": "Plate 1",
     "group": "negative",
     "test": "rows",
     "ok": true,
     "p": 0.6,
     "effectPercent": 2.0
    },
    {
     "plate": "Plate 1",
     "group": "negative",
     "test": "columns",
     "ok": true,
     "p": 0.6,
     "effectPercent": 2.0
    },
    {
     "plate": "Plate 1",
     "group": "samples",
     "test": "edge",
     "ok": true,
     "p": 0.6,
     "effectPercent": 2.0
    },
    {
     "plate": "Plate 1",
     "group": "samples",
     "test": "rows",
     "ok": true,
     "p": 1e-05,
     "effectPercent": 40.0
    },
    {
     "plate": "Plate 1",
     "group": "samples",
     "test": "columns",
     "ok": true,
     "p": 1e-05,
     "effectPercent": 40.0
    }
   ],
   "expected": {
    "status": "refused",
    "reason": "no-trigger",
    "m": 9
   }
  },
  {
   "name": "withheld-only",
   "about": "every test withheld: refused (no tests)",
   "format": 96,
   "wells": {
    "B3": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 10
    },
    "B4": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 3
    },
    "B5": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 1
    },
    "B6": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 0.3
    },
    "B7": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 0.1
    },
    "B8": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 0.03
    },
    "B9": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 0.01
    },
    "B10": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 0.003
    },
    "C3": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 10
    },
    "C4": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 3
    },
    "C5": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 1
    },
    "C6": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 0.3
    },
    "C7": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 0.1
    },
    "C8": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 0.03
    },
    "C9": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 0.01
    },
    "C10": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 0.003
    },
    "D3": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 10
    },
    "D4": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 3
    },
    "D5": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 1
    },
    "D6": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 0.3
    },
    "D7": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 0.1
    },
    "D8": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 0.03
    },
    "D9": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 0.01
    },
    "D10": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 0.003
    },
    "E3": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 10
    },
    "E4": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 3
    },
    "E5": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 1
    },
    "E6": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 0.3
    },
    "E7": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 0.1
    },
    "E8": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 0.03
    },
    "E9": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 0.01
    },
    "E10": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 0.003
    },
    "A1": {
     "role": "positive"
    },
    "A2": {
     "role": "negative"
    },
    "B1": {
     "role": "negative"
    },
    "B2": {
     "role": "positive"
    },
    "C1": {
     "role": "positive"
    },
    "C2": {
     "role": "negative"
    },
    "D1": {
     "role": "negative"
    },
    "D2": {
     "role": "positive"
    },
    "E12": {
     "role": "positive"
    },
    "E11": {
     "role": "negative"
    },
    "F12": {
     "role": "negative"
    },
    "F11": {
     "role": "positive"
    },
    "G12": {
     "role": "positive"
    },
    "G11": {
     "role": "negative"
    },
    "H12": {
     "role": "negative"
    },
    "H11": {
     "role": "positive"
    }
   },
   "tests": [
    {
     "plate": "Plate 1",
     "group": "positive",
     "test": "edge",
     "ok": false,
     "p": 0.6,
     "effectPercent": 2.0
    },
    {
     "plate": "Plate 1",
     "group": "positive",
     "test": "rows",
     "ok": false,
     "p": 0.6,
     "effectPercent": 2.0
    },
    {
     "plate": "Plate 1",
     "group": "positive",
     "test": "columns",
     "ok": false,
     "p": 0.6,
     "effectPercent": 2.0
    },
    {
     "plate": "Plate 1",
     "group": "negative",
     "test": "edge",
     "ok": false,
     "p": 0.0001,
     "effectPercent": 30.0
    },
    {
     "plate": "Plate 1",
     "group": "negative",
     "test": "rows",
     "ok": false,
     "p": 0.6,
     "effectPercent": 2.0
    },
    {
     "plate": "Plate 1",
     "group": "negative",
     "test": "columns",
     "ok": false,
     "p": 0.6,
     "effectPercent": 2.0
    },
    {
     "plate": "Plate 1",
     "group": "samples",
     "test": "edge",
     "ok": false,
     "p": 0.6,
     "effectPercent": 2.0
    },
    {
     "plate": "Plate 1",
     "group": "samples",
     "test": "rows",
     "ok": false,
     "p": 0.6,
     "effectPercent": 2.0
    },
    {
     "plate": "Plate 1",
     "group": "samples",
     "test": "columns",
     "ok": false,
     "p": 0.6,
     "effectPercent": 2.0
    }
   ],
   "expected": {
    "status": "refused",
    "reason": "no-tests",
    "m": 0
   }
  },
  {
   "name": "span-withheld",
   "about": "span withheld everywhere: refused",
   "format": 96,
   "wells": {
    "B3": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 10
    },
    "B4": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 3
    },
    "B5": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 1
    },
    "B6": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 0.3
    },
    "B7": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 0.1
    },
    "B8": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 0.03
    },
    "B9": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 0.01
    },
    "B10": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 0.003
    },
    "C3": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 10
    },
    "C4": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 3
    },
    "C5": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 1
    },
    "C6": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 0.3
    },
    "C7": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 0.1
    },
    "C8": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 0.03
    },
    "C9": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 0.01
    },
    "C10": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 0.003
    },
    "D3": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 10
    },
    "D4": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 3
    },
    "D5": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 1
    },
    "D6": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 0.3
    },
    "D7": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 0.1
    },
    "D8": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 0.03
    },
    "D9": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 0.01
    },
    "D10": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 0.003
    },
    "E3": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 10
    },
    "E4": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 3
    },
    "E5": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 1
    },
    "E6": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 0.3
    },
    "E7": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 0.1
    },
    "E8": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 0.03
    },
    "E9": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 0.01
    },
    "E10": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 0.003
    },
    "A1": {
     "role": "positive"
    },
    "A2": {
     "role": "negative"
    },
    "B1": {
     "role": "negative"
    },
    "B2": {
     "role": "positive"
    },
    "C1": {
     "role": "positive"
    },
    "C2": {
     "role": "negative"
    },
    "D1": {
     "role": "negative"
    },
    "D2": {
     "role": "positive"
    },
    "E12": {
     "role": "positive"
    },
    "E11": {
     "role": "negative"
    },
    "F12": {
     "role": "negative"
    },
    "F11": {
     "role": "positive"
    },
    "G12": {
     "role": "positive"
    },
    "G11": {
     "role": "negative"
    },
    "H12": {
     "role": "negative"
    },
    "H11": {
     "role": "positive"
    }
   },
   "tests": [
    {
     "plate": "Plate 1",
     "group": "positive",
     "test": "edge",
     "ok": true,
     "p": 0.6,
     "effectPercent": null
    },
    {
     "plate": "Plate 1",
     "group": "positive",
     "test": "rows",
     "ok": true,
     "p": 0.6,
     "effectPercent": null
    },
    {
     "plate": "Plate 1",
     "group": "positive",
     "test": "columns",
     "ok": true,
     "p": 0.6,
     "effectPercent": null
    },
    {
     "plate": "Plate 1",
     "group": "negative",
     "test": "edge",
     "ok": true,
     "p": 0.0001,
     "effectPercent": null
    },
    {
     "plate": "Plate 1",
     "group": "negative",
     "test": "rows",
     "ok": true,
     "p": 0.6,
     "effectPercent": null
    },
    {
     "plate": "Plate 1",
     "group": "negative",
     "test": "columns",
     "ok": true,
     "p": 0.6,
     "effectPercent": null
    },
    {
     "plate": "Plate 1",
     "group": "samples",
     "test": "edge",
     "ok": true,
     "p": 0.6,
     "effectPercent": null
    },
    {
     "plate": "Plate 1",
     "group": "samples",
     "test": "rows",
     "ok": true,
     "p": 0.6,
     "effectPercent": null
    },
    {
     "plate": "Plate 1",
     "group": "samples",
     "test": "columns",
     "ok": true,
     "p": 0.6,
     "effectPercent": null
    }
   ],
   "expected": {
    "status": "refused",
    "reason": "no-span",
    "m": 9
   }
  },
  {
   "name": "interior-full",
   "about": "96 occupied wells cannot fit 60 interior wells: refused",
   "format": 96,
   "wells": {
    "A5": {
     "role": "sample",
     "compound": "Cpd C",
     "concentration": 5.0
    },
    "A6": {
     "role": "sample",
     "compound": "Cpd C",
     "concentration": 6.0
    },
    "A7": {
     "role": "sample",
     "compound": "Cpd C",
     "concentration": 7.0
    },
    "A8": {
     "role": "sample",
     "compound": "Cpd C",
     "concentration": 8.0
    },
    "A9": {
     "role": "sample",
     "compound": "Cpd C",
     "concentration": 9.0
    },
    "A10": {
     "role": "sample",
     "compound": "Cpd C",
     "concentration": 10.0
    },
    "A11": {
     "role": "sample",
     "compound": "Cpd C",
     "concentration": 11.0
    },
    "A12": {
     "role": "sample",
     "compound": "Cpd C",
     "concentration": 12.0
    },
    "B1": {
     "role": "sample",
     "compound": "Cpd C",
     "concentration": 1.0
    },
    "B2": {
     "role": "sample",
     "compound": "Cpd C",
     "concentration": 2.0
    },
    "B3": {
     "role": "sample",
     "compound": "Cpd C",
     "concentration": 3.0
    },
    "B4": {
     "role": "sample",
     "compound": "Cpd C",
     "concentration": 4.0
    },
    "B5": {
     "role": "sample",
     "compound": "Cpd C",
     "concentration": 5.0
    },
    "B6": {
     "role": "sample",
     "compound": "Cpd C",
     "concentration": 6.0
    },
    "B7": {
     "role": "sample",
     "compound": "Cpd C",
     "concentration": 7.0
    },
    "B8": {
     "role": "sample",
     "compound": "Cpd C",
     "concentration": 8.0
    },
    "B9": {
     "role": "sample",
     "compound": "Cpd C",
     "concentration": 9.0
    },
    "B10": {
     "role": "sample",
     "compound": "Cpd C",
     "concentration": 10.0
    },
    "B11": {
     "role": "sample",
     "compound": "Cpd C",
     "concentration": 11.0
    },
    "B12": {
     "role": "sample",
     "compound": "Cpd C",
     "concentration": 12.0
    },
    "C1": {
     "role": "sample",
     "compound": "Cpd C",
     "concentration": 1.0
    },
    "C2": {
     "role": "sample",
     "compound": "Cpd C",
     "concentration": 2.0
    },
    "C3": {
     "role": "sample",
     "compound": "Cpd C",
     "concentration": 3.0
    },
    "C4": {
     "role": "sample",
     "compound": "Cpd C",
     "concentration": 4.0
    },
    "C5": {
     "role": "sample",
     "compound": "Cpd C",
     "concentration": 5.0
    },
    "C6": {
     "role": "sample",
     "compound": "Cpd C",
     "concentration": 6.0
    },
    "C7": {
     "role": "sample",
     "compound": "Cpd C",
     "concentration": 7.0
    },
    "C8": {
     "role": "sample",
     "compound": "Cpd C",
     "concentration": 8.0
    },
    "C9": {
     "role": "sample",
     "compound": "Cpd C",
     "concentration": 9.0
    },
    "C10": {
     "role": "sample",
     "compound": "Cpd C",
     "concentration": 10.0
    },
    "C11": {
     "role": "sample",
     "compound": "Cpd C",
     "concentration": 11.0
    },
    "C12": {
     "role": "sample",
     "compound": "Cpd C",
     "concentration": 12.0
    },
    "D1": {
     "role": "sample",
     "compound": "Cpd C",
     "concentration": 1.0
    },
    "D2": {
     "role": "sample",
     "compound": "Cpd C",
     "concentration": 2.0
    },
    "D3": {
     "role": "sample",
     "compound": "Cpd C",
     "concentration": 3.0
    },
    "D4": {
     "role": "sample",
     "compound": "Cpd C",
     "concentration": 4.0
    },
    "D5": {
     "role": "sample",
     "compound": "Cpd C",
     "concentration": 5.0
    },
    "D6": {
     "role": "sample",
     "compound": "Cpd C",
     "concentration": 6.0
    },
    "D7": {
     "role": "sample",
     "compound": "Cpd C",
     "concentration": 7.0
    },
    "D8": {
     "role": "sample",
     "compound": "Cpd C",
     "concentration": 8.0
    },
    "D9": {
     "role": "sample",
     "compound": "Cpd C",
     "concentration": 9.0
    },
    "D10": {
     "role": "sample",
     "compound": "Cpd C",
     "concentration": 10.0
    },
    "D11": {
     "role": "sample",
     "compound": "Cpd C",
     "concentration": 11.0
    },
    "D12": {
     "role": "sample",
     "compound": "Cpd C",
     "concentration": 12.0
    },
    "E1": {
     "role": "sample",
     "compound": "Cpd C",
     "concentration": 1.0
    },
    "E2": {
     "role": "sample",
     "compound": "Cpd C",
     "concentration": 2.0
    },
    "E3": {
     "role": "sample",
     "compound": "Cpd C",
     "concentration": 3.0
    },
    "E4": {
     "role": "sample",
     "compound": "Cpd C",
     "concentration": 4.0
    },
    "E5": {
     "role": "sample",
     "compound": "Cpd C",
     "concentration": 5.0
    },
    "E6": {
     "role": "sample",
     "compound": "Cpd C",
     "concentration": 6.0
    },
    "E7": {
     "role": "sample",
     "compound": "Cpd C",
     "concentration": 7.0
    },
    "E8": {
     "role": "sample",
     "compound": "Cpd C",
     "concentration": 8.0
    },
    "E9": {
     "role": "sample",
     "compound": "Cpd C",
     "concentration": 9.0
    },
    "E10": {
     "role": "sample",
     "compound": "Cpd C",
     "concentration": 10.0
    },
    "E11": {
     "role": "sample",
     "compound": "Cpd C",
     "concentration": 11.0
    },
    "E12": {
     "role": "sample",
     "compound": "Cpd C",
     "concentration": 12.0
    },
    "F1": {
     "role": "sample",
     "compound": "Cpd C",
     "concentration": 1.0
    },
    "F2": {
     "role": "sample",
     "compound": "Cpd C",
     "concentration": 2.0
    },
    "F3": {
     "role": "sample",
     "compound": "Cpd C",
     "concentration": 3.0
    },
    "F4": {
     "role": "sample",
     "compound": "Cpd C",
     "concentration": 4.0
    },
    "F5": {
     "role": "sample",
     "compound": "Cpd C",
     "concentration": 5.0
    },
    "F6": {
     "role": "sample",
     "compound": "Cpd C",
     "concentration": 6.0
    },
    "F7": {
     "role": "sample",
     "compound": "Cpd C",
     "concentration": 7.0
    },
    "F8": {
     "role": "sample",
     "compound": "Cpd C",
     "concentration": 8.0
    },
    "F9": {
     "role": "sample",
     "compound": "Cpd C",
     "concentration": 9.0
    },
    "F10": {
     "role": "sample",
     "compound": "Cpd C",
     "concentration": 10.0
    },
    "F11": {
     "role": "sample",
     "compound": "Cpd C",
     "concentration": 11.0
    },
    "F12": {
     "role": "sample",
     "compound": "Cpd C",
     "concentration": 12.0
    },
    "G1": {
     "role": "sample",
     "compound": "Cpd C",
     "concentration": 1.0
    },
    "G2": {
     "role": "sample",
     "compound": "Cpd C",
     "concentration": 2.0
    },
    "G3": {
     "role": "sample",
     "compound": "Cpd C",
     "concentration": 3.0
    },
    "G4": {
     "role": "sample",
     "compound": "Cpd C",
     "concentration": 4.0
    },
    "G5": {
     "role": "sample",
     "compound": "Cpd C",
     "concentration": 5.0
    },
    "G6": {
     "role": "sample",
     "compound": "Cpd C",
     "concentration": 6.0
    },
    "G7": {
     "role": "sample",
     "compound": "Cpd C",
     "concentration": 7.0
    },
    "G8": {
     "role": "sample",
     "compound": "Cpd C",
     "concentration": 8.0
    },
    "G9": {
     "role": "sample",
     "compound": "Cpd C",
     "concentration": 9.0
    },
    "G10": {
     "role": "sample",
     "compound": "Cpd C",
     "concentration": 10.0
    },
    "G11": {
     "role": "sample",
     "compound": "Cpd C",
     "concentration": 11.0
    },
    "G12": {
     "role": "sample",
     "compound": "Cpd C",
     "concentration": 12.0
    },
    "H1": {
     "role": "sample",
     "compound": "Cpd C",
     "concentration": 1.0
    },
    "H2": {
     "role": "sample",
     "compound": "Cpd C",
     "concentration": 2.0
    },
    "H3": {
     "role": "sample",
     "compound": "Cpd C",
     "concentration": 3.0
    },
    "H4": {
     "role": "sample",
     "compound": "Cpd C",
     "concentration": 4.0
    },
    "H5": {
     "role": "sample",
     "compound": "Cpd C",
     "concentration": 5.0
    },
    "H6": {
     "role": "sample",
     "compound": "Cpd C",
     "concentration": 6.0
    },
    "H7": {
     "role": "sample",
     "compound": "Cpd C",
     "concentration": 7.0
    },
    "H8": {
     "role": "sample",
     "compound": "Cpd C",
     "concentration": 8.0
    },
    "H9": {
     "role": "sample",
     "compound": "Cpd C",
     "concentration": 9.0
    },
    "H10": {
     "role": "sample",
     "compound": "Cpd C",
     "concentration": 10.0
    },
    "H11": {
     "role": "sample",
     "compound": "Cpd C",
     "concentration": 11.0
    },
    "H12": {
     "role": "sample",
     "compound": "Cpd C",
     "concentration": 12.0
    },
    "A1": {
     "role": "positive"
    },
    "A2": {
     "role": "negative"
    },
    "A3": {
     "role": "positive"
    },
    "A4": {
     "role": "negative"
    }
   },
   "tests": [
    {
     "plate": "Plate 1",
     "group": "positive",
     "test": "edge",
     "ok": true,
     "p": 0.6,
     "effectPercent": 2.0
    },
    {
     "plate": "Plate 1",
     "group": "positive",
     "test": "rows",
     "ok": true,
     "p": 0.6,
     "effectPercent": 2.0
    },
    {
     "plate": "Plate 1",
     "group": "positive",
     "test": "columns",
     "ok": true,
     "p": 0.6,
     "effectPercent": 2.0
    },
    {
     "plate": "Plate 1",
     "group": "negative",
     "test": "edge",
     "ok": true,
     "p": 0.0001,
     "effectPercent": 30.0
    },
    {
     "plate": "Plate 1",
     "group": "negative",
     "test": "rows",
     "ok": true,
     "p": 0.6,
     "effectPercent": 2.0
    },
    {
     "plate": "Plate 1",
     "group": "negative",
     "test": "columns",
     "ok": true,
     "p": 0.6,
     "effectPercent": 2.0
    },
    {
     "plate": "Plate 1",
     "group": "samples",
     "test": "edge",
     "ok": true,
     "p": 0.6,
     "effectPercent": 2.0
    },
    {
     "plate": "Plate 1",
     "group": "samples",
     "test": "rows",
     "ok": true,
     "p": 0.6,
     "effectPercent": 2.0
    },
    {
     "plate": "Plate 1",
     "group": "samples",
     "test": "columns",
     "ok": true,
     "p": 0.6,
     "effectPercent": 2.0
    }
   ],
   "expected": {
    "status": "refused",
    "reason": "interior-full",
    "m": 9,
    "triggers": [
     {
      "plate": "Plate 1",
      "group": "negative",
      "test": "edge"
     }
    ]
   }
  },
  {
   "name": "format-1536",
   "about": "not 96 or 384: refused",
   "format": 1536,
   "wells": {},
   "tests": [
    {
     "plate": "Plate 1",
     "group": "positive",
     "test": "edge",
     "ok": true,
     "p": 0.6,
     "effectPercent": 2.0
    },
    {
     "plate": "Plate 1",
     "group": "positive",
     "test": "rows",
     "ok": true,
     "p": 0.6,
     "effectPercent": 2.0
    },
    {
     "plate": "Plate 1",
     "group": "positive",
     "test": "columns",
     "ok": true,
     "p": 0.6,
     "effectPercent": 2.0
    },
    {
     "plate": "Plate 1",
     "group": "negative",
     "test": "edge",
     "ok": true,
     "p": 0.6,
     "effectPercent": 2.0
    },
    {
     "plate": "Plate 1",
     "group": "negative",
     "test": "rows",
     "ok": true,
     "p": 0.6,
     "effectPercent": 2.0
    },
    {
     "plate": "Plate 1",
     "group": "negative",
     "test": "columns",
     "ok": true,
     "p": 0.6,
     "effectPercent": 2.0
    },
    {
     "plate": "Plate 1",
     "group": "samples",
     "test": "edge",
     "ok": true,
     "p": 0.6,
     "effectPercent": 2.0
    },
    {
     "plate": "Plate 1",
     "group": "samples",
     "test": "rows",
     "ok": true,
     "p": 0.6,
     "effectPercent": 2.0
    },
    {
     "plate": "Plate 1",
     "group": "samples",
     "test": "columns",
     "ok": true,
     "p": 0.6,
     "effectPercent": 2.0
    }
   ],
   "expected": {
    "status": "refused",
    "reason": "format"
   }
  },
  {
   "name": "edge-unchecked",
   "about": "every control on the outer ring: the note, offering (a)",
   "format": 96,
   "wells": {
    "B3": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 10
    },
    "B4": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 3
    },
    "B5": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 1
    },
    "B6": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 0.3
    },
    "B7": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 0.1
    },
    "B8": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 0.03
    },
    "B9": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 0.01
    },
    "B10": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 0.003
    },
    "C3": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 10
    },
    "C4": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 3
    },
    "C5": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 1
    },
    "C6": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 0.3
    },
    "C7": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 0.1
    },
    "C8": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 0.03
    },
    "C9": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 0.01
    },
    "C10": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 0.003
    },
    "D3": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 10
    },
    "D4": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 3
    },
    "D5": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 1
    },
    "D6": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 0.3
    },
    "D7": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 0.1
    },
    "D8": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 0.03
    },
    "D9": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 0.01
    },
    "D10": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 0.003
    },
    "E3": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 10
    },
    "E4": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 3
    },
    "E5": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 1
    },
    "E6": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 0.3
    },
    "E7": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 0.1
    },
    "E8": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 0.03
    },
    "E9": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 0.01
    },
    "E10": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 0.003
    },
    "A1": {
     "role": "positive"
    },
    "A12": {
     "role": "negative"
    },
    "B1": {
     "role": "positive"
    },
    "B12": {
     "role": "negative"
    },
    "C1": {
     "role": "positive"
    },
    "C12": {
     "role": "negative"
    },
    "D1": {
     "role": "positive"
    },
    "D12": {
     "role": "negative"
    },
    "E1": {
     "role": "positive"
    },
    "E12": {
     "role": "negative"
    },
    "F1": {
     "role": "positive"
    },
    "F12": {
     "role": "negative"
    },
    "G1": {
     "role": "positive"
    },
    "G12": {
     "role": "negative"
    },
    "H1": {
     "role": "positive"
    },
    "H12": {
     "role": "negative"
    }
   },
   "tests": [
    {
     "plate": "Plate 1",
     "group": "positive",
     "test": "edge",
     "ok": false,
     "p": 0.6,
     "effectPercent": 2.0
    },
    {
     "plate": "Plate 1",
     "group": "positive",
     "test": "rows",
     "ok": true,
     "p": 0.6,
     "effectPercent": 2.0
    },
    {
     "plate": "Plate 1",
     "group": "positive",
     "test": "columns",
     "ok": true,
     "p": 0.6,
     "effectPercent": 2.0
    },
    {
     "plate": "Plate 1",
     "group": "negative",
     "test": "edge",
     "ok": false,
     "p": 0.6,
     "effectPercent": 2.0
    },
    {
     "plate": "Plate 1",
     "group": "negative",
     "test": "rows",
     "ok": true,
     "p": 0.6,
     "effectPercent": 2.0
    },
    {
     "plate": "Plate 1",
     "group": "negative",
     "test": "columns",
     "ok": true,
     "p": 0.6,
     "effectPercent": 2.0
    },
    {
     "plate": "Plate 1",
     "group": "samples",
     "test": "edge",
     "ok": true,
     "p": 0.6,
     "effectPercent": 2.0
    },
    {
     "plate": "Plate 1",
     "group": "samples",
     "test": "rows",
     "ok": true,
     "p": 0.6,
     "effectPercent": 2.0
    },
    {
     "plate": "Plate 1",
     "group": "samples",
     "test": "columns",
     "ok": true,
     "p": 0.6,
     "effectPercent": 2.0
    }
   ],
   "expected": {
    "status": "note",
    "reason": "edge-unchecked",
    "m": 7,
    "rules": [
     "edge"
    ],
    "counts": {
     "roles": {
      "negative": 8,
      "positive": 8,
      "sample": 32
     },
     "samples": {
      "Cpd A@0.003": 2,
      "Cpd A@0.01": 2,
      "Cpd A@0.03": 2,
      "Cpd A@0.1": 2,
      "Cpd A@0.3": 2,
      "Cpd A@1": 2,
      "Cpd A@10": 2,
      "Cpd A@3": 2,
      "Cpd B@0.003": 2,
      "Cpd B@0.01": 2,
      "Cpd B@0.03": 2,
      "Cpd B@0.1": 2,
      "Cpd B@0.3": 2,
      "Cpd B@1": 2,
      "Cpd B@10": 2,
      "Cpd B@3": 2
     }
    }
   }
  },
  {
   "name": "plate-384-both",
   "about": "384 wells, both rules",
   "format": 384,
   "wells": {
    "B3": {
     "role": "sample",
     "compound": "Cpd 1",
     "concentration": 10.0
    },
    "B4": {
     "role": "sample",
     "compound": "Cpd 1",
     "concentration": 3.3333333333333335
    },
    "B5": {
     "role": "sample",
     "compound": "Cpd 1",
     "concentration": 1.1111111111111112
    },
    "B6": {
     "role": "sample",
     "compound": "Cpd 1",
     "concentration": 0.37037037037037035
    },
    "B7": {
     "role": "sample",
     "compound": "Cpd 1",
     "concentration": 0.12345679012345678
    },
    "B8": {
     "role": "sample",
     "compound": "Cpd 1",
     "concentration": 0.0411522633744856
    },
    "B9": {
     "role": "sample",
     "compound": "Cpd 1",
     "concentration": 0.013717421124828532
    },
    "B10": {
     "role": "sample",
     "compound": "Cpd 1",
     "concentration": 0.004572473708276178
    },
    "B11": {
     "role": "sample",
     "compound": "Cpd 1",
     "concentration": 0.0015241579027587258
    },
    "B12": {
     "role": "sample",
     "compound": "Cpd 1",
     "concentration": 0.0005080526342529086
    },
    "C3": {
     "role": "sample",
     "compound": "Cpd 2",
     "concentration": 10.0
    },
    "C4": {
     "role": "sample",
     "compound": "Cpd 2",
     "concentration": 3.3333333333333335
    },
    "C5": {
     "role": "sample",
     "compound": "Cpd 2",
     "concentration": 1.1111111111111112
    },
    "C6": {
     "role": "sample",
     "compound": "Cpd 2",
     "concentration": 0.37037037037037035
    },
    "C7": {
     "role": "sample",
     "compound": "Cpd 2",
     "concentration": 0.12345679012345678
    },
    "C8": {
     "role": "sample",
     "compound": "Cpd 2",
     "concentration": 0.0411522633744856
    },
    "C9": {
     "role": "sample",
     "compound": "Cpd 2",
     "concentration": 0.013717421124828532
    },
    "C10": {
     "role": "sample",
     "compound": "Cpd 2",
     "concentration": 0.004572473708276178
    },
    "C11": {
     "role": "sample",
     "compound": "Cpd 2",
     "concentration": 0.0015241579027587258
    },
    "C12": {
     "role": "sample",
     "compound": "Cpd 2",
     "concentration": 0.0005080526342529086
    },
    "D3": {
     "role": "sample",
     "compound": "Cpd 3",
     "concentration": 10.0
    },
    "D4": {
     "role": "sample",
     "compound": "Cpd 3",
     "concentration": 3.3333333333333335
    },
    "D5": {
     "role": "sample",
     "compound": "Cpd 3",
     "concentration": 1.1111111111111112
    },
    "D6": {
     "role": "sample",
     "compound": "Cpd 3",
     "concentration": 0.37037037037037035
    },
    "D7": {
     "role": "sample",
     "compound": "Cpd 3",
     "concentration": 0.12345679012345678
    },
    "D8": {
     "role": "sample",
     "compound": "Cpd 3",
     "concentration": 0.0411522633744856
    },
    "D9": {
     "role": "sample",
     "compound": "Cpd 3",
     "concentration": 0.013717421124828532
    },
    "D10": {
     "role": "sample",
     "compound": "Cpd 3",
     "concentration": 0.004572473708276178
    },
    "D11": {
     "role": "sample",
     "compound": "Cpd 3",
     "concentration": 0.0015241579027587258
    },
    "D12": {
     "role": "sample",
     "compound": "Cpd 3",
     "concentration": 0.0005080526342529086
    },
    "E3": {
     "role": "sample",
     "compound": "Cpd 4",
     "concentration": 10.0
    },
    "E4": {
     "role": "sample",
     "compound": "Cpd 4",
     "concentration": 3.3333333333333335
    },
    "E5": {
     "role": "sample",
     "compound": "Cpd 4",
     "concentration": 1.1111111111111112
    },
    "E6": {
     "role": "sample",
     "compound": "Cpd 4",
     "concentration": 0.37037037037037035
    },
    "E7": {
     "role": "sample",
     "compound": "Cpd 4",
     "concentration": 0.12345679012345678
    },
    "E8": {
     "role": "sample",
     "compound": "Cpd 4",
     "concentration": 0.0411522633744856
    },
    "E9": {
     "role": "sample",
     "compound": "Cpd 4",
     "concentration": 0.013717421124828532
    },
    "E10": {
     "role": "sample",
     "compound": "Cpd 4",
     "concentration": 0.004572473708276178
    },
    "E11": {
     "role": "sample",
     "compound": "Cpd 4",
     "concentration": 0.0015241579027587258
    },
    "E12": {
     "role": "sample",
     "compound": "Cpd 4",
     "concentration": 0.0005080526342529086
    },
    "F3": {
     "role": "sample",
     "compound": "Cpd 5",
     "concentration": 10.0
    },
    "F4": {
     "role": "sample",
     "compound": "Cpd 5",
     "concentration": 3.3333333333333335
    },
    "F5": {
     "role": "sample",
     "compound": "Cpd 5",
     "concentration": 1.1111111111111112
    },
    "F6": {
     "role": "sample",
     "compound": "Cpd 5",
     "concentration": 0.37037037037037035
    },
    "F7": {
     "role": "sample",
     "compound": "Cpd 5",
     "concentration": 0.12345679012345678
    },
    "F8": {
     "role": "sample",
     "compound": "Cpd 5",
     "concentration": 0.0411522633744856
    },
    "F9": {
     "role": "sample",
     "compound": "Cpd 5",
     "concentration": 0.013717421124828532
    },
    "F10": {
     "role": "sample",
     "compound": "Cpd 5",
     "concentration": 0.004572473708276178
    },
    "F11": {
     "role": "sample",
     "compound": "Cpd 5",
     "concentration": 0.0015241579027587258
    },
    "F12": {
     "role": "sample",
     "compound": "Cpd 5",
     "concentration": 0.0005080526342529086
    },
    "G3": {
     "role": "sample",
     "compound": "Cpd 6",
     "concentration": 10.0
    },
    "G4": {
     "role": "sample",
     "compound": "Cpd 6",
     "concentration": 3.3333333333333335
    },
    "G5": {
     "role": "sample",
     "compound": "Cpd 6",
     "concentration": 1.1111111111111112
    },
    "G6": {
     "role": "sample",
     "compound": "Cpd 6",
     "concentration": 0.37037037037037035
    },
    "G7": {
     "role": "sample",
     "compound": "Cpd 6",
     "concentration": 0.12345679012345678
    },
    "G8": {
     "role": "sample",
     "compound": "Cpd 6",
     "concentration": 0.0411522633744856
    },
    "G9": {
     "role": "sample",
     "compound": "Cpd 6",
     "concentration": 0.013717421124828532
    },
    "G10": {
     "role": "sample",
     "compound": "Cpd 6",
     "concentration": 0.004572473708276178
    },
    "G11": {
     "role": "sample",
     "compound": "Cpd 6",
     "concentration": 0.0015241579027587258
    },
    "G12": {
     "role": "sample",
     "compound": "Cpd 6",
     "concentration": 0.0005080526342529086
    },
    "H3": {
     "role": "sample",
     "compound": "Cpd 7",
     "concentration": 10.0
    },
    "H4": {
     "role": "sample",
     "compound": "Cpd 7",
     "concentration": 3.3333333333333335
    },
    "H5": {
     "role": "sample",
     "compound": "Cpd 7",
     "concentration": 1.1111111111111112
    },
    "H6": {
     "role": "sample",
     "compound": "Cpd 7",
     "concentration": 0.37037037037037035
    },
    "H7": {
     "role": "sample",
     "compound": "Cpd 7",
     "concentration": 0.12345679012345678
    },
    "H8": {
     "role": "sample",
     "compound": "Cpd 7",
     "concentration": 0.0411522633744856
    },
    "H9": {
     "role": "sample",
     "compound": "Cpd 7",
     "concentration": 0.013717421124828532
    },
    "H10": {
     "role": "sample",
     "compound": "Cpd 7",
     "concentration": 0.004572473708276178
    },
    "H11": {
     "role": "sample",
     "compound": "Cpd 7",
     "concentration": 0.0015241579027587258
    },
    "H12": {
     "role": "sample",
     "compound": "Cpd 7",
     "concentration": 0.0005080526342529086
    },
    "I3": {
     "role": "sample",
     "compound": "Cpd 8",
     "concentration": 10.0
    },
    "I4": {
     "role": "sample",
     "compound": "Cpd 8",
     "concentration": 3.3333333333333335
    },
    "I5": {
     "role": "sample",
     "compound": "Cpd 8",
     "concentration": 1.1111111111111112
    },
    "I6": {
     "role": "sample",
     "compound": "Cpd 8",
     "concentration": 0.37037037037037035
    },
    "I7": {
     "role": "sample",
     "compound": "Cpd 8",
     "concentration": 0.12345679012345678
    },
    "I8": {
     "role": "sample",
     "compound": "Cpd 8",
     "concentration": 0.0411522633744856
    },
    "I9": {
     "role": "sample",
     "compound": "Cpd 8",
     "concentration": 0.013717421124828532
    },
    "I10": {
     "role": "sample",
     "compound": "Cpd 8",
     "concentration": 0.004572473708276178
    },
    "I11": {
     "role": "sample",
     "compound": "Cpd 8",
     "concentration": 0.0015241579027587258
    },
    "I12": {
     "role": "sample",
     "compound": "Cpd 8",
     "concentration": 0.0005080526342529086
    },
    "J3": {
     "role": "sample",
     "compound": "Cpd 9",
     "concentration": 10.0
    },
    "J4": {
     "role": "sample",
     "compound": "Cpd 9",
     "concentration": 3.3333333333333335
    },
    "J5": {
     "role": "sample",
     "compound": "Cpd 9",
     "concentration": 1.1111111111111112
    },
    "J6": {
     "role": "sample",
     "compound": "Cpd 9",
     "concentration": 0.37037037037037035
    },
    "J7": {
     "role": "sample",
     "compound": "Cpd 9",
     "concentration": 0.12345679012345678
    },
    "J8": {
     "role": "sample",
     "compound": "Cpd 9",
     "concentration": 0.0411522633744856
    },
    "J9": {
     "role": "sample",
     "compound": "Cpd 9",
     "concentration": 0.013717421124828532
    },
    "J10": {
     "role": "sample",
     "compound": "Cpd 9",
     "concentration": 0.004572473708276178
    },
    "J11": {
     "role": "sample",
     "compound": "Cpd 9",
     "concentration": 0.0015241579027587258
    },
    "J12": {
     "role": "sample",
     "compound": "Cpd 9",
     "concentration": 0.0005080526342529086
    },
    "K3": {
     "role": "sample",
     "compound": "Cpd 10",
     "concentration": 10.0
    },
    "K4": {
     "role": "sample",
     "compound": "Cpd 10",
     "concentration": 3.3333333333333335
    },
    "K5": {
     "role": "sample",
     "compound": "Cpd 10",
     "concentration": 1.1111111111111112
    },
    "K6": {
     "role": "sample",
     "compound": "Cpd 10",
     "concentration": 0.37037037037037035
    },
    "K7": {
     "role": "sample",
     "compound": "Cpd 10",
     "concentration": 0.12345679012345678
    },
    "K8": {
     "role": "sample",
     "compound": "Cpd 10",
     "concentration": 0.0411522633744856
    },
    "K9": {
     "role": "sample",
     "compound": "Cpd 10",
     "concentration": 0.013717421124828532
    },
    "K10": {
     "role": "sample",
     "compound": "Cpd 10",
     "concentration": 0.004572473708276178
    },
    "K11": {
     "role": "sample",
     "compound": "Cpd 10",
     "concentration": 0.0015241579027587258
    },
    "K12": {
     "role": "sample",
     "compound": "Cpd 10",
     "concentration": 0.0005080526342529086
    },
    "L3": {
     "role": "sample",
     "compound": "Cpd 11",
     "concentration": 10.0
    },
    "L4": {
     "role": "sample",
     "compound": "Cpd 11",
     "concentration": 3.3333333333333335
    },
    "L5": {
     "role": "sample",
     "compound": "Cpd 11",
     "concentration": 1.1111111111111112
    },
    "L6": {
     "role": "sample",
     "compound": "Cpd 11",
     "concentration": 0.37037037037037035
    },
    "L7": {
     "role": "sample",
     "compound": "Cpd 11",
     "concentration": 0.12345679012345678
    },
    "L8": {
     "role": "sample",
     "compound": "Cpd 11",
     "concentration": 0.0411522633744856
    },
    "L9": {
     "role": "sample",
     "compound": "Cpd 11",
     "concentration": 0.013717421124828532
    },
    "L10": {
     "role": "sample",
     "compound": "Cpd 11",
     "concentration": 0.004572473708276178
    },
    "L11": {
     "role": "sample",
     "compound": "Cpd 11",
     "concentration": 0.0015241579027587258
    },
    "L12": {
     "role": "sample",
     "compound": "Cpd 11",
     "concentration": 0.0005080526342529086
    },
    "M3": {
     "role": "sample",
     "compound": "Cpd 12",
     "concentration": 10.0
    },
    "M4": {
     "role": "sample",
     "compound": "Cpd 12",
     "concentration": 3.3333333333333335
    },
    "M5": {
     "role": "sample",
     "compound": "Cpd 12",
     "concentration": 1.1111111111111112
    },
    "M6": {
     "role": "sample",
     "compound": "Cpd 12",
     "concentration": 0.37037037037037035
    },
    "M7": {
     "role": "sample",
     "compound": "Cpd 12",
     "concentration": 0.12345679012345678
    },
    "M8": {
     "role": "sample",
     "compound": "Cpd 12",
     "concentration": 0.0411522633744856
    },
    "M9": {
     "role": "sample",
     "compound": "Cpd 12",
     "concentration": 0.013717421124828532
    },
    "M10": {
     "role": "sample",
     "compound": "Cpd 12",
     "concentration": 0.004572473708276178
    },
    "M11": {
     "role": "sample",
     "compound": "Cpd 12",
     "concentration": 0.0015241579027587258
    },
    "M12": {
     "role": "sample",
     "compound": "Cpd 12",
     "concentration": 0.0005080526342529086
    },
    "N3": {
     "role": "sample",
     "compound": "Cpd 13",
     "concentration": 10.0
    },
    "N4": {
     "role": "sample",
     "compound": "Cpd 13",
     "concentration": 3.3333333333333335
    },
    "N5": {
     "role": "sample",
     "compound": "Cpd 13",
     "concentration": 1.1111111111111112
    },
    "N6": {
     "role": "sample",
     "compound": "Cpd 13",
     "concentration": 0.37037037037037035
    },
    "N7": {
     "role": "sample",
     "compound": "Cpd 13",
     "concentration": 0.12345679012345678
    },
    "N8": {
     "role": "sample",
     "compound": "Cpd 13",
     "concentration": 0.0411522633744856
    },
    "N9": {
     "role": "sample",
     "compound": "Cpd 13",
     "concentration": 0.013717421124828532
    },
    "N10": {
     "role": "sample",
     "compound": "Cpd 13",
     "concentration": 0.004572473708276178
    },
    "N11": {
     "role": "sample",
     "compound": "Cpd 13",
     "concentration": 0.0015241579027587258
    },
    "N12": {
     "role": "sample",
     "compound": "Cpd 13",
     "concentration": 0.0005080526342529086
    },
    "O3": {
     "role": "sample",
     "compound": "Cpd 14",
     "concentration": 10.0
    },
    "O4": {
     "role": "sample",
     "compound": "Cpd 14",
     "concentration": 3.3333333333333335
    },
    "O5": {
     "role": "sample",
     "compound": "Cpd 14",
     "concentration": 1.1111111111111112
    },
    "O6": {
     "role": "sample",
     "compound": "Cpd 14",
     "concentration": 0.37037037037037035
    },
    "O7": {
     "role": "sample",
     "compound": "Cpd 14",
     "concentration": 0.12345679012345678
    },
    "O8": {
     "role": "sample",
     "compound": "Cpd 14",
     "concentration": 0.0411522633744856
    },
    "O9": {
     "role": "sample",
     "compound": "Cpd 14",
     "concentration": 0.013717421124828532
    },
    "O10": {
     "role": "sample",
     "compound": "Cpd 14",
     "concentration": 0.004572473708276178
    },
    "O11": {
     "role": "sample",
     "compound": "Cpd 14",
     "concentration": 0.0015241579027587258
    },
    "O12": {
     "role": "sample",
     "compound": "Cpd 14",
     "concentration": 0.0005080526342529086
    },
    "A1": {
     "role": "positive"
    },
    "B1": {
     "role": "negative"
    },
    "C1": {
     "role": "positive"
    },
    "D1": {
     "role": "negative"
    },
    "E1": {
     "role": "positive"
    },
    "F1": {
     "role": "negative"
    },
    "G1": {
     "role": "positive"
    },
    "H1": {
     "role": "negative"
    },
    "I1": {
     "role": "positive"
    },
    "J1": {
     "role": "negative"
    },
    "K1": {
     "role": "positive"
    },
    "L1": {
     "role": "negative"
    },
    "M1": {
     "role": "positive"
    },
    "N1": {
     "role": "negative"
    },
    "O1": {
     "role": "positive"
    },
    "P1": {
     "role": "negative"
    }
   },
   "tests": [
    {
     "plate": "Plate 1",
     "group": "positive",
     "test": "edge",
     "ok": true,
     "p": 0.0001,
     "effectPercent": 14.0
    },
    {
     "plate": "Plate 1",
     "group": "positive",
     "test": "rows",
     "ok": true,
     "p": 0.0001,
     "effectPercent": 14.0
    },
    {
     "plate": "Plate 1",
     "group": "positive",
     "test": "columns",
     "ok": true,
     "p": 0.6,
     "effectPercent": 2.0
    },
    {
     "plate": "Plate 1",
     "group": "negative",
     "test": "edge",
     "ok": true,
     "p": 0.6,
     "effectPercent": 2.0
    },
    {
     "plate": "Plate 1",
     "group": "negative",
     "test": "rows",
     "ok": true,
     "p": 0.6,
     "effectPercent": 2.0
    },
    {
     "plate": "Plate 1",
     "group": "negative",
     "test": "columns",
     "ok": true,
     "p": 0.6,
     "effectPercent": 2.0
    },
    {
     "plate": "Plate 1",
     "group": "samples",
     "test": "edge",
     "ok": true,
     "p": 0.6,
     "effectPercent": 2.0
    },
    {
     "plate": "Plate 1",
     "group": "samples",
     "test": "rows",
     "ok": true,
     "p": 0.6,
     "effectPercent": 2.0
    },
    {
     "plate": "Plate 1",
     "group": "samples",
     "test": "columns",
     "ok": true,
     "p": 0.6,
     "effectPercent": 2.0
    }
   ],
   "expected": {
    "status": "suggested",
    "m": 9,
    "triggers": [
     {
      "plate": "Plate 1",
      "group": "positive",
      "test": "edge"
     },
     {
      "plate": "Plate 1",
      "group": "positive",
      "test": "rows"
     }
    ],
    "rules": [
     "edge",
     "rows-columns"
    ],
    "counts": {
     "roles": {
      "negative": 8,
      "positive": 8,
      "sample": 140
     },
     "samples": {
      "Cpd 10@0.0005080526342529086": 1,
      "Cpd 10@0.0015241579027587258": 1,
      "Cpd 10@0.004572473708276178": 1,
      "Cpd 10@0.013717421124828532": 1,
      "Cpd 10@0.0411522633744856": 1,
      "Cpd 10@0.12345679012345678": 1,
      "Cpd 10@0.37037037037037035": 1,
      "Cpd 10@1.1111111111111112": 1,
      "Cpd 10@10": 1,
      "Cpd 10@3.3333333333333335": 1,
      "Cpd 11@0.0005080526342529086": 1,
      "Cpd 11@0.0015241579027587258": 1,
      "Cpd 11@0.004572473708276178": 1,
      "Cpd 11@0.013717421124828532": 1,
      "Cpd 11@0.0411522633744856": 1,
      "Cpd 11@0.12345679012345678": 1,
      "Cpd 11@0.37037037037037035": 1,
      "Cpd 11@1.1111111111111112": 1,
      "Cpd 11@10": 1,
      "Cpd 11@3.3333333333333335": 1,
      "Cpd 12@0.0005080526342529086": 1,
      "Cpd 12@0.0015241579027587258": 1,
      "Cpd 12@0.004572473708276178": 1,
      "Cpd 12@0.013717421124828532": 1,
      "Cpd 12@0.0411522633744856": 1,
      "Cpd 12@0.12345679012345678": 1,
      "Cpd 12@0.37037037037037035": 1,
      "Cpd 12@1.1111111111111112": 1,
      "Cpd 12@10": 1,
      "Cpd 12@3.3333333333333335": 1,
      "Cpd 13@0.0005080526342529086": 1,
      "Cpd 13@0.0015241579027587258": 1,
      "Cpd 13@0.004572473708276178": 1,
      "Cpd 13@0.013717421124828532": 1,
      "Cpd 13@0.0411522633744856": 1,
      "Cpd 13@0.12345679012345678": 1,
      "Cpd 13@0.37037037037037035": 1,
      "Cpd 13@1.1111111111111112": 1,
      "Cpd 13@10": 1,
      "Cpd 13@3.3333333333333335": 1,
      "Cpd 14@0.0005080526342529086": 1,
      "Cpd 14@0.0015241579027587258": 1,
      "Cpd 14@0.004572473708276178": 1,
      "Cpd 14@0.013717421124828532": 1,
      "Cpd 14@0.0411522633744856": 1,
      "Cpd 14@0.12345679012345678": 1,
      "Cpd 14@0.37037037037037035": 1,
      "Cpd 14@1.1111111111111112": 1,
      "Cpd 14@10": 1,
      "Cpd 14@3.3333333333333335": 1,
      "Cpd 1@0.0005080526342529086": 1,
      "Cpd 1@0.0015241579027587258": 1,
      "Cpd 1@0.004572473708276178": 1,
      "Cpd 1@0.013717421124828532": 1,
      "Cpd 1@0.0411522633744856": 1,
      "Cpd 1@0.12345679012345678": 1,
      "Cpd 1@0.37037037037037035": 1,
      "Cpd 1@1.1111111111111112": 1,
      "Cpd 1@10": 1,
      "Cpd 1@3.3333333333333335": 1,
      "Cpd 2@0.0005080526342529086": 1,
      "Cpd 2@0.0015241579027587258": 1,
      "Cpd 2@0.004572473708276178": 1,
      "Cpd 2@0.013717421124828532": 1,
      "Cpd 2@0.0411522633744856": 1,
      "Cpd 2@0.12345679012345678": 1,
      "Cpd 2@0.37037037037037035": 1,
      "Cpd 2@1.1111111111111112": 1,
      "Cpd 2@10": 1,
      "Cpd 2@3.3333333333333335": 1,
      "Cpd 3@0.0005080526342529086": 1,
      "Cpd 3@0.0015241579027587258": 1,
      "Cpd 3@0.004572473708276178": 1,
      "Cpd 3@0.013717421124828532": 1,
      "Cpd 3@0.0411522633744856": 1,
      "Cpd 3@0.12345679012345678": 1,
      "Cpd 3@0.37037037037037035": 1,
      "Cpd 3@1.1111111111111112": 1,
      "Cpd 3@10": 1,
      "Cpd 3@3.3333333333333335": 1,
      "Cpd 4@0.0005080526342529086": 1,
      "Cpd 4@0.0015241579027587258": 1,
      "Cpd 4@0.004572473708276178": 1,
      "Cpd 4@0.013717421124828532": 1,
      "Cpd 4@0.0411522633744856": 1,
      "Cpd 4@0.12345679012345678": 1,
      "Cpd 4@0.37037037037037035": 1,
      "Cpd 4@1.1111111111111112": 1,
      "Cpd 4@10": 1,
      "Cpd 4@3.3333333333333335": 1,
      "Cpd 5@0.0005080526342529086": 1,
      "Cpd 5@0.0015241579027587258": 1,
      "Cpd 5@0.004572473708276178": 1,
      "Cpd 5@0.013717421124828532": 1,
      "Cpd 5@0.0411522633744856": 1,
      "Cpd 5@0.12345679012345678": 1,
      "Cpd 5@0.37037037037037035": 1,
      "Cpd 5@1.1111111111111112": 1,
      "Cpd 5@10": 1,
      "Cpd 5@3.3333333333333335": 1,
      "Cpd 6@0.0005080526342529086": 1,
      "Cpd 6@0.0015241579027587258": 1,
      "Cpd 6@0.004572473708276178": 1,
      "Cpd 6@0.013717421124828532": 1,
      "Cpd 6@0.0411522633744856": 1,
      "Cpd 6@0.12345679012345678": 1,
      "Cpd 6@0.37037037037037035": 1,
      "Cpd 6@1.1111111111111112": 1,
      "Cpd 6@10": 1,
      "Cpd 6@3.3333333333333335": 1,
      "Cpd 7@0.0005080526342529086": 1,
      "Cpd 7@0.0015241579027587258": 1,
      "Cpd 7@0.004572473708276178": 1,
      "Cpd 7@0.013717421124828532": 1,
      "Cpd 7@0.0411522633744856": 1,
      "Cpd 7@0.12345679012345678": 1,
      "Cpd 7@0.37037037037037035": 1,
      "Cpd 7@1.1111111111111112": 1,
      "Cpd 7@10": 1,
      "Cpd 7@3.3333333333333335": 1,
      "Cpd 8@0.0005080526342529086": 1,
      "Cpd 8@0.0015241579027587258": 1,
      "Cpd 8@0.004572473708276178": 1,
      "Cpd 8@0.013717421124828532": 1,
      "Cpd 8@0.0411522633744856": 1,
      "Cpd 8@0.12345679012345678": 1,
      "Cpd 8@0.37037037037037035": 1,
      "Cpd 8@1.1111111111111112": 1,
      "Cpd 8@10": 1,
      "Cpd 8@3.3333333333333335": 1,
      "Cpd 9@0.0005080526342529086": 1,
      "Cpd 9@0.0015241579027587258": 1,
      "Cpd 9@0.004572473708276178": 1,
      "Cpd 9@0.013717421124828532": 1,
      "Cpd 9@0.0411522633744856": 1,
      "Cpd 9@0.12345679012345678": 1,
      "Cpd 9@0.37037037037037035": 1,
      "Cpd 9@1.1111111111111112": 1,
      "Cpd 9@10": 1,
      "Cpd 9@3.3333333333333335": 1
     }
    }
   }
  },
  {
   "name": "two-plates-m18",
   "about": "eighteen tests: 0.004 is above 0.05/18",
   "format": 96,
   "wells": {
    "B3": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 10
    },
    "B4": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 3
    },
    "B5": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 1
    },
    "B6": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 0.3
    },
    "B7": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 0.1
    },
    "B8": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 0.03
    },
    "B9": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 0.01
    },
    "B10": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 0.003
    },
    "C3": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 10
    },
    "C4": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 3
    },
    "C5": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 1
    },
    "C6": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 0.3
    },
    "C7": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 0.1
    },
    "C8": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 0.03
    },
    "C9": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 0.01
    },
    "C10": {
     "role": "sample",
     "compound": "Cpd A",
     "concentration": 0.003
    },
    "D3": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 10
    },
    "D4": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 3
    },
    "D5": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 1
    },
    "D6": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 0.3
    },
    "D7": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 0.1
    },
    "D8": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 0.03
    },
    "D9": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 0.01
    },
    "D10": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 0.003
    },
    "E3": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 10
    },
    "E4": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 3
    },
    "E5": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 1
    },
    "E6": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 0.3
    },
    "E7": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 0.1
    },
    "E8": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 0.03
    },
    "E9": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 0.01
    },
    "E10": {
     "role": "sample",
     "compound": "Cpd B",
     "concentration": 0.003
    },
    "A1": {
     "role": "positive"
    },
    "A2": {
     "role": "negative"
    },
    "B1": {
     "role": "negative"
    },
    "B2": {
     "role": "positive"
    },
    "C1": {
     "role": "positive"
    },
    "C2": {
     "role": "negative"
    },
    "D1": {
     "role": "negative"
    },
    "D2": {
     "role": "positive"
    },
    "E12": {
     "role": "positive"
    },
    "E11": {
     "role": "negative"
    },
    "F12": {
     "role": "negative"
    },
    "F11": {
     "role": "positive"
    },
    "G12": {
     "role": "positive"
    },
    "G11": {
     "role": "negative"
    },
    "H12": {
     "role": "negative"
    },
    "H11": {
     "role": "positive"
    }
   },
   "tests": [
    {
     "plate": "Plate 1",
     "group": "positive",
     "test": "edge",
     "ok": true,
     "p": 0.6,
     "effectPercent": 2.0
    },
    {
     "plate": "Plate 1",
     "group": "positive",
     "test": "rows",
     "ok": true,
     "p": 0.6,
     "effectPercent": 2.0
    },
    {
     "plate": "Plate 1",
     "group": "positive",
     "test": "columns",
     "ok": true,
     "p": 0.6,
     "effectPercent": 2.0
    },
    {
     "plate": "Plate 1",
     "group": "negative",
     "test": "edge",
     "ok": true,
     "p": 0.004,
     "effectPercent": 30.0
    },
    {
     "plate": "Plate 1",
     "group": "negative",
     "test": "rows",
     "ok": true,
     "p": 0.6,
     "effectPercent": 2.0
    },
    {
     "plate": "Plate 1",
     "group": "negative",
     "test": "columns",
     "ok": true,
     "p": 0.6,
     "effectPercent": 2.0
    },
    {
     "plate": "Plate 1",
     "group": "samples",
     "test": "edge",
     "ok": true,
     "p": 0.6,
     "effectPercent": 2.0
    },
    {
     "plate": "Plate 1",
     "group": "samples",
     "test": "rows",
     "ok": true,
     "p": 0.6,
     "effectPercent": 2.0
    },
    {
     "plate": "Plate 1",
     "group": "samples",
     "test": "columns",
     "ok": true,
     "p": 0.6,
     "effectPercent": 2.0
    },
    {
     "plate": "Plate 2",
     "group": "positive",
     "test": "edge",
     "ok": true,
     "p": 0.6,
     "effectPercent": 2.0
    },
    {
     "plate": "Plate 2",
     "group": "positive",
     "test": "rows",
     "ok": true,
     "p": 0.6,
     "effectPercent": 2.0
    },
    {
     "plate": "Plate 2",
     "group": "positive",
     "test": "columns",
     "ok": true,
     "p": 0.6,
     "effectPercent": 2.0
    },
    {
     "plate": "Plate 2",
     "group": "negative",
     "test": "edge",
     "ok": true,
     "p": 0.6,
     "effectPercent": 2.0
    },
    {
     "plate": "Plate 2",
     "group": "negative",
     "test": "rows",
     "ok": true,
     "p": 0.6,
     "effectPercent": 2.0
    },
    {
     "plate": "Plate 2",
     "group": "negative",
     "test": "columns",
     "ok": true,
     "p": 0.6,
     "effectPercent": 2.0
    },
    {
     "plate": "Plate 2",
     "group": "samples",
     "test": "edge",
     "ok": true,
     "p": 0.6,
     "effectPercent": 2.0
    },
    {
     "plate": "Plate 2",
     "group": "samples",
     "test": "rows",
     "ok": true,
     "p": 0.6,
     "effectPercent": 2.0
    },
    {
     "plate": "Plate 2",
     "group": "samples",
     "test": "columns",
     "ok": true,
     "p": 0.6,
     "effectPercent": 2.0
    }
   ],
   "expected": {
    "status": "refused",
    "reason": "no-trigger",
    "m": 18
   }
  }
 ]
}
