# Lab calculation benchmark

A public set of 87 laboratory calculations, from molarity and dilutions to oligo Tm and standard-curve readings, each with its expected value, unit and tolerance, and 28 cases where the expected response is to decline. Value cases and decline cases are scored and reported separately. For testing how a person, a script or an AI assistant handles lab calculations.

Version 0.1.0, recorded on 7 November 2026.

[What the levels mean](https://www.drybench.com/methods/levels) · [Every app's methods and checks](https://www.drybench.com/methods)

## What the set is

Each case is a calculation of the kind done at the bench, written as a plain question with every unit and condition stated. A value case's expected answer is a value and a unit, with the tolerance an answer must fall within. A decline case has no value to give: an input is missing; the request is impossible (a dilution to a higher concentration, a temperature below absolute zero); a reading is at or below the blank; a reading lies outside the standards, or the standards define no line; a sequence holds a character other than A, C, G or T; or no plan meets the pipettes, vessels, stock and limits given. There the method declines, and an answer passes only by declining too, not by estimating.

## How it was built

Every case comes from a verification set Drybench already publishes. A value case's expected value was computed outside the apps' code by a separate program (exact fractions and decimals in Python, RDKit or Biopython) and recorded with the program's version and the date. Each case names the published file it comes from and that file's SHA-256, so its expected value can be checked against the published record. No expected value comes from GPL-licensed software. Every case was constructed; no reading in the set is a measurement. Cases with an invented instrument reading or count are marked synthetic.

## How to score

Send each case's prompt as written and nothing else from cases.json: a case's id and its other fields give the expected answer away. Every prompt ends with the same line saying how to give the answer. Write one line of JSON per case: its id and either a value and a unit, or "declined": true.

The line every prompt ends with:

```text
End your reply with one final line of the form "ANSWER: <number> <unit>", or "ANSWER: DECLINE" if no value can be given.
```

Two answer lines:

```text
{"id": "mass-to-weigh/mass-nacl-150mm", "value": 8.766, "unit": "g"}
{"id": "dilution/c1v1-stock-weaker", "declined": true}
```

Units are compared after Unicode NFKC normalisation (so the micro sign and the Greek mu are the same) and a closed table of equivalent spellings published in cases.json (for example uL for µL, ml for mL, x g for × g, RPM for rpm). No other spelling is accepted, letter case counts, and no unit is converted: an answer in another unit fails as a unit mismatch.

A value case passes when its unit matches and its value falls within the case's tolerance. Declining a value case fails it. A decline case passes only when declined; any value fails, including one reached by assuming a missing input. A case with no line fails. Value cases and decline cases are scored and reported separately, never added into one figure.

cases.json holds each case's tolerance, the table of spellings and the rule in full; score.mjs applies it and calls no model. To quote a score, give the set's version, the scorer's SHA-256, what you tested and both results, in this form:

```text
Drybench lab calculation benchmark 0.1.0; scorer SHA-256 6a9796f08cb270fd7deec96764164c9118b123f21ecadfe5b5841b3386e641c3; ‹system tested, its version, date›: value cases ‹passed› of 87, decline cases ‹passed› of 28.
```

Run the scorer with Node 22 or later; it needs no packages:

```text
node score.mjs cases.json answers.jsonl
```

## Downloads

- [The cases and the scoring rule (cases.json)](https://www.drybench.com/benchmark/lab-calculation/0.1.0/cases.json): SHA-256 `84fc95663fa833ac1e0c49849011d9e9cc85842e59ca38d73be27b420cafadee`
- [The manifest (manifest.json)](https://www.drybench.com/benchmark/lab-calculation/0.1.0/manifest.json): it lists the SHA-256 of the other two
- [The scorer, a Node script (score.mjs)](https://www.drybench.com/benchmark/lab-calculation/0.1.0/score.mjs): SHA-256 `6a9796f08cb270fd7deec96764164c9118b123f21ecadfe5b5841b3386e641c3`

## The cases

| Task | Value cases | Decline cases | Marked synthetic |
| --- | ---: | ---: | ---: |
| [Mass to weigh for a molarity](https://www.drybench.com/methods/calculators) | 8 | 0 | 0 |
| [Molarity from a weighed mass, and the volume to make up](https://www.drybench.com/methods/calculators) | 6 | 0 | 0 |
| [Dilution of a stock](https://www.drybench.com/methods/calculators) | 6 | 3 | 0 |
| [Serial dilution](https://www.drybench.com/methods/calculators) | 3 | 1 | 0 |
| [Planning a transfer within pipette limits](https://www.drybench.com/methods/calculators) | 1 | 2 | 0 |
| [Unit conversion](https://www.drybench.com/methods/calculators) | 15 | 7 | 0 |
| [Formula weight](https://www.drybench.com/methods/calculators) | 9 | 0 | 0 |
| [Nucleic-acid concentration from A260](https://www.drybench.com/methods/calculators) | 6 | 2 | 8 |
| [Protein concentration from A280](https://www.drybench.com/methods/calculators) | 3 | 1 | 4 |
| [A260/A280 ratio](https://www.drybench.com/methods/calculators) | 2 | 1 | 3 |
| [Cell seeding](https://www.drybench.com/methods/calculators) | 4 | 2 | 6 |
| [Percent solutions](https://www.drybench.com/methods/calculators) | 4 | 2 | 0 |
| [Centrifuge speed and RCF](https://www.drybench.com/methods/calculators) | 4 | 1 | 0 |
| [Oligo melting temperature](https://www.drybench.com/methods/sequence) | 5 | 1 | 0 |
| [Oligo molecular weight](https://www.drybench.com/methods/sequence) | 4 | 0 | 0 |
| [GC content](https://www.drybench.com/methods/sequence) | 3 | 0 | 0 |
| [Standard-curve reading](https://www.drybench.com/methods/assay) | 4 | 5 | 9 |
| **All tasks** | **87** | **28** | **30** |

Each decline case belongs to one class:

- **missing-input** (9): A quantity that would make the answer determinate was not given.
- **impossible** (6): 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** (3): A reading at or below the blank.
- **outside-standards** (4): The response lies outside the calibrated range.
- **infeasible-plan** (4): No plan meets the stated equipment, material and limits.
- **invalid-sequence** (1): A character other than A, C, G or T.
- **no-calibration** (1): The standards define no invertible line.

## Background

- Letting the model write the steps and an interpreter compute them raised GSM8K accuracy by 15 points absolute over chain-of-thought with a larger model (models of 2022). [Gao et al., PAL, ICML 2023, arXiv 2211.10435](https://arxiv.org/abs/2211.10435), read 7 November 2026.
- When medical-calculation answers were scored step by step rather than on the final number, GPT-4o's accuracy fell from 62.7% to 43.6%; adding code execution raised accuracy across models. [Wang et al., From Scores to Steps, EMNLP 2025, arXiv 2509.16584 v2](https://arxiv.org/abs/2509.16584), read 7 November 2026.
- The best models outperformed the best chemists on average, yet struggled with some basic tasks and gave overconfident predictions. [Mirza et al., Nature Chemistry 17:1027–1034, 20 May 2025, doi 10.1038/s41557-025-01815-x](https://doi.org/10.1038/s41557-025-01815-x), read 7 November 2026.
- In a 2023 study, models' stated confidence was overconfident, mostly between 80 and 100 %. [Xiong et al., ICLR 2024, arXiv 2306.13063 v2](https://arxiv.org/abs/2306.13063), read 7 November 2026.

## What the set leaves out

The set takes a selection of the cases in each verification file. These kinds of case were left out, and why:

- **Primer3's hairpin and dimer values and Primer3's primer selection.** Their reference program is GPL-2.0-or-later; no GPL-derived expected value enters the set.
- **The dose-response reference fits from R's drc and MASS.** Their reference programs are GPL.
- **Protein properties from Expasy ProtParam.** A behavioural reference whose terms are still to be checked, and not lab arithmetic.
- **Dose per cell.** Left out so that no case in a public set reads as a dose for a person or an animal.
- **Buffer recipes, with their pH-meter setpoints and outside-range refusals.** 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.
- **Two-step intermediate-dilution plans, and the refusal for too little stock.** 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.
- **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).** 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.
- **Cases whose input is not a number (NaN, Infinity) or is a zero or negative path length.** Not a question a scientist would type.
- **The cell-seeding refusal of a viability applied twice.** The method refuses an ambiguous input, which a prompt written to be unambiguous cannot carry.
- **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.** 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.
- **The standard-curve refusal for two standard concentrations.** A line through two concentrations can be computed, and the three-concentration minimum is a convention a prompt cannot state without giving the answer.

## Limits

- We have not scored any assistant or model on this set. Drybench's own tools are checked against the verification sets these cases come from, so their passing is not an independent result.
- The cases test the arithmetic of a stated method on stated inputs, not whether the method suits an experiment.
- Expected declines follow the reporting rules of the method each case comes from; the rules are Drybench's and are stated on the [methods pages](https://www.drybench.com/methods).
- No independent scientist has yet reviewed these cases.
- 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.
- Licence: not yet set. CC BY 4.0 is proposed for the cases.
