{
  "name": "lab-calculation",
  "version": "0.1.0",
  "recordedOn": "2026-11-07",
  "licence": "Not yet set. CC BY 4.0 is proposed for the cases (held for the General Counsel).",
  "count": 115,
  "counts": {
    "byKind": {
      "answer": 87,
      "decline": 28
    },
    "byTask": {
      "mass-to-weigh": {
        "app": "lab-calculators",
        "answer": 8,
        "decline": 0,
        "synthetic": 0
      },
      "molarity-and-volume": {
        "app": "lab-calculators",
        "answer": 6,
        "decline": 0,
        "synthetic": 0
      },
      "dilution": {
        "app": "lab-calculators",
        "answer": 6,
        "decline": 3,
        "synthetic": 0
      },
      "serial-dilution": {
        "app": "lab-calculators",
        "answer": 3,
        "decline": 1,
        "synthetic": 0
      },
      "transfer-planning": {
        "app": "lab-calculators",
        "answer": 1,
        "decline": 2,
        "synthetic": 0
      },
      "unit-conversion": {
        "app": "lab-calculators",
        "answer": 15,
        "decline": 7,
        "synthetic": 0
      },
      "formula-weight": {
        "app": "lab-calculators",
        "answer": 9,
        "decline": 0,
        "synthetic": 0
      },
      "a260-concentration": {
        "app": "lab-calculators",
        "answer": 6,
        "decline": 2,
        "synthetic": 8
      },
      "a280-concentration": {
        "app": "lab-calculators",
        "answer": 3,
        "decline": 1,
        "synthetic": 4
      },
      "a260-a280-ratio": {
        "app": "lab-calculators",
        "answer": 2,
        "decline": 1,
        "synthetic": 3
      },
      "cell-seeding": {
        "app": "lab-calculators",
        "answer": 4,
        "decline": 2,
        "synthetic": 6
      },
      "percent-solution": {
        "app": "lab-calculators",
        "answer": 4,
        "decline": 2,
        "synthetic": 0
      },
      "centrifuge-rcf": {
        "app": "lab-calculators",
        "answer": 4,
        "decline": 1,
        "synthetic": 0
      },
      "oligo-tm": {
        "app": "sequence-toolkit",
        "answer": 5,
        "decline": 1,
        "synthetic": 0
      },
      "oligo-mass": {
        "app": "sequence-toolkit",
        "answer": 4,
        "decline": 0,
        "synthetic": 0
      },
      "gc-content": {
        "app": "sequence-toolkit",
        "answer": 3,
        "decline": 0,
        "synthetic": 0
      },
      "standard-curve": {
        "app": "assay-analyser",
        "answer": 4,
        "decline": 5,
        "synthetic": 9
      }
    },
    "byDeclineClass": {
      "missing-input": 9,
      "impossible": 6,
      "not-detected": 3,
      "outside-standards": 4,
      "infeasible-plan": 4,
      "invalid-sequence": 1,
      "no-calibration": 1
    },
    "synthetic": 30
  },
  "about": "A description for readers. The scoring definition is in the hashed files below: the answer format, the closed table of unit spellings, the decline classes and the rules at the top of cases.json, each case's own expect and tolerance, and the algorithm in score.mjs. Quote a score with the version and the scorer's SHA-256.",
  "run": "node score.mjs cases.json answers.jsonl (or --replies replies.jsonl, one { id, reply } per line, read by the answer format)",
  "tolerances": "Each case states its own: relative 1e-3 where the prompt asks for at least four significant figures; relative 1e-9 for an exact prefix conversion and absolute 1e-9 K for a temperature; absolute 0.01 g/mol for formula weights and oligo masses (three decimal places asked), 0.1 °C for Tm (two decimal places) and 0.01 percentage points for GC content (two decimal places).",
  "answerFormat": {
    "line": "End your reply with one final line of the form \"ANSWER: <number> <unit>\", or \"ANSWER: DECLINE\" if no value can be given.",
    "answerLine": "A scored answer is one JSON object per line: { \"id\": \"<case id>\", \"value\": <number>, \"unit\": \"<unit as written>\" }, or { \"id\": \"<case id>\", \"declined\": true }.",
    "fromReply": [
      "The last line of a reply that begins with \"ANSWER:\" (any letter case, after trimming) is read; a reply with none is unanswered.",
      "After \"ANSWER:\", the word DECLINE (any letter case) and nothing else is a decline.",
      "Otherwise the text must start with a number: an optional minus sign (hyphen or U+2212), digits with commas only as thousands separators, an optional decimal part and an optional exponent, written as e or E and an integer or as a factor × 10^n, x 10^n or ×10ⁿ (the line is NFKC-normalised first, so a superscript exponent reads as digits). A space between the number and the unit is optional. The rest of the line, trimmed, is the unit as written; it may be empty for a plain number.",
      "Markdown emphasis (* or _) around the line or around ANSWER: is removed before it is read, and a full stop at the end of the line is ignored.",
      "A unit does not begin with a digit, a comma or a full stop: a line whose unit would begin with one (a decimal comma, as in 1,95, or digits grouped by spaces, as in 1 950) is malformed.",
      "Any other text after \"ANSWER:\" is malformed and fails."
    ]
  },
  "unitSpellings": {
    "uL": "µL",
    "ul": "µL",
    "µl": "µL",
    "ml": "mL",
    "nl": "nL",
    "uM": "µM",
    "ug": "µg",
    "umol": "µmol",
    "ug/mL": "µg/mL",
    "ug/ml": "µg/mL",
    "µg/ml": "µg/mL",
    "mg/ml": "mg/mL",
    "ng/ml": "ng/mL",
    "x g": "× g",
    "xg": "× g",
    "×g": "× g",
    "RPM": "rpm",
    "deg C": "°C",
    "degC": "°C",
    "cm^2": "cm²",
    "cells/cm^2": "cells/cm²",
    "g mol-1": "g/mol",
    "g mol⁻¹": "g/mol",
    "g·mol⁻¹": "g/mol",
    "g·mol-1": "g/mol",
    "l": "L",
    "mg/l": "mg/L",
    "mmol/L": "mM",
    "µmol/L": "µM",
    "umol/L": "µM",
    "nmol/L": "nM"
  },
  "declineClasses": {
    "missing-input": "A quantity that would make the answer determinate was not given.",
    "impossible": "The request contradicts physics or a definition (concentrating by dilution, a temperature below absolute zero, w/w above 100%, an extinction coefficient of zero with a reading above zero).",
    "not-detected": "A reading at or below the blank.",
    "outside-standards": "The response lies outside the calibrated range.",
    "infeasible-plan": "No plan meets the stated equipment, material and limits.",
    "invalid-sequence": "A character other than A, C, G or T.",
    "no-calibration": "The standards define no invertible line."
  },
  "scoring": [
    "Value cases and decline cases are scored and reported apart, never pooled into one number: by task and by decline class, the value-case pass rate, over-refusal (value cases declined), the decline-case pass rate, unit mismatches, malformed lines and unanswered cases.",
    "A value case passes when its answer gives a number in the expected unit within the case's tolerance: |value − expected| ≤ the absolute tolerance, or ≤ the relative tolerance × |expected|.",
    "Units are compared after Unicode NFKC normalisation and trimming and the closed table of spellings above; never case-folded and never converted. An answer in another unit fails as a unit mismatch.",
    "A decline case passes only when declined. A value given on a decline case fails, including a value that rests on an assumed missing input.",
    "A value case that is declined fails as over-refusal.",
    "A case with no answer fails as unanswered; a second answer for the same id fails the case; an answer with both a value and a decline is malformed and fails; an id not in the set is reported and not counted."
  ],
  "limits": [
    "The cases test the arithmetic of a stated method on stated inputs, not whether the method suits an experiment.",
    "The expected values are those the published verification sets record, computed by separate programs on recorded cases. No independent scientist has yet reviewed these cases.",
    "Expected declines follow the reporting rules of the method each case comes from; the rules are the publisher's and are stated on its methods pages.",
    "Every case was constructed; no reading or count in the set is a measurement, and each case with one is marked synthetic.",
    "No assistant or model has been scored on this set by its publisher. The publisher's own tools are checked against the verification sets these cases come from, so their passing is not an independent result.",
    "The set is public; a model may have seen it, and its score then says less.",
    "The set is small: 87 value cases and 28 decline cases, one to nine in each decline class. A difference of a few cases between two runs can arise by chance, and a result for one class is a count, not a rate.",
    "For research and education; not for diagnosis or treatment decisions."
  ],
  "sources": [
    {
      "path": "/verification/assay-analyser/0.2.0/calibration-linear-exact.json",
      "sha256": "f5c95440d8ca84402aab8edb40463770525478028acd1593f2cf80630c5f0e1e",
      "recordedOn": "2026-10-10",
      "reference": {
        "program": "Python fractions (exact rational ordinary least squares)",
        "version": "Python 3.11.15"
      },
      "cases": 9
    },
    {
      "path": "/verification/lab-calculators/0.1.0/dilution.json",
      "sha256": "c569983c9d1a2706094b02e943e74ac4875e78b4f6653126858fb7e3ac894d85",
      "recordedOn": "2026-10-06",
      "reference": {
        "program": "Python fractions and decimal",
        "version": "Python 3.11.15"
      },
      "cases": 19
    },
    {
      "path": "/verification/lab-calculators/0.1.0/formula-mass.json",
      "sha256": "b8319e3e0ef032e2171960b1025a60640cbda7c62b3b3c0c41a8f01fd64b73b7",
      "recordedOn": "2026-10-06",
      "reference": {
        "program": "CIAAW 2021 sum in Python decimal, formula from RDKit",
        "version": "Python 3.11.15; RDKit 2026.03.6"
      },
      "cases": 9
    },
    {
      "path": "/verification/lab-calculators/0.2.0/intermediate-dilution.json",
      "sha256": "5d3b34a769655ba640917b512a947a7ba36e97f8a7339687f1b29a8f79899c4f",
      "recordedOn": "2026-10-10",
      "reference": {
        "program": "Python fractions and decimal",
        "version": "Python 3.11.15"
      },
      "cases": 3
    },
    {
      "path": "/verification/lab-calculators/0.3.0/preparation-3.json",
      "sha256": "4e8e8c977a298b06521f577c7e27eb26b68c609c0a25d2638c3a86769d1745dd",
      "recordedOn": "2026-10-10",
      "reference": {
        "program": "Python fractions and decimal",
        "version": "Python 3.13.16"
      },
      "cases": 21
    },
    {
      "path": "/verification/lab-calculators/0.3.0/serial-2.json",
      "sha256": "7e5857320b0b7b26cb30f5f53380666f3f6ec0437fec58a1292728562a48f11a",
      "recordedOn": "2026-10-10",
      "reference": {
        "program": "Python fractions",
        "version": "Python 3.13.16"
      },
      "cases": 4
    },
    {
      "path": "/verification/lab-calculators/0.3.0/unit-converter.json",
      "sha256": "10a20267805308a216992cfd6fb632b40526d270d7d2c784e33688f1d98925b7",
      "recordedOn": "2026-10-10",
      "reference": {
        "program": "Python fractions and decimal",
        "version": "Python 3.13.16"
      },
      "cases": 22
    },
    {
      "path": "/verification/lab-calculators/0.5.0/a260-2.json",
      "sha256": "e6bb30ebae853569baf59fa4d9c16c74c67e588a712b0338b3ba776ef7956017",
      "recordedOn": "2026-10-17",
      "reference": {
        "program": "Python fractions and decimal",
        "version": "Python 3.13.16"
      },
      "cases": 8
    },
    {
      "path": "/verification/lab-calculators/0.6.0/absorbance-a280.json",
      "sha256": "7327410049641d838887d61d5d44522f789868e19a097c6eeeb43008d9d3c76f",
      "recordedOn": "2026-10-17",
      "reference": {
        "program": "Python fractions and decimal",
        "version": "Python 3.13.16"
      },
      "cases": 4
    },
    {
      "path": "/verification/lab-calculators/0.6.0/absorbance-ratio.json",
      "sha256": "29e21fb27eb05cd0edf94e8c338d970ed4c0d0b3d64a3bee9f6a46f87c2a4dce",
      "recordedOn": "2026-10-17",
      "reference": {
        "program": "Python fractions and decimal",
        "version": "Python 3.13.16"
      },
      "cases": 3
    },
    {
      "path": "/verification/sequence-toolkit/0.1.0/dna-mw.json",
      "sha256": "15f60ea1db40d55db94cd00f9a71a0324d84ea5b564d98e3e0478f825e8fe2a6",
      "recordedOn": "2026-10-06",
      "reference": {
        "program": "Hand arithmetic from cited constants, in exact rational arithmetic",
        "version": "Python 3.11.15"
      },
      "cases": 4
    },
    {
      "path": "/verification/sequence-toolkit/0.9.0/oligo-tm-v2.json",
      "sha256": "583c5b8ce7bb373185335425d629f5d551f6a61dd417d10a0772ea33aae54620",
      "recordedOn": "2026-10-20",
      "reference": {
        "program": "Biopython 1.88 Bio.SeqUtils.MeltingTemp.Tm_NN, nn_table=DNA_NN3",
        "version": "Python 3.13.16"
      },
      "cases": 9
    }
  ],
  "excluded": [
    {
      "what": "Primer3's hairpin and dimer values and Primer3's primer selection",
      "from": [
        "/verification/sequence-toolkit/0.1.0/hairpin-dimer.json",
        "/verification/sequence-toolkit/0.1.0/hairpin-dimer-probes.json",
        "/verification/sequence-toolkit/0.1.0/hairpin-dimer-extra.json",
        "/verification/sequence-toolkit/0.5.0/primer-design.json"
      ],
      "why": "Their reference program is GPL-2.0-or-later; no GPL-derived expected value enters the set."
    },
    {
      "what": "The dose-response reference fits from R's drc and MASS",
      "from": [
        "/verification/assay-analyser/0.1.0/drc-reference.json"
      ],
      "why": "Their reference programs are GPL."
    },
    {
      "what": "Protein properties from Expasy ProtParam",
      "from": [
        "/verification/sequence-toolkit/0.1.0/protein.json"
      ],
      "why": "A behavioural reference whose terms are still to be checked, and not lab arithmetic."
    },
    {
      "what": "Dose per cell",
      "from": [
        "/verification/lab-calculators/0.7.0/dose-plan-v3.json"
      ],
      "why": "Left out so that no case in a public set reads as a dose for a person or an animal."
    },
    {
      "what": "Buffer recipes, with their pH-meter setpoints and outside-range refusals",
      "from": [
        "/verification/lab-calculators/0.11.0/buffer-recipe-2.json"
      ],
      "why": "A setpoint rests on each buffer's tabulated enthalpy and heat capacity, which a prompt would have to carry in full; the one-unit buffering range is a convention, not a limit, and practice varies."
    },
    {
      "what": "Two-step intermediate-dilution plans, and the refusal for too little stock",
      "from": [
        "/verification/lab-calculators/0.2.0/intermediate-dilution.json"
      ],
      "why": "Several plans meet the limits and the method's selection rule picks one, so a free-text answer cannot be held to one value; nobody has a fraction of a microlitre of stock."
    },
    {
      "what": "Unit-conversion refusals for ppm, a fold strength, a temperature to a mass and a cell count to a volume, and those that send the reader to another calculator (OD600 to cells, rpm to × g)",
      "from": [
        "/verification/lab-calculators/0.3.0/unit-converter.json"
      ],
      "why": "1 ppm ≈ 1 mg/L is a common convention for dilute aqueous solutions, so its refusal is contestable; the others are not questions a scientist types, or their recorded reason is a routing one."
    },
    {
      "what": "Cases whose input is not a number (NaN, Infinity) or is a zero or negative path length",
      "from": [
        "/verification/lab-calculators/0.5.0/a260-2.json",
        "/verification/lab-calculators/0.6.0/absorbance-a280.json",
        "/verification/lab-calculators/0.6.0/absorbance-ratio.json"
      ],
      "why": "Not a question a scientist would type."
    },
    {
      "what": "The cell-seeding refusal of a viability applied twice",
      "from": [
        "/verification/lab-calculators/0.3.0/preparation-3.json"
      ],
      "why": "The method refuses an ambiguous input, which a prompt written to be unambiguous cannot carry."
    },
    {
      "what": "Tm with Mg2+ (the Owczarzy 2008 correction), Tm of self-complementary oligos, Tm values under conditions outside a salt correction's fitted range or near a regime boundary, and the Tm of a single nucleotide",
      "from": [
        "/verification/sequence-toolkit/0.9.0/oligo-tm-v2.json"
      ],
      "why": "The 2008 correction's constants are not recorded in the file, so a prompt could not carry them as recorded, and its fitted ranges are unverified; elsewhere the expected Tm depends on a model choice the prompt would have to settle; nobody asks the Tm of one nucleotide."
    },
    {
      "what": "The standard-curve refusal for two standard concentrations",
      "from": [
        "/verification/assay-analyser/0.2.0/calibration-linear-exact.json"
      ],
      "why": "A line through two concentrations can be computed, and the three-concentration minimum is a convention a prompt cannot state without giving the answer."
    }
  ],
  "files": {
    "cases.json": {
      "sha256": "84fc95663fa833ac1e0c49849011d9e9cc85842e59ca38d73be27b420cafadee",
      "recordedOn": "2026-11-07",
      "method": "lab-calculation@0.1.0",
      "count": 115,
      "state": "current"
    },
    "score.mjs": {
      "sha256": "6a9796f08cb270fd7deec96764164c9118b123f21ecadfe5b5841b3386e641c3",
      "recordedOn": "2026-11-07",
      "method": "lab-calculation@0.1.0 scorer",
      "state": "current"
    }
  }
}
