{
 "about": {
  "method": "reporter-ratio (dual luciferase)",
  "ruling": "docs/board/memos/2026-10-13-cso-reporter-ratios.md",
  "origin": "Self-constructed readings",
  "tolerances": {
   "ratios, folds, means, SDs, medians and percents": "1e-12 relative",
   "states, reasons, flags and well lists": "exact"
  },
  "recordedOn": "2026-10-13",
  "script": "pipeline/assay-analyser/oracles/reporter_ratio.py",
  "scriptSha256": "58494e7690fc55e90b51cef4285c12718779f9910f9adbd842346c01fd008209",
  "helper": {
   "script": "pipeline/assay-analyser/oracles/stage_a_oracle.py",
   "sha256": "492d85ca2fa6750db80b1c64214fd4a0b13cd4c588267244f6262c504c73e3e8"
  },
  "environment": {
   "image": "ghcr.io/biotechmat/drybench/oracle-env:11b8a5e4456df7eb@sha256:7e69891ca1d9f24838660e0a9887bdb654ce7771d2f2ac7e7275e9b1eb3b6a09",
   "r": "R version 4.4.3 (2025-02-28)",
   "packages": {
    "jsonlite": "2.0.0"
   },
   "python": "3.11.15",
   "numpy": "2.0.2",
   "scipy": "1.13.1",
   "recordedOn": "2026-10-13",
   "cpu": "AMD EPYC 7763 64-Core Processor",
   "cpuClass": "x86-64-v3",
   "simd": [
    "SSSE3",
    "SSE41",
    "POPCNT",
    "SSE42",
    "AVX",
    "F16C",
    "FMA3",
    "AVX2"
   ],
   "openblasCore": "Haswell",
   "threads": 1
  },
  "crossCheck": {
   "tool": "R stats median",
   "version": "R version 4.4.3 (2025-02-28)",
   "script": "pipeline/assay-analyser/oracles/r/reporter_ratio.R",
   "scriptSha256": "1eb4c1f812612a25492f7c358166bd2ccd0398062dc2964b7a3a7617fe1359f0",
   "ran": true,
   "agreement": "every Renilla median within 1e-12 relative; the script stops otherwise"
  }
 },
 "oracle": {
  "engine": "Python fractions and 60-digit decimal"
 },
 "cases": [
  {
   "name": "r01a-hand-off",
   "about": "Integer hand plate, background off",
   "wells": {
    "H1": {
     "role": "blank",
     "f": "100",
     "r": "50"
    },
    "H2": {
     "role": "blank",
     "f": "110",
     "r": "55"
    },
    "H3": {
     "role": "blank",
     "f": "90",
     "r": "45"
    },
    "H4": {
     "role": "blank",
     "f": "105",
     "r": "52"
    },
    "H5": {
     "role": "blank",
     "f": "95",
     "r": "48"
    },
    "H6": {
     "role": "blank",
     "f": "100",
     "r": "50"
    },
    "A1": {
     "role": "positive",
     "f": "5100",
     "r": "2050"
    },
    "A2": {
     "role": "positive",
     "f": "4900",
     "r": "1950"
    },
    "A3": {
     "role": "positive",
     "f": "5000",
     "r": "2000"
    },
    "A4": {
     "role": "positive",
     "f": "5200",
     "r": "2100"
    },
    "B1": {
     "role": "sample",
     "f": "2600",
     "r": "2050",
     "compound": "Cpd 1",
     "concentration": 1e-06
    },
    "B2": {
     "role": "sample",
     "f": "2400",
     "r": "1950",
     "compound": "Cpd 1",
     "concentration": 1e-06
    },
    "B3": {
     "role": "sample",
     "f": "1300",
     "r": "1000",
     "compound": "Cpd 1",
     "concentration": 1e-05
    },
    "B4": {
     "role": "sample",
     "f": "1100",
     "r": "1050",
     "compound": "Cpd 1",
     "concentration": 1e-05
    }
   },
   "choice": {
    "firefly": 0,
    "renilla": 1,
    "background": false
   },
   "expected": {
    "status": "computed",
    "background": null,
    "nearCheck": "run",
    "renillaBlanks": 6,
    "renillaMedian": 1975.0,
    "wells": {
     "A1": {
      "netRenilla": 2050.0,
      "ratio": 2.4878048780487805,
      "fireflyLow": false,
      "renillaFold": 1.0379746835443038,
      "renillaFlag": false
     },
     "A2": {
      "netRenilla": 1950.0,
      "ratio": 2.5128205128205128,
      "fireflyLow": false,
      "renillaFold": 0.9873417721518988,
      "renillaFlag": false
     },
     "A3": {
      "netRenilla": 2000.0,
      "ratio": 2.5,
      "fireflyLow": false,
      "renillaFold": 1.0126582278481013,
      "renillaFlag": false
     },
     "A4": {
      "netRenilla": 2100.0,
      "ratio": 2.4761904761904763,
      "fireflyLow": false,
      "renillaFold": 1.0632911392405062,
      "renillaFlag": false
     },
     "B1": {
      "netRenilla": 2050.0,
      "ratio": 1.2682926829268293,
      "fireflyLow": false,
      "renillaFold": 1.0379746835443038,
      "renillaFlag": false
     },
     "B2": {
      "netRenilla": 1950.0,
      "ratio": 1.2307692307692308,
      "fireflyLow": false,
      "renillaFold": 0.9873417721518988,
      "renillaFlag": false
     },
     "B3": {
      "netRenilla": 1000.0,
      "ratio": 1.3,
      "fireflyLow": false,
      "renillaFold": 0.5063291139240507,
      "renillaFlag": false
     },
     "B4": {
      "netRenilla": 1050.0,
      "ratio": 1.0476190476190477,
      "fireflyLow": false,
      "renillaFold": 0.5316455696202531,
      "renillaFlag": false
     }
    },
    "conditions": [
     {
      "compound": "Cpd 1",
      "concentration": 1e-06,
      "n": 2,
      "meanFold": 0.5009738471664406,
      "sdFold": 0.010637898033888985,
      "renillaPercentOfControl": 98.76543209876543
     },
     {
      "compound": "Cpd 1",
      "concentration": 1e-05,
      "n": 2,
      "meanFold": 0.4706148893396197,
      "sdFold": 0.07154999560936427,
      "renillaPercentOfControl": 50.617283950617285
     }
    ]
   }
  },
  {
   "name": "r01b-hand-on",
   "about": "The same plate with background on",
   "wells": {
    "H1": {
     "role": "blank",
     "f": "100",
     "r": "50"
    },
    "H2": {
     "role": "blank",
     "f": "110",
     "r": "55"
    },
    "H3": {
     "role": "blank",
     "f": "90",
     "r": "45"
    },
    "H4": {
     "role": "blank",
     "f": "105",
     "r": "52"
    },
    "H5": {
     "role": "blank",
     "f": "95",
     "r": "48"
    },
    "H6": {
     "role": "blank",
     "f": "100",
     "r": "50"
    },
    "A1": {
     "role": "positive",
     "f": "5100",
     "r": "2050"
    },
    "A2": {
     "role": "positive",
     "f": "4900",
     "r": "1950"
    },
    "A3": {
     "role": "positive",
     "f": "5000",
     "r": "2000"
    },
    "A4": {
     "role": "positive",
     "f": "5200",
     "r": "2100"
    },
    "B1": {
     "role": "sample",
     "f": "2600",
     "r": "2050",
     "compound": "Cpd 1",
     "concentration": 1e-06
    },
    "B2": {
     "role": "sample",
     "f": "2400",
     "r": "1950",
     "compound": "Cpd 1",
     "concentration": 1e-06
    },
    "B3": {
     "role": "sample",
     "f": "1300",
     "r": "1000",
     "compound": "Cpd 1",
     "concentration": 1e-05
    },
    "B4": {
     "role": "sample",
     "f": "1100",
     "r": "1050",
     "compound": "Cpd 1",
     "concentration": 1e-05
    }
   },
   "choice": {
    "firefly": 0,
    "renilla": 1,
    "background": true
   },
   "expected": {
    "status": "computed",
    "background": {
     "firefly": {
      "n": 6,
      "mean": 100.0
     },
     "renilla": {
      "n": 6,
      "mean": 50.0
     }
    },
    "nearCheck": "run",
    "renillaBlanks": 6,
    "renillaMedian": 1925.0,
    "wells": {
     "A1": {
      "netRenilla": 2000.0,
      "ratio": 2.5,
      "fireflyLow": false,
      "renillaFold": 1.0389610389610389,
      "renillaFlag": false
     },
     "A2": {
      "netRenilla": 1900.0,
      "ratio": 2.526315789473684,
      "fireflyLow": false,
      "renillaFold": 0.987012987012987,
      "renillaFlag": false
     },
     "A3": {
      "netRenilla": 1950.0,
      "ratio": 2.5128205128205128,
      "fireflyLow": false,
      "renillaFold": 1.0129870129870129,
      "renillaFlag": false
     },
     "A4": {
      "netRenilla": 2050.0,
      "ratio": 2.4878048780487805,
      "fireflyLow": false,
      "renillaFold": 1.0649350649350648,
      "renillaFlag": false
     },
     "B1": {
      "netRenilla": 2000.0,
      "ratio": 1.25,
      "fireflyLow": false,
      "renillaFold": 1.0389610389610389,
      "renillaFlag": false
     },
     "B2": {
      "netRenilla": 1900.0,
      "ratio": 1.2105263157894737,
      "fireflyLow": false,
      "renillaFold": 0.987012987012987,
      "renillaFlag": false
     },
     "B3": {
      "netRenilla": 950.0,
      "ratio": 1.263157894736842,
      "fireflyLow": false,
      "renillaFold": 0.4935064935064935,
      "renillaFlag": true
     },
     "B4": {
      "netRenilla": 1000.0,
      "ratio": 1.0,
      "fireflyLow": false,
      "renillaFold": 0.5194805194805194,
      "renillaFlag": false
     }
    },
    "conditions": [
     {
      "compound": "Cpd 1",
      "concentration": 1e-06,
      "n": 2,
      "meanFold": 0.49078303573040605,
      "sdFold": 0.01113484532587026,
      "renillaPercentOfControl": 98.73417721518987
     },
     {
      "compound": "Cpd 1",
      "concentration": 1e-05,
      "n": 2,
      "meanFold": 0.45141541254347506,
      "sdFold": 0.0742323021724684,
      "renillaPercentOfControl": 49.36708860759494
     }
    ]
   }
  },
  {
   "name": "r02-renilla-at-background",
   "about": "A well whose Renilla equals the Renilla background: withheld",
   "wells": {
    "H1": {
     "role": "blank",
     "f": "100",
     "r": "50"
    },
    "H2": {
     "role": "blank",
     "f": "110",
     "r": "55"
    },
    "H3": {
     "role": "blank",
     "f": "90",
     "r": "45"
    },
    "H4": {
     "role": "blank",
     "f": "105",
     "r": "52"
    },
    "H5": {
     "role": "blank",
     "f": "95",
     "r": "48"
    },
    "H6": {
     "role": "blank",
     "f": "100",
     "r": "50"
    },
    "A1": {
     "role": "positive",
     "f": "5100",
     "r": "2050"
    },
    "A2": {
     "role": "positive",
     "f": "4900",
     "r": "1950"
    },
    "A3": {
     "role": "positive",
     "f": "5000",
     "r": "2000"
    },
    "A4": {
     "role": "positive",
     "f": "5200",
     "r": "2100"
    },
    "B1": {
     "role": "sample",
     "f": "2600",
     "r": "2050",
     "compound": "Cpd 1",
     "concentration": 1e-06
    },
    "B2": {
     "role": "sample",
     "f": "2400",
     "r": "1950",
     "compound": "Cpd 1",
     "concentration": 1e-06
    },
    "B3": {
     "role": "sample",
     "f": "1300",
     "r": "1000",
     "compound": "Cpd 1",
     "concentration": 1e-05
    },
    "B4": {
     "role": "sample",
     "f": "1100",
     "r": "1050",
     "compound": "Cpd 1",
     "concentration": 1e-05
    },
    "C1": {
     "role": "sample",
     "f": "3000",
     "r": "50",
     "compound": "Cpd 2",
     "concentration": 1e-06
    }
   },
   "choice": {
    "firefly": 0,
    "renilla": 1,
    "background": true
   },
   "expected": {
    "status": "computed",
    "background": {
     "firefly": {
      "n": 6,
      "mean": 100.0
     },
     "renilla": {
      "n": 6,
      "mean": 50.0
     }
    },
    "nearCheck": "run",
    "renillaBlanks": 6,
    "renillaMedian": 1925.0,
    "wells": {
     "A1": {
      "netRenilla": 2000.0,
      "ratio": 2.5,
      "fireflyLow": false,
      "renillaFold": 1.0389610389610389,
      "renillaFlag": false
     },
     "A2": {
      "netRenilla": 1900.0,
      "ratio": 2.526315789473684,
      "fireflyLow": false,
      "renillaFold": 0.987012987012987,
      "renillaFlag": false
     },
     "A3": {
      "netRenilla": 1950.0,
      "ratio": 2.5128205128205128,
      "fireflyLow": false,
      "renillaFold": 1.0129870129870129,
      "renillaFlag": false
     },
     "A4": {
      "netRenilla": 2050.0,
      "ratio": 2.4878048780487805,
      "fireflyLow": false,
      "renillaFold": 1.0649350649350648,
      "renillaFlag": false
     },
     "B1": {
      "netRenilla": 2000.0,
      "ratio": 1.25,
      "fireflyLow": false,
      "renillaFold": 1.0389610389610389,
      "renillaFlag": false
     },
     "B2": {
      "netRenilla": 1900.0,
      "ratio": 1.2105263157894737,
      "fireflyLow": false,
      "renillaFold": 0.987012987012987,
      "renillaFlag": false
     },
     "B3": {
      "netRenilla": 950.0,
      "ratio": 1.263157894736842,
      "fireflyLow": false,
      "renillaFold": 0.4935064935064935,
      "renillaFlag": true
     },
     "B4": {
      "netRenilla": 1000.0,
      "ratio": 1.0,
      "fireflyLow": false,
      "renillaFold": 0.5194805194805194,
      "renillaFlag": false
     },
     "C1": {
      "netRenilla": 0.0,
      "ratio": null,
      "withheld": "renilla-at-background",
      "fireflyLow": false
     }
    },
    "conditions": [
     {
      "compound": "Cpd 1",
      "concentration": 1e-06,
      "n": 2,
      "meanFold": 0.49078303573040605,
      "sdFold": 0.01113484532587026,
      "renillaPercentOfControl": 98.73417721518987
     },
     {
      "compound": "Cpd 1",
      "concentration": 1e-05,
      "n": 2,
      "meanFold": 0.45141541254347506,
      "sdFold": 0.0742323021724684,
      "renillaPercentOfControl": 49.36708860759494
     }
    ]
   }
  },
  {
   "name": "r03a-below-blank",
   "about": "Renilla below blank mean + 3 SD with 6 blanks: withheld",
   "wells": {
    "H1": {
     "role": "blank",
     "f": "100",
     "r": "50"
    },
    "H2": {
     "role": "blank",
     "f": "110",
     "r": "55"
    },
    "H3": {
     "role": "blank",
     "f": "90",
     "r": "45"
    },
    "H4": {
     "role": "blank",
     "f": "105",
     "r": "52"
    },
    "H5": {
     "role": "blank",
     "f": "95",
     "r": "48"
    },
    "H6": {
     "role": "blank",
     "f": "100",
     "r": "50"
    },
    "A1": {
     "role": "positive",
     "f": "5100",
     "r": "2050"
    },
    "A2": {
     "role": "positive",
     "f": "4900",
     "r": "1950"
    },
    "A3": {
     "role": "positive",
     "f": "5000",
     "r": "2000"
    },
    "A4": {
     "role": "positive",
     "f": "5200",
     "r": "2100"
    },
    "B1": {
     "role": "sample",
     "f": "2600",
     "r": "2050",
     "compound": "Cpd 1",
     "concentration": 1e-06
    },
    "B2": {
     "role": "sample",
     "f": "2400",
     "r": "1950",
     "compound": "Cpd 1",
     "concentration": 1e-06
    },
    "B3": {
     "role": "sample",
     "f": "1300",
     "r": "1000",
     "compound": "Cpd 1",
     "concentration": 1e-05
    },
    "B4": {
     "role": "sample",
     "f": "1100",
     "r": "1050",
     "compound": "Cpd 1",
     "concentration": 1e-05
    },
    "C1": {
     "role": "sample",
     "f": "3000",
     "r": "60",
     "compound": "Cpd 2",
     "concentration": 1e-06
    }
   },
   "choice": {
    "firefly": 0,
    "renilla": 1,
    "background": false
   },
   "expected": {
    "status": "computed",
    "background": null,
    "nearCheck": "run",
    "renillaBlanks": 6,
    "renillaMedian": 1975.0,
    "wells": {
     "A1": {
      "netRenilla": 2050.0,
      "ratio": 2.4878048780487805,
      "fireflyLow": false,
      "renillaFold": 1.0379746835443038,
      "renillaFlag": false
     },
     "A2": {
      "netRenilla": 1950.0,
      "ratio": 2.5128205128205128,
      "fireflyLow": false,
      "renillaFold": 0.9873417721518988,
      "renillaFlag": false
     },
     "A3": {
      "netRenilla": 2000.0,
      "ratio": 2.5,
      "fireflyLow": false,
      "renillaFold": 1.0126582278481013,
      "renillaFlag": false
     },
     "A4": {
      "netRenilla": 2100.0,
      "ratio": 2.4761904761904763,
      "fireflyLow": false,
      "renillaFold": 1.0632911392405062,
      "renillaFlag": false
     },
     "B1": {
      "netRenilla": 2050.0,
      "ratio": 1.2682926829268293,
      "fireflyLow": false,
      "renillaFold": 1.0379746835443038,
      "renillaFlag": false
     },
     "B2": {
      "netRenilla": 1950.0,
      "ratio": 1.2307692307692308,
      "fireflyLow": false,
      "renillaFold": 0.9873417721518988,
      "renillaFlag": false
     },
     "B3": {
      "netRenilla": 1000.0,
      "ratio": 1.3,
      "fireflyLow": false,
      "renillaFold": 0.5063291139240507,
      "renillaFlag": false
     },
     "B4": {
      "netRenilla": 1050.0,
      "ratio": 1.0476190476190477,
      "fireflyLow": false,
      "renillaFold": 0.5316455696202531,
      "renillaFlag": false
     },
     "C1": {
      "netRenilla": 60.0,
      "ratio": null,
      "withheld": "renilla-below-blank",
      "fireflyLow": false
     }
    },
    "conditions": [
     {
      "compound": "Cpd 1",
      "concentration": 1e-06,
      "n": 2,
      "meanFold": 0.5009738471664406,
      "sdFold": 0.010637898033888985,
      "renillaPercentOfControl": 98.76543209876543
     },
     {
      "compound": "Cpd 1",
      "concentration": 1e-05,
      "n": 2,
      "meanFold": 0.4706148893396197,
      "sdFold": 0.07154999560936427,
      "renillaPercentOfControl": 50.617283950617285
     }
    ]
   }
  },
  {
   "name": "r03b-five-blanks",
   "about": "The same with 5 blanks: the check is not run, the ratio shown",
   "wells": {
    "H1": {
     "role": "blank",
     "f": "100",
     "r": "50"
    },
    "H2": {
     "role": "blank",
     "f": "110",
     "r": "55"
    },
    "H3": {
     "role": "blank",
     "f": "90",
     "r": "45"
    },
    "H4": {
     "role": "blank",
     "f": "105",
     "r": "52"
    },
    "H5": {
     "role": "blank",
     "f": "95",
     "r": "48"
    },
    "A1": {
     "role": "positive",
     "f": "5100",
     "r": "2050"
    },
    "A2": {
     "role": "positive",
     "f": "4900",
     "r": "1950"
    },
    "A3": {
     "role": "positive",
     "f": "5000",
     "r": "2000"
    },
    "A4": {
     "role": "positive",
     "f": "5200",
     "r": "2100"
    },
    "B1": {
     "role": "sample",
     "f": "2600",
     "r": "2050",
     "compound": "Cpd 1",
     "concentration": 1e-06
    },
    "B2": {
     "role": "sample",
     "f": "2400",
     "r": "1950",
     "compound": "Cpd 1",
     "concentration": 1e-06
    },
    "B3": {
     "role": "sample",
     "f": "1300",
     "r": "1000",
     "compound": "Cpd 1",
     "concentration": 1e-05
    },
    "B4": {
     "role": "sample",
     "f": "1100",
     "r": "1050",
     "compound": "Cpd 1",
     "concentration": 1e-05
    },
    "C1": {
     "role": "sample",
     "f": "3000",
     "r": "60",
     "compound": "Cpd 2",
     "concentration": 1e-06
    }
   },
   "choice": {
    "firefly": 0,
    "renilla": 1,
    "background": false
   },
   "expected": {
    "status": "computed",
    "background": null,
    "nearCheck": "not-run",
    "renillaBlanks": 5,
    "renillaMedian": 1950.0,
    "wells": {
     "A1": {
      "netRenilla": 2050.0,
      "ratio": 2.4878048780487805,
      "fireflyLow": false,
      "renillaFold": 1.0512820512820513,
      "renillaFlag": false
     },
     "A2": {
      "netRenilla": 1950.0,
      "ratio": 2.5128205128205128,
      "fireflyLow": false,
      "renillaFold": 1.0,
      "renillaFlag": false
     },
     "A3": {
      "netRenilla": 2000.0,
      "ratio": 2.5,
      "fireflyLow": false,
      "renillaFold": 1.0256410256410255,
      "renillaFlag": false
     },
     "A4": {
      "netRenilla": 2100.0,
      "ratio": 2.4761904761904763,
      "fireflyLow": false,
      "renillaFold": 1.0769230769230769,
      "renillaFlag": false
     },
     "B1": {
      "netRenilla": 2050.0,
      "ratio": 1.2682926829268293,
      "fireflyLow": false,
      "renillaFold": 1.0512820512820513,
      "renillaFlag": false
     },
     "B2": {
      "netRenilla": 1950.0,
      "ratio": 1.2307692307692308,
      "fireflyLow": false,
      "renillaFold": 1.0,
      "renillaFlag": false
     },
     "B3": {
      "netRenilla": 1000.0,
      "ratio": 1.3,
      "fireflyLow": false,
      "renillaFold": 0.5128205128205128,
      "renillaFlag": false
     },
     "B4": {
      "netRenilla": 1050.0,
      "ratio": 1.0476190476190477,
      "fireflyLow": false,
      "renillaFold": 0.5384615384615384,
      "renillaFlag": false
     },
     "C1": {
      "netRenilla": 60.0,
      "ratio": 50.0,
      "fireflyLow": false,
      "renillaFold": 0.03076923076923077,
      "renillaFlag": true
     }
    },
    "conditions": [
     {
      "compound": "Cpd 1",
      "concentration": 1e-06,
      "n": 2,
      "meanFold": 0.5009738471664406,
      "sdFold": 0.010637898033888985,
      "renillaPercentOfControl": 98.76543209876543
     },
     {
      "compound": "Cpd 1",
      "concentration": 1e-05,
      "n": 2,
      "meanFold": 0.4706148893396197,
      "sdFold": 0.07154999560936427,
      "renillaPercentOfControl": 50.617283950617285
     },
     {
      "compound": "Cpd 2",
      "concentration": 1e-06,
      "n": 1,
      "meanFold": 20.046476016494957,
      "sdFold": null,
      "renillaPercentOfControl": 2.962962962962963
     }
    ]
   }
  },
  {
   "name": "r04-identical-blanks",
   "about": "6 identical blanks: the check is not run",
   "wells": {
    "H1": {
     "role": "blank",
     "f": "100",
     "r": "50"
    },
    "H2": {
     "role": "blank",
     "f": "110",
     "r": "50"
    },
    "H3": {
     "role": "blank",
     "f": "90",
     "r": "50"
    },
    "H4": {
     "role": "blank",
     "f": "105",
     "r": "50"
    },
    "H5": {
     "role": "blank",
     "f": "95",
     "r": "50"
    },
    "H6": {
     "role": "blank",
     "f": "100",
     "r": "50"
    },
    "A1": {
     "role": "positive",
     "f": "5100",
     "r": "2050"
    },
    "A2": {
     "role": "positive",
     "f": "4900",
     "r": "1950"
    },
    "A3": {
     "role": "positive",
     "f": "5000",
     "r": "2000"
    },
    "A4": {
     "role": "positive",
     "f": "5200",
     "r": "2100"
    },
    "B1": {
     "role": "sample",
     "f": "2600",
     "r": "2050",
     "compound": "Cpd 1",
     "concentration": 1e-06
    },
    "B2": {
     "role": "sample",
     "f": "2400",
     "r": "1950",
     "compound": "Cpd 1",
     "concentration": 1e-06
    },
    "B3": {
     "role": "sample",
     "f": "1300",
     "r": "1000",
     "compound": "Cpd 1",
     "concentration": 1e-05
    },
    "B4": {
     "role": "sample",
     "f": "1100",
     "r": "1050",
     "compound": "Cpd 1",
     "concentration": 1e-05
    }
   },
   "choice": {
    "firefly": 0,
    "renilla": 1,
    "background": false
   },
   "expected": {
    "status": "computed",
    "background": null,
    "nearCheck": "not-run",
    "renillaBlanks": 6,
    "renillaMedian": 1975.0,
    "wells": {
     "A1": {
      "netRenilla": 2050.0,
      "ratio": 2.4878048780487805,
      "fireflyLow": false,
      "renillaFold": 1.0379746835443038,
      "renillaFlag": false
     },
     "A2": {
      "netRenilla": 1950.0,
      "ratio": 2.5128205128205128,
      "fireflyLow": false,
      "renillaFold": 0.9873417721518988,
      "renillaFlag": false
     },
     "A3": {
      "netRenilla": 2000.0,
      "ratio": 2.5,
      "fireflyLow": false,
      "renillaFold": 1.0126582278481013,
      "renillaFlag": false
     },
     "A4": {
      "netRenilla": 2100.0,
      "ratio": 2.4761904761904763,
      "fireflyLow": false,
      "renillaFold": 1.0632911392405062,
      "renillaFlag": false
     },
     "B1": {
      "netRenilla": 2050.0,
      "ratio": 1.2682926829268293,
      "fireflyLow": false,
      "renillaFold": 1.0379746835443038,
      "renillaFlag": false
     },
     "B2": {
      "netRenilla": 1950.0,
      "ratio": 1.2307692307692308,
      "fireflyLow": false,
      "renillaFold": 0.9873417721518988,
      "renillaFlag": false
     },
     "B3": {
      "netRenilla": 1000.0,
      "ratio": 1.3,
      "fireflyLow": false,
      "renillaFold": 0.5063291139240507,
      "renillaFlag": false
     },
     "B4": {
      "netRenilla": 1050.0,
      "ratio": 1.0476190476190477,
      "fireflyLow": false,
      "renillaFold": 0.5316455696202531,
      "renillaFlag": false
     }
    },
    "conditions": [
     {
      "compound": "Cpd 1",
      "concentration": 1e-06,
      "n": 2,
      "meanFold": 0.5009738471664406,
      "sdFold": 0.010637898033888985,
      "renillaPercentOfControl": 98.76543209876543
     },
     {
      "compound": "Cpd 1",
      "concentration": 1e-05,
      "n": 2,
      "meanFold": 0.4706148893396197,
      "sdFold": 0.07154999560936427,
      "renillaPercentOfControl": 50.617283950617285
     }
    ]
   }
  },
  {
   "name": "r05-firefly-negative",
   "about": "Net firefly negative with background on: kept and flagged",
   "wells": {
    "H1": {
     "role": "blank",
     "f": "100",
     "r": "50"
    },
    "H2": {
     "role": "blank",
     "f": "110",
     "r": "55"
    },
    "H3": {
     "role": "blank",
     "f": "90",
     "r": "45"
    },
    "H4": {
     "role": "blank",
     "f": "105",
     "r": "52"
    },
    "H5": {
     "role": "blank",
     "f": "95",
     "r": "48"
    },
    "H6": {
     "role": "blank",
     "f": "100",
     "r": "50"
    },
    "A1": {
     "role": "positive",
     "f": "5100",
     "r": "2050"
    },
    "A2": {
     "role": "positive",
     "f": "4900",
     "r": "1950"
    },
    "A3": {
     "role": "positive",
     "f": "5000",
     "r": "2000"
    },
    "A4": {
     "role": "positive",
     "f": "5200",
     "r": "2100"
    },
    "B1": {
     "role": "sample",
     "f": "2600",
     "r": "2050",
     "compound": "Cpd 1",
     "concentration": 1e-06
    },
    "B2": {
     "role": "sample",
     "f": "2400",
     "r": "1950",
     "compound": "Cpd 1",
     "concentration": 1e-06
    },
    "B3": {
     "role": "sample",
     "f": "1300",
     "r": "1000",
     "compound": "Cpd 1",
     "concentration": 1e-05
    },
    "B4": {
     "role": "sample",
     "f": "1100",
     "r": "1050",
     "compound": "Cpd 1",
     "concentration": 1e-05
    },
    "C1": {
     "role": "sample",
     "f": "60",
     "r": "1500",
     "compound": "Cpd 2",
     "concentration": 1e-05
    }
   },
   "choice": {
    "firefly": 0,
    "renilla": 1,
    "background": true
   },
   "expected": {
    "status": "computed",
    "background": {
     "firefly": {
      "n": 6,
      "mean": 100.0
     },
     "renilla": {
      "n": 6,
      "mean": 50.0
     }
    },
    "nearCheck": "run",
    "renillaBlanks": 6,
    "renillaMedian": 1900.0,
    "wells": {
     "A1": {
      "netRenilla": 2000.0,
      "ratio": 2.5,
      "fireflyLow": false,
      "renillaFold": 1.0526315789473684,
      "renillaFlag": false
     },
     "A2": {
      "netRenilla": 1900.0,
      "ratio": 2.526315789473684,
      "fireflyLow": false,
      "renillaFold": 1.0,
      "renillaFlag": false
     },
     "A3": {
      "netRenilla": 1950.0,
      "ratio": 2.5128205128205128,
      "fireflyLow": false,
      "renillaFold": 1.0263157894736843,
      "renillaFlag": false
     },
     "A4": {
      "netRenilla": 2050.0,
      "ratio": 2.4878048780487805,
      "fireflyLow": false,
      "renillaFold": 1.0789473684210527,
      "renillaFlag": false
     },
     "B1": {
      "netRenilla": 2000.0,
      "ratio": 1.25,
      "fireflyLow": false,
      "renillaFold": 1.0526315789473684,
      "renillaFlag": false
     },
     "B2": {
      "netRenilla": 1900.0,
      "ratio": 1.2105263157894737,
      "fireflyLow": false,
      "renillaFold": 1.0,
      "renillaFlag": false
     },
     "B3": {
      "netRenilla": 950.0,
      "ratio": 1.263157894736842,
      "fireflyLow": false,
      "renillaFold": 0.5,
      "renillaFlag": false
     },
     "B4": {
      "netRenilla": 1000.0,
      "ratio": 1.0,
      "fireflyLow": false,
      "renillaFold": 0.5263157894736842,
      "renillaFlag": false
     },
     "C1": {
      "netRenilla": 1450.0,
      "ratio": -0.027586206896551724,
      "fireflyLow": true,
      "renillaFold": 0.7631578947368421,
      "renillaFlag": false
     }
    },
    "conditions": [
     {
      "compound": "Cpd 1",
      "concentration": 1e-06,
      "n": 2,
      "meanFold": 0.49078303573040605,
      "sdFold": 0.01113484532587026,
      "renillaPercentOfControl": 98.73417721518987
     },
     {
      "compound": "Cpd 1",
      "concentration": 1e-05,
      "n": 2,
      "meanFold": 0.45141541254347506,
      "sdFold": 0.0742323021724684,
      "renillaPercentOfControl": 49.36708860759494
     },
     {
      "compound": "Cpd 2",
      "concentration": 1e-05,
      "n": 1,
      "meanFold": -0.011004834435703001,
      "sdFold": null,
      "renillaPercentOfControl": 73.41772151898734
     }
    ]
   }
  },
  {
   "name": "r06a-seven",
   "about": "Seven wells with a ratio: the Renilla median is withheld",
   "wells": {
    "H1": {
     "role": "blank",
     "f": "100",
     "r": "50"
    },
    "H2": {
     "role": "blank",
     "f": "110",
     "r": "55"
    },
    "H3": {
     "role": "blank",
     "f": "90",
     "r": "45"
    },
    "H4": {
     "role": "blank",
     "f": "105",
     "r": "52"
    },
    "H5": {
     "role": "blank",
     "f": "95",
     "r": "48"
    },
    "H6": {
     "role": "blank",
     "f": "100",
     "r": "50"
    },
    "A1": {
     "role": "positive",
     "f": "5100",
     "r": "2050"
    },
    "A2": {
     "role": "positive",
     "f": "4900",
     "r": "1950"
    },
    "A3": {
     "role": "positive",
     "f": "5000",
     "r": "2000"
    },
    "A4": {
     "role": "positive",
     "f": "5200",
     "r": "2100"
    },
    "B1": {
     "role": "sample",
     "f": "2600",
     "r": "2050",
     "compound": "Cpd 1",
     "concentration": 1e-06
    },
    "B2": {
     "role": "sample",
     "f": "2400",
     "r": "1950",
     "compound": "Cpd 1",
     "concentration": 1e-06
    },
    "B3": {
     "role": "sample",
     "f": "1300",
     "r": "1000",
     "compound": "Cpd 1",
     "concentration": 1e-05
    }
   },
   "choice": {
    "firefly": 0,
    "renilla": 1,
    "background": false
   },
   "expected": {
    "status": "computed",
    "background": null,
    "nearCheck": "run",
    "renillaBlanks": 6,
    "renillaMedian": null,
    "wells": {
     "A1": {
      "netRenilla": 2050.0,
      "ratio": 2.4878048780487805,
      "fireflyLow": false
     },
     "A2": {
      "netRenilla": 1950.0,
      "ratio": 2.5128205128205128,
      "fireflyLow": false
     },
     "A3": {
      "netRenilla": 2000.0,
      "ratio": 2.5,
      "fireflyLow": false
     },
     "A4": {
      "netRenilla": 2100.0,
      "ratio": 2.4761904761904763,
      "fireflyLow": false
     },
     "B1": {
      "netRenilla": 2050.0,
      "ratio": 1.2682926829268293,
      "fireflyLow": false
     },
     "B2": {
      "netRenilla": 1950.0,
      "ratio": 1.2307692307692308,
      "fireflyLow": false
     },
     "B3": {
      "netRenilla": 1000.0,
      "ratio": 1.3,
      "fireflyLow": false
     }
    },
    "conditions": [
     {
      "compound": "Cpd 1",
      "concentration": 1e-06,
      "n": 2,
      "meanFold": 0.5009738471664406,
      "sdFold": 0.010637898033888985,
      "renillaPercentOfControl": 98.76543209876543
     },
     {
      "compound": "Cpd 1",
      "concentration": 1e-05,
      "n": 1,
      "meanFold": 0.5212083764288689,
      "sdFold": null,
      "renillaPercentOfControl": 49.382716049382715
     }
    ]
   }
  },
  {
   "name": "r06b-eight-and-edge",
   "about": "Eight wells (median 1975), one at exactly 0.5x the median (987.5): not flagged; one at 0.4x (790): flagged",
   "wells": {
    "H1": {
     "role": "blank",
     "f": "100",
     "r": "50"
    },
    "H2": {
     "role": "blank",
     "f": "110",
     "r": "55"
    },
    "H3": {
     "role": "blank",
     "f": "90",
     "r": "45"
    },
    "H4": {
     "role": "blank",
     "f": "105",
     "r": "52"
    },
    "H5": {
     "role": "blank",
     "f": "95",
     "r": "48"
    },
    "H6": {
     "role": "blank",
     "f": "100",
     "r": "50"
    },
    "A1": {
     "role": "positive",
     "f": "5100",
     "r": "2050"
    },
    "A2": {
     "role": "positive",
     "f": "4900",
     "r": "1950"
    },
    "A3": {
     "role": "positive",
     "f": "5000",
     "r": "2000"
    },
    "A4": {
     "role": "positive",
     "f": "5200",
     "r": "2100"
    },
    "B1": {
     "role": "sample",
     "f": "2600",
     "r": "2050",
     "compound": "Cpd 1",
     "concentration": 1e-06
    },
    "B2": {
     "role": "sample",
     "f": "2400",
     "r": "1950",
     "compound": "Cpd 1",
     "concentration": 1e-06
    },
    "C1": {
     "role": "sample",
     "f": "1975",
     "r": "987.5",
     "compound": "Cpd 2",
     "concentration": 1e-05
    },
    "C2": {
     "role": "sample",
     "f": "1580",
     "r": "790",
     "compound": "Cpd 2",
     "concentration": 1e-05
    }
   },
   "choice": {
    "firefly": 0,
    "renilla": 1,
    "background": false
   },
   "expected": {
    "status": "computed",
    "background": null,
    "nearCheck": "run",
    "renillaBlanks": 6,
    "renillaMedian": 1975.0,
    "wells": {
     "A1": {
      "netRenilla": 2050.0,
      "ratio": 2.4878048780487805,
      "fireflyLow": false,
      "renillaFold": 1.0379746835443038,
      "renillaFlag": false
     },
     "A2": {
      "netRenilla": 1950.0,
      "ratio": 2.5128205128205128,
      "fireflyLow": false,
      "renillaFold": 0.9873417721518988,
      "renillaFlag": false
     },
     "A3": {
      "netRenilla": 2000.0,
      "ratio": 2.5,
      "fireflyLow": false,
      "renillaFold": 1.0126582278481013,
      "renillaFlag": false
     },
     "A4": {
      "netRenilla": 2100.0,
      "ratio": 2.4761904761904763,
      "fireflyLow": false,
      "renillaFold": 1.0632911392405062,
      "renillaFlag": false
     },
     "B1": {
      "netRenilla": 2050.0,
      "ratio": 1.2682926829268293,
      "fireflyLow": false,
      "renillaFold": 1.0379746835443038,
      "renillaFlag": false
     },
     "B2": {
      "netRenilla": 1950.0,
      "ratio": 1.2307692307692308,
      "fireflyLow": false,
      "renillaFold": 0.9873417721518988,
      "renillaFlag": false
     },
     "C1": {
      "netRenilla": 987.5,
      "ratio": 2.0,
      "fireflyLow": false,
      "renillaFold": 0.5,
      "renillaFlag": false
     },
     "C2": {
      "netRenilla": 790.0,
      "ratio": 2.0,
      "fireflyLow": false,
      "renillaFold": 0.4,
      "renillaFlag": true
     }
    },
    "conditions": [
     {
      "compound": "Cpd 1",
      "concentration": 1e-06,
      "n": 2,
      "meanFold": 0.5009738471664406,
      "sdFold": 0.010637898033888985,
      "renillaPercentOfControl": 98.76543209876543
     },
     {
      "compound": "Cpd 2",
      "concentration": 1e-05,
      "n": 2,
      "meanFold": 0.8018590406597983,
      "sdFold": 0.0,
      "renillaPercentOfControl": 43.888888888888886
     }
    ]
   }
  },
  {
   "name": "r07a-two-controls",
   "about": "Two control wells with a ratio: no per-condition view",
   "wells": {
    "H1": {
     "role": "blank",
     "f": "100",
     "r": "50"
    },
    "H2": {
     "role": "blank",
     "f": "110",
     "r": "55"
    },
    "H3": {
     "role": "blank",
     "f": "90",
     "r": "45"
    },
    "H4": {
     "role": "blank",
     "f": "105",
     "r": "52"
    },
    "H5": {
     "role": "blank",
     "f": "95",
     "r": "48"
    },
    "H6": {
     "role": "blank",
     "f": "100",
     "r": "50"
    },
    "A1": {
     "role": "positive",
     "f": "5100",
     "r": "2050"
    },
    "A2": {
     "role": "positive",
     "f": "4900",
     "r": "1950"
    },
    "B1": {
     "role": "sample",
     "f": "2600",
     "r": "2050",
     "compound": "Cpd 1",
     "concentration": 1e-06
    },
    "B2": {
     "role": "sample",
     "f": "2400",
     "r": "1950",
     "compound": "Cpd 1",
     "concentration": 1e-06
    },
    "B3": {
     "role": "sample",
     "f": "1300",
     "r": "1000",
     "compound": "Cpd 1",
     "concentration": 1e-05
    },
    "B4": {
     "role": "sample",
     "f": "1100",
     "r": "1050",
     "compound": "Cpd 1",
     "concentration": 1e-05
    }
   },
   "choice": {
    "firefly": 0,
    "renilla": 1,
    "background": false
   },
   "expected": {
    "status": "computed",
    "background": null,
    "nearCheck": "run",
    "renillaBlanks": 6,
    "renillaMedian": null,
    "wells": {
     "A1": {
      "netRenilla": 2050.0,
      "ratio": 2.4878048780487805,
      "fireflyLow": false
     },
     "A2": {
      "netRenilla": 1950.0,
      "ratio": 2.5128205128205128,
      "fireflyLow": false
     },
     "B1": {
      "netRenilla": 2050.0,
      "ratio": 1.2682926829268293,
      "fireflyLow": false
     },
     "B2": {
      "netRenilla": 1950.0,
      "ratio": 1.2307692307692308,
      "fireflyLow": false
     },
     "B3": {
      "netRenilla": 1000.0,
      "ratio": 1.3,
      "fireflyLow": false
     },
     "B4": {
      "netRenilla": 1050.0,
      "ratio": 1.0476190476190477,
      "fireflyLow": false
     }
    },
    "conditions": []
   }
  },
  {
   "name": "r07b-three-controls",
   "about": "Three control wells: the per-condition view",
   "wells": {
    "H1": {
     "role": "blank",
     "f": "100",
     "r": "50"
    },
    "H2": {
     "role": "blank",
     "f": "110",
     "r": "55"
    },
    "H3": {
     "role": "blank",
     "f": "90",
     "r": "45"
    },
    "H4": {
     "role": "blank",
     "f": "105",
     "r": "52"
    },
    "H5": {
     "role": "blank",
     "f": "95",
     "r": "48"
    },
    "H6": {
     "role": "blank",
     "f": "100",
     "r": "50"
    },
    "A1": {
     "role": "positive",
     "f": "5100",
     "r": "2050"
    },
    "A2": {
     "role": "positive",
     "f": "4900",
     "r": "1950"
    },
    "A3": {
     "role": "positive",
     "f": "5000",
     "r": "2000"
    },
    "B1": {
     "role": "sample",
     "f": "2600",
     "r": "2050",
     "compound": "Cpd 1",
     "concentration": 1e-06
    },
    "B2": {
     "role": "sample",
     "f": "2400",
     "r": "1950",
     "compound": "Cpd 1",
     "concentration": 1e-06
    },
    "B3": {
     "role": "sample",
     "f": "1300",
     "r": "1000",
     "compound": "Cpd 1",
     "concentration": 1e-05
    },
    "B4": {
     "role": "sample",
     "f": "1100",
     "r": "1050",
     "compound": "Cpd 1",
     "concentration": 1e-05
    }
   },
   "choice": {
    "firefly": 0,
    "renilla": 1,
    "background": false
   },
   "expected": {
    "status": "computed",
    "background": null,
    "nearCheck": "run",
    "renillaBlanks": 6,
    "renillaMedian": null,
    "wells": {
     "A1": {
      "netRenilla": 2050.0,
      "ratio": 2.4878048780487805,
      "fireflyLow": false
     },
     "A2": {
      "netRenilla": 1950.0,
      "ratio": 2.5128205128205128,
      "fireflyLow": false
     },
     "A3": {
      "netRenilla": 2000.0,
      "ratio": 2.5,
      "fireflyLow": false
     },
     "B1": {
      "netRenilla": 2050.0,
      "ratio": 1.2682926829268293,
      "fireflyLow": false
     },
     "B2": {
      "netRenilla": 1950.0,
      "ratio": 1.2307692307692308,
      "fireflyLow": false
     },
     "B3": {
      "netRenilla": 1000.0,
      "ratio": 1.3,
      "fireflyLow": false
     },
     "B4": {
      "netRenilla": 1050.0,
      "ratio": 1.0476190476190477,
      "fireflyLow": false
     }
    },
    "conditions": [
     {
      "compound": "Cpd 1",
      "concentration": 1e-06,
      "n": 2,
      "meanFold": 0.4997707091341143,
      "sdFold": 0.010612350074088344,
      "renillaPercentOfControl": 100.0
     },
     {
      "compound": "Cpd 1",
      "concentration": 1e-05,
      "n": 2,
      "meanFold": 0.4694846613344133,
      "sdFold": 0.07137816124831467,
      "renillaPercentOfControl": 51.25
     }
    ]
   }
  },
  {
   "name": "r08-mismatch",
   "about": "Blocks of different shape: refused",
   "wells": {
    "H1": {
     "role": "blank",
     "f": "100",
     "r": "50"
    },
    "H2": {
     "role": "blank",
     "f": "110",
     "r": "55"
    },
    "H3": {
     "role": "blank",
     "f": "90",
     "r": "45"
    },
    "H4": {
     "role": "blank",
     "f": "105",
     "r": "52"
    },
    "H5": {
     "role": "blank",
     "f": "95",
     "r": "48"
    },
    "H6": {
     "role": "blank",
     "f": "100",
     "r": "50"
    },
    "A1": {
     "role": "positive",
     "f": "5100",
     "r": "2050"
    },
    "A2": {
     "role": "positive",
     "f": "4900",
     "r": "1950"
    },
    "A3": {
     "role": "positive",
     "f": "5000",
     "r": "2000"
    },
    "A4": {
     "role": "positive",
     "f": "5200",
     "r": "2100"
    },
    "B1": {
     "role": "sample",
     "f": "2600",
     "r": "2050",
     "compound": "Cpd 1",
     "concentration": 1e-06
    },
    "B2": {
     "role": "sample",
     "f": "2400",
     "r": "1950",
     "compound": "Cpd 1",
     "concentration": 1e-06
    },
    "B3": {
     "role": "sample",
     "f": "1300",
     "r": "1000",
     "compound": "Cpd 1",
     "concentration": 1e-05
    },
    "B4": {
     "role": "sample",
     "f": "1100",
     "r": "1050",
     "compound": "Cpd 1",
     "concentration": 1e-05
    }
   },
   "choice": {
    "firefly": 0,
    "renilla": 1,
    "background": false
   },
   "mismatch": true,
   "expected": {
    "status": "refused",
    "reason": "format-mismatch"
   }
  },
  {
   "name": "r09a-unassigned",
   "about": "No pairing: refused",
   "wells": {
    "H1": {
     "role": "blank",
     "f": "100",
     "r": "50"
    },
    "H2": {
     "role": "blank",
     "f": "110",
     "r": "55"
    },
    "H3": {
     "role": "blank",
     "f": "90",
     "r": "45"
    },
    "H4": {
     "role": "blank",
     "f": "105",
     "r": "52"
    },
    "H5": {
     "role": "blank",
     "f": "95",
     "r": "48"
    },
    "H6": {
     "role": "blank",
     "f": "100",
     "r": "50"
    },
    "A1": {
     "role": "positive",
     "f": "5100",
     "r": "2050"
    },
    "A2": {
     "role": "positive",
     "f": "4900",
     "r": "1950"
    },
    "A3": {
     "role": "positive",
     "f": "5000",
     "r": "2000"
    },
    "A4": {
     "role": "positive",
     "f": "5200",
     "r": "2100"
    },
    "B1": {
     "role": "sample",
     "f": "2600",
     "r": "2050",
     "compound": "Cpd 1",
     "concentration": 1e-06
    },
    "B2": {
     "role": "sample",
     "f": "2400",
     "r": "1950",
     "compound": "Cpd 1",
     "concentration": 1e-06
    },
    "B3": {
     "role": "sample",
     "f": "1300",
     "r": "1000",
     "compound": "Cpd 1",
     "concentration": 1e-05
    },
    "B4": {
     "role": "sample",
     "f": "1100",
     "r": "1050",
     "compound": "Cpd 1",
     "concentration": 1e-05
    }
   },
   "choice": null,
   "expected": {
    "status": "refused",
    "reason": "unassigned"
   }
  },
  {
   "name": "r09b-swapped",
   "about": "The channels swapped: every ratio inverted",
   "wells": {
    "H1": {
     "role": "blank",
     "f": "100",
     "r": "50"
    },
    "H2": {
     "role": "blank",
     "f": "110",
     "r": "55"
    },
    "H3": {
     "role": "blank",
     "f": "90",
     "r": "45"
    },
    "H4": {
     "role": "blank",
     "f": "105",
     "r": "52"
    },
    "H5": {
     "role": "blank",
     "f": "95",
     "r": "48"
    },
    "H6": {
     "role": "blank",
     "f": "100",
     "r": "50"
    },
    "A1": {
     "role": "positive",
     "f": "5100",
     "r": "2050"
    },
    "A2": {
     "role": "positive",
     "f": "4900",
     "r": "1950"
    },
    "A3": {
     "role": "positive",
     "f": "5000",
     "r": "2000"
    },
    "A4": {
     "role": "positive",
     "f": "5200",
     "r": "2100"
    },
    "B1": {
     "role": "sample",
     "f": "2600",
     "r": "2050",
     "compound": "Cpd 1",
     "concentration": 1e-06
    },
    "B2": {
     "role": "sample",
     "f": "2400",
     "r": "1950",
     "compound": "Cpd 1",
     "concentration": 1e-06
    },
    "B3": {
     "role": "sample",
     "f": "1300",
     "r": "1000",
     "compound": "Cpd 1",
     "concentration": 1e-05
    },
    "B4": {
     "role": "sample",
     "f": "1100",
     "r": "1050",
     "compound": "Cpd 1",
     "concentration": 1e-05
    }
   },
   "choice": {
    "firefly": 1,
    "renilla": 0,
    "background": false
   },
   "expected": {
    "status": "computed",
    "background": null,
    "nearCheck": "run",
    "renillaBlanks": 6,
    "renillaMedian": 3750.0,
    "wells": {
     "A1": {
      "netRenilla": 5100.0,
      "ratio": 0.4019607843137255,
      "fireflyLow": false,
      "renillaFold": 1.36,
      "renillaFlag": false
     },
     "A2": {
      "netRenilla": 4900.0,
      "ratio": 0.3979591836734694,
      "fireflyLow": false,
      "renillaFold": 1.3066666666666666,
      "renillaFlag": false
     },
     "A3": {
      "netRenilla": 5000.0,
      "ratio": 0.4,
      "fireflyLow": false,
      "renillaFold": 1.3333333333333333,
      "renillaFlag": false
     },
     "A4": {
      "netRenilla": 5200.0,
      "ratio": 0.40384615384615385,
      "fireflyLow": false,
      "renillaFold": 1.3866666666666667,
      "renillaFlag": false
     },
     "B1": {
      "netRenilla": 2600.0,
      "ratio": 0.7884615384615384,
      "fireflyLow": false,
      "renillaFold": 0.6933333333333334,
      "renillaFlag": false
     },
     "B2": {
      "netRenilla": 2400.0,
      "ratio": 0.8125,
      "fireflyLow": false,
      "renillaFold": 0.64,
      "renillaFlag": false
     },
     "B3": {
      "netRenilla": 1300.0,
      "ratio": 0.7692307692307693,
      "fireflyLow": false,
      "renillaFold": 0.3466666666666667,
      "renillaFlag": true
     },
     "B4": {
      "netRenilla": 1100.0,
      "ratio": 0.9545454545454546,
      "fireflyLow": false,
      "renillaFold": 0.29333333333333333,
      "renillaFlag": true
     }
    },
    "conditions": [
     {
      "compound": "Cpd 1",
      "concentration": 1e-06,
      "n": 2,
      "meanFold": 1.9965025032844512,
      "sdFold": 0.042394608370220806,
      "renillaPercentOfControl": 49.504950495049506
     },
     {
      "compound": "Cpd 1",
      "concentration": 1e-05,
      "n": 2,
      "meanFold": 2.149660352976761,
      "sdFold": 0.3268238899813386,
      "renillaPercentOfControl": 23.762376237623762
     }
    ]
   }
  },
  {
   "name": "r10-excluded",
   "about": "An exclusion (B1) removes the well from both channels",
   "wells": {
    "H1": {
     "role": "blank",
     "f": "100",
     "r": "50"
    },
    "H2": {
     "role": "blank",
     "f": "110",
     "r": "55"
    },
    "H3": {
     "role": "blank",
     "f": "90",
     "r": "45"
    },
    "H4": {
     "role": "blank",
     "f": "105",
     "r": "52"
    },
    "H5": {
     "role": "blank",
     "f": "95",
     "r": "48"
    },
    "H6": {
     "role": "blank",
     "f": "100",
     "r": "50"
    },
    "A1": {
     "role": "positive",
     "f": "5100",
     "r": "2050"
    },
    "A2": {
     "role": "positive",
     "f": "4900",
     "r": "1950"
    },
    "A3": {
     "role": "positive",
     "f": "5000",
     "r": "2000"
    },
    "A4": {
     "role": "positive",
     "f": "5200",
     "r": "2100"
    },
    "B1": {
     "role": "sample",
     "f": "2600",
     "r": "2050",
     "compound": "Cpd 1",
     "concentration": 1e-06,
     "excluded": true
    },
    "B2": {
     "role": "sample",
     "f": "2400",
     "r": "1950",
     "compound": "Cpd 1",
     "concentration": 1e-06
    },
    "B3": {
     "role": "sample",
     "f": "1300",
     "r": "1000",
     "compound": "Cpd 1",
     "concentration": 1e-05
    },
    "B4": {
     "role": "sample",
     "f": "1100",
     "r": "1050",
     "compound": "Cpd 1",
     "concentration": 1e-05
    }
   },
   "choice": {
    "firefly": 0,
    "renilla": 1,
    "background": false
   },
   "expected": {
    "status": "computed",
    "background": null,
    "nearCheck": "run",
    "renillaBlanks": 6,
    "renillaMedian": null,
    "wells": {
     "A1": {
      "netRenilla": 2050.0,
      "ratio": 2.4878048780487805,
      "fireflyLow": false
     },
     "A2": {
      "netRenilla": 1950.0,
      "ratio": 2.5128205128205128,
      "fireflyLow": false
     },
     "A3": {
      "netRenilla": 2000.0,
      "ratio": 2.5,
      "fireflyLow": false
     },
     "A4": {
      "netRenilla": 2100.0,
      "ratio": 2.4761904761904763,
      "fireflyLow": false
     },
     "B2": {
      "netRenilla": 1950.0,
      "ratio": 1.2307692307692308,
      "fireflyLow": false
     },
     "B3": {
      "netRenilla": 1000.0,
      "ratio": 1.3,
      "fireflyLow": false
     },
     "B4": {
      "netRenilla": 1050.0,
      "ratio": 1.0476190476190477,
      "fireflyLow": false
     }
    },
    "conditions": [
     {
      "compound": "Cpd 1",
      "concentration": 1e-06,
      "n": 1,
      "meanFold": 0.4934517173291066,
      "sdFold": null,
      "renillaPercentOfControl": 96.29629629629629
     },
     {
      "compound": "Cpd 1",
      "concentration": 1e-05,
      "n": 2,
      "meanFold": 0.4706148893396197,
      "sdFold": 0.07154999560936427,
      "renillaPercentOfControl": 50.617283950617285
     }
    ]
   }
  },
  {
   "name": "r11-mean-of-ratios",
   "about": "Ratio of means differs from mean of ratios: the mean of well ratios is used",
   "wells": {
    "H1": {
     "role": "blank",
     "f": "100",
     "r": "50"
    },
    "H2": {
     "role": "blank",
     "f": "110",
     "r": "55"
    },
    "H3": {
     "role": "blank",
     "f": "90",
     "r": "45"
    },
    "H4": {
     "role": "blank",
     "f": "105",
     "r": "52"
    },
    "H5": {
     "role": "blank",
     "f": "95",
     "r": "48"
    },
    "H6": {
     "role": "blank",
     "f": "100",
     "r": "50"
    },
    "A1": {
     "role": "positive",
     "f": "5100",
     "r": "2050"
    },
    "A2": {
     "role": "positive",
     "f": "4900",
     "r": "1950"
    },
    "A3": {
     "role": "positive",
     "f": "5000",
     "r": "2000"
    },
    "A4": {
     "role": "positive",
     "f": "5200",
     "r": "2100"
    },
    "B1": {
     "role": "sample",
     "f": "2600",
     "r": "2050",
     "compound": "Cpd 1",
     "concentration": 1e-06
    },
    "B2": {
     "role": "sample",
     "f": "2400",
     "r": "1950",
     "compound": "Cpd 1",
     "concentration": 1e-06
    },
    "B3": {
     "role": "sample",
     "f": "1300",
     "r": "1000",
     "compound": "Cpd 1",
     "concentration": 1e-05
    },
    "B4": {
     "role": "sample",
     "f": "1100",
     "r": "1050",
     "compound": "Cpd 1",
     "concentration": 1e-05
    },
    "C1": {
     "role": "sample",
     "f": "1000",
     "r": "100",
     "compound": "Cpd 3",
     "concentration": 1e-06
    },
    "C2": {
     "role": "sample",
     "f": "3000",
     "r": "3000",
     "compound": "Cpd 3",
     "concentration": 1e-06
    }
   },
   "choice": {
    "firefly": 0,
    "renilla": 1,
    "background": false
   },
   "expected": {
    "status": "computed",
    "background": null,
    "nearCheck": "run",
    "renillaBlanks": 6,
    "renillaMedian": 1975.0,
    "wells": {
     "A1": {
      "netRenilla": 2050.0,
      "ratio": 2.4878048780487805,
      "fireflyLow": false,
      "renillaFold": 1.0379746835443038,
      "renillaFlag": false
     },
     "A2": {
      "netRenilla": 1950.0,
      "ratio": 2.5128205128205128,
      "fireflyLow": false,
      "renillaFold": 0.9873417721518988,
      "renillaFlag": false
     },
     "A3": {
      "netRenilla": 2000.0,
      "ratio": 2.5,
      "fireflyLow": false,
      "renillaFold": 1.0126582278481013,
      "renillaFlag": false
     },
     "A4": {
      "netRenilla": 2100.0,
      "ratio": 2.4761904761904763,
      "fireflyLow": false,
      "renillaFold": 1.0632911392405062,
      "renillaFlag": false
     },
     "B1": {
      "netRenilla": 2050.0,
      "ratio": 1.2682926829268293,
      "fireflyLow": false,
      "renillaFold": 1.0379746835443038,
      "renillaFlag": false
     },
     "B2": {
      "netRenilla": 1950.0,
      "ratio": 1.2307692307692308,
      "fireflyLow": false,
      "renillaFold": 0.9873417721518988,
      "renillaFlag": false
     },
     "B3": {
      "netRenilla": 1000.0,
      "ratio": 1.3,
      "fireflyLow": false,
      "renillaFold": 0.5063291139240507,
      "renillaFlag": false
     },
     "B4": {
      "netRenilla": 1050.0,
      "ratio": 1.0476190476190477,
      "fireflyLow": false,
      "renillaFold": 0.5316455696202531,
      "renillaFlag": false
     },
     "C1": {
      "netRenilla": 100.0,
      "ratio": 10.0,
      "fireflyLow": false,
      "renillaFold": 0.05063291139240506,
      "renillaFlag": true
     },
     "C2": {
      "netRenilla": 3000.0,
      "ratio": 1.0,
      "fireflyLow": false,
      "renillaFold": 1.518987341772152,
      "renillaFlag": false
     }
    },
    "conditions": [
     {
      "compound": "Cpd 1",
      "concentration": 1e-06,
      "n": 2,
      "meanFold": 0.5009738471664406,
      "sdFold": 0.010637898033888985,
      "renillaPercentOfControl": 98.76543209876543
     },
     {
      "compound": "Cpd 1",
      "concentration": 1e-05,
      "n": 2,
      "meanFold": 0.4706148893396197,
      "sdFold": 0.07154999560936427,
      "renillaPercentOfControl": 50.617283950617285
     },
     {
      "compound": "Cpd 3",
      "concentration": 1e-06,
      "n": 2,
      "meanFold": 2.2051123618144453,
      "sdFold": 2.5514998434282727,
      "renillaPercentOfControl": 76.54320987654322
     }
    ]
   }
  }
 ]
}
