{
  "about": {
    "method": "standard-curve-interpolation (4PL)",
    "recordedOn": "2026-10-10",
    "script": "pipeline/assay-analyser/oracles/calibration_4pl_scipy.py",
    "scriptSha256": "55dd595390e7876482d2b35624c9eff42cabef045ac0654c8c1899b8d9dc5f9e",
    "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"
    }
  },
  "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.12114868573342376,
        "top": 2.39861723284491,
        "logMidpoint": 0.2989765639727681,
        "hill": 1.2034377454256096
      },
      "rss": 6.0360001360805604e-05,
      "fittedStandardResponses": [
        0.1250394475423478,
        0.13662030291223973,
        0.1817527456381297,
        0.34548443469361617,
        0.8134280853124114,
        1.5690886384330658,
        2.1130952099828653,
        2.319768765846515,
        2.378363869489561
      ],
      "testedRangeFittedResponses": [
        0.1250394475423478,
        2.378363869489561
      ],
      "unknowns": [
        {
          "label": "unknown-0",
          "response": 0.4,
          "dilutionFactor": 1,
          "status": "interpolated",
          "concentration": 0.38744967493078547,
          "originalConcentration": 0.38744967493078547
        },
        {
          "label": "unknown-1",
          "response": 1.1,
          "dilutionFactor": 2,
          "status": "interpolated",
          "concentration": 1.5738564223476637,
          "originalConcentration": 3.1477128446953273
        },
        {
          "label": "unknown-2",
          "response": 1.8,
          "dilutionFactor": 10,
          "status": "interpolated",
          "concentration": 4.689533123449792,
          "originalConcentration": 46.89533123449792
        },
        {
          "label": "out-of-range-0",
          "response": 0.0750394475423478,
          "dilutionFactor": 1,
          "status": "below-range",
          "concentration": null,
          "originalConcentration": null
        },
        {
          "label": "out-of-range-1",
          "response": 2.3884905511672354,
          "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.11862238919893445,
        "top": 2.401148300816673,
        "logMidpoint": 0.30101750220412626,
        "hill": -1.1966054115444722
      },
      "rss": 6.040266494521814e-05,
      "fittedStandardResponses": [
        2.3971281704237484,
        2.385289133411971,
        2.339527764819289,
        2.174902561173756,
        1.7077757569485181,
        0.9546424039278028,
        0.40897216438282813,
        0.19953785380798644,
        0.13958269142459417
      ],
      "testedRangeFittedResponses": [
        2.3971281704237484,
        0.13958269142459417
      ],
      "unknowns": [
        {
          "label": "unknown-0",
          "response": 0.4,
          "dilutionFactor": 1,
          "status": "interpolated",
          "concentration": 10.304408988984848,
          "originalConcentration": 10.304408988984848
        },
        {
          "label": "unknown-1",
          "response": 1.1,
          "dilutionFactor": 2,
          "status": "interpolated",
          "concentration": 2.5315273244878465,
          "originalConcentration": 5.063054648975693
        },
        {
          "label": "unknown-2",
          "response": 1.8,
          "dilutionFactor": 10,
          "status": "interpolated",
          "concentration": 0.8466914232214128,
          "originalConcentration": 8.466914232214128
        },
        {
          "label": "out-of-range-0",
          "response": 2.447128170423748,
          "dilutionFactor": 1,
          "status": "below-range",
          "concentration": null,
          "originalConcentration": null
        },
        {
          "label": "out-of-range-1",
          "response": 0.12910254031176432,
          "dilutionFactor": 1,
          "status": "above-range",
          "concentration": null,
          "originalConcentration": null
        }
      ]
    }
  ]
}
