{
  "about": {
    "method": "standard-curve-interpolation (4PL)",
    "recordedOn": "2026-10-12",
    "script": "pipeline/assay-analyser/oracles/calibration_4pl_scipy_v2.py",
    "scriptSha256": "50c05bf6ed63f8675da5ec540705bd5c89238feeb647622f2f16492525fe7b14",
    "movedFrom": "docs/reviews/2026-10-09-scientific-continuity/calibration-oracle.py",
    "origin": "Original synthetic data (a known logistic plus a fixed noise vector), not experimental or manufacturer validation",
    "tolerances": {
      "model": "top, bottom, logMidpoint and hill within 2e-5 absolute (logMidpoint is a log10, so absolute)",
      "fittedResponses": "within 2e-5 absolute",
      "concentrations": "within 5e-5 relative (floor 1e-6)",
      "status": "exact"
    },
    "computedBy": {
      "script": "pipeline/assay-analyser/oracles/calibration_4pl_scipy.py",
      "sha256": "55dd595390e7876482d2b35624c9eff42cabef045ac0654c8c1899b8d9dc5f9e",
      "lineage": "pipeline/assay-analyser/oracles/lineage.py",
      "lineageSha256": "e122fc0c22e32c739645d7866e9a4c723c5d4279f7c08f4f7e548ad194005d27",
      "note": "the base script run by the wrapper in a temporary copy of its directory, never in place"
    },
    "environment": {
      "image": "ghcr.io/biotechmat/drybench/oracle-env:11b8a5e4456df7eb@sha256:7e69891ca1d9f24838660e0a9887bdb654ce7771d2f2ac7e7275e9b1eb3b6a09",
      "r": "R version 4.4.3 (2025-02-28)",
      "packages": {},
      "python": "3.11.15",
      "numpy": "2.0.2",
      "scipy": "1.13.1",
      "recordedOn": "2026-10-12",
      "cpu": "AMD EPYC 7763 64-Core Processor",
      "cpuClass": "x86-64-v3",
      "simd": [
        "SSSE3",
        "SSE41",
        "POPCNT",
        "SSE42",
        "AVX",
        "F16C",
        "FMA3",
        "AVX2"
      ],
      "openblasCore": "Haswell",
      "threads": 1
    },
    "basedOn": {
      "file": "pipeline/assay-analyser/oracles/fixtures/calibration-4pl-scipy.json",
      "version": "0.4.0",
      "sha256": "a39ce2db4d4030bcdbc1843a369f0dbabaa68933b2e4a31f7101809f7bcf174a",
      "script": "pipeline/assay-analyser/oracles/calibration_4pl_scipy.py",
      "scriptSha256": "55dd595390e7876482d2b35624c9eff42cabef045ac0654c8c1899b8d9dc5f9e",
      "environment": "not recorded",
      "classes": {
        "rules": [
          {
            "pattern": "^cases\\[\\d+\\]\\.model\\.(top|bottom)$",
            "class": "span"
          },
          {
            "pattern": "^cases\\[\\d+\\]\\.model\\.(logMidpoint|hill)$",
            "class": "one"
          },
          {
            "pattern": "^cases\\[\\d+\\]\\.rss$",
            "class": "rss"
          },
          {
            "pattern": "^cases\\[\\d+\\]\\.(fittedStandardResponses|testedRangeFittedResponses)\\[\\d+\\]$",
            "class": "span"
          },
          {
            "pattern": "^cases\\[\\d+\\]\\.unknowns\\[\\d+\\]\\.(concentration|originalConcentration)$",
            "class": "conc"
          },
          {
            "pattern": "^cases\\[\\d+\\]\\.unknowns\\[[34]\\]\\.response$",
            "class": "span"
          }
        ],
        "default": "exact",
        "spanFrom": "standardResponses",
        "scales": "span: max - min of the case's spanFrom values; rss: 1e-20 x their sum of squares; one: 1; conc: 1e-6",
        "tolerance": 1e-08,
        "thresholdTolerance": 1e-10,
        "illConditioned": [],
        "illTolerance": 1e-06,
        "illRssTolerance": 1e-12,
        "ruling": "docs/board/memos/2026-10-12-cso-lineage-tolerance-under-the-cpu-pin.md"
      },
      "agreement": {
        "exact": {
          "largestScaledDifference": 0.0,
          "where": "cases[0].standardConcentrations[0]",
          "tolerance": 0.0
        },
        "span": {
          "largestScaledDifference": 5.475329062100682e-11,
          "where": "cases[1].fittedStandardResponses[5]",
          "tolerance": 1e-08
        },
        "one": {
          "largestScaledDifference": 2.0277520411169326e-10,
          "where": "cases[1].model.hill",
          "tolerance": 1e-08
        },
        "rss": {
          "largestScaledDifference": 2.6475623316727878e-14,
          "where": "cases[1].rss",
          "tolerance": 1e-08
        },
        "conc": {
          "largestScaledDifference": 2.751482012878041e-10,
          "where": "cases[1].unknowns[0].concentration",
          "tolerance": 1e-08
        }
      }
    }
  },
  "oracle": {
    "engine": "scipy.optimize.curve_fit",
    "scipy": "1.13.1",
    "numpy": "2.0.2",
    "python": "3.11.15",
    "method": "lm (unbounded Levenberg-Marquardt); unweighted on concentration-level responses; three initial midpoints, lowest residual sum of squares"
  },
  "cases": [
    {
      "name": "increasing",
      "standardConcentrations": [
        0.01,
        0.03162277660168379,
        0.1,
        0.31622776601683794,
        1.0,
        3.1622776601683795,
        10.0,
        31.622776601683793,
        100.0
      ],
      "standardResponses": [
        0.12695531234447838,
        0.1336653682675682,
        0.18511321668075556,
        0.3422940296025976,
        0.8138264034205124,
        1.5712148039192821,
        2.109059759754785,
        2.3221185245830713,
        2.378394081076814
      ],
      "model": {
        "bottom": 0.12114868580472157,
        "top": 2.398617232816636,
        "logMidpoint": 0.29897656401130535,
        "hill": 1.203437745544899
      },
      "rss": 6.036000136080441e-05,
      "fittedStandardResponses": [
        0.12503944761060803,
        0.13662030297362707,
        0.18175274567943053,
        0.3454844346891267,
        0.8134280852624174,
        1.5690886384138607,
        2.1130952099884923,
        2.319768765838671,
        2.3783638694694083
      ],
      "testedRangeFittedResponses": [
        0.12503944761060803,
        2.3783638694694083
      ],
      "unknowns": [
        {
          "label": "unknown-0",
          "response": 0.4,
          "dilutionFactor": 1,
          "status": "interpolated",
          "concentration": 0.38744967495025645,
          "originalConcentration": 0.38744967495025645
        },
        {
          "label": "unknown-1",
          "response": 1.1,
          "dilutionFactor": 2,
          "status": "interpolated",
          "concentration": 1.5738564224571805,
          "originalConcentration": 3.147712844914361
        },
        {
          "label": "unknown-2",
          "response": 1.8,
          "dilutionFactor": 10,
          "status": "interpolated",
          "concentration": 4.689533123486151,
          "originalConcentration": 46.89533123486151
        },
        {
          "label": "out-of-range-0",
          "response": 0.07503944761060803,
          "dilutionFactor": 1,
          "status": "below-range",
          "concentration": null,
          "originalConcentration": null
        },
        {
          "label": "out-of-range-1",
          "response": 2.388490551143022,
          "dilutionFactor": 1,
          "status": "above-range",
          "concentration": null,
          "originalConcentration": null
        }
      ]
    },
    {
      "name": "decreasing",
      "standardConcentrations": [
        0.01,
        0.03162277660168379,
        0.1,
        0.31622776601683794,
        1.0,
        3.1622776601683795,
        10.0,
        31.622776601683793,
        100.0
      ],
      "standardResponses": [
        2.3990446876555214,
        2.382334631732432,
        2.342886783319244,
        2.171705970397402,
        1.708173596579487,
        0.9567851960807177,
        0.40494024024521447,
        0.2018814754169287,
        0.13960591892318638
      ],
      "model": {
        "bottom": 0.11862238927965725,
        "top": 2.4011483008137597,
        "logMidpoint": 0.301017502125415,
        "hill": -1.196605411787114
      },
      "rss": 6.040266494521654e-05,
      "fittedStandardResponses": [
        2.397128170425271,
        2.3852891334220705,
        2.3395277648492123,
        2.1749025612261454,
        1.7077757569475056,
        0.954642403804091,
        0.40897216429898825,
        0.19953785381653633,
        0.1395826914803316
      ],
      "testedRangeFittedResponses": [
        2.397128170425271,
        0.1395826914803316
      ],
      "unknowns": [
        {
          "label": "unknown-0",
          "response": 0.4,
          "dilutionFactor": 1,
          "status": "interpolated",
          "concentration": 10.304408986149609,
          "originalConcentration": 10.304408986149609
        },
        {
          "label": "unknown-1",
          "response": 1.1,
          "dilutionFactor": 2,
          "status": "interpolated",
          "concentration": 2.53152732407732,
          "originalConcentration": 5.06305464815464
        },
        {
          "label": "unknown-2",
          "response": 1.8,
          "dilutionFactor": 10,
          "status": "interpolated",
          "concentration": 0.846691423246073,
          "originalConcentration": 8.46691423246073
        },
        {
          "label": "out-of-range-0",
          "response": 2.447128170425271,
          "dilutionFactor": 1,
          "status": "below-range",
          "concentration": null,
          "originalConcentration": null
        },
        {
          "label": "out-of-range-1",
          "response": 0.1291025403799944,
          "dilutionFactor": 1,
          "status": "above-range",
          "concentration": null,
          "originalConcentration": null
        }
      ]
    }
  ]
}
