Skip to content

Methods and checksMethods

How every result is reached and what it was checked against, app by app.

Methods and checks pages

Multi-component recipe

calc_recipe is a tool of the Drybench MCP server. It runs the same engine and reporting rules as Drybench Calc.

What it answers

Computes solid masses and liquid stock or volume-share volumes for a multi-component recipe made up to finalVolume. Diluent volume is returned only when every component comes from a liquid stock; otherwise it is withheld with the reason.

The reply's result carries these fields (each measured number carries its unit, or a withheld notice when a rule applies):

  • finalVolume (number, unit L, required)
  • lines (array of object, required)
    • index (integer, required)
    • name (string, required)
    • mass (number, unit g, optional)
    • volume (number, unit L, optional)
  • liquids (number, unit L, required)
  • diluent (number, unit L, required, or withheld)
  • notes (array of object, optional)
    • id (string, required)
    • text (string, required)
  • flags (array of object, optional)
    • id (string, required)
    • text (string, required)
    • paths (array of string, required)

Limits:

  • The stock, dilution and buffer calculations here are not for dosing or clinical preparation.
  • It computes from the inputs it receives. It does not check the person's data, design or sample.
  • Every computed number a reply returns, other than an integer or an exact decimal, is rounded once to 12 significant figures: to the nearest, a change of at most 5 × 10⁻¹² of its value, except that a lower bound is rounded down and an upper bound up, a change of less than 1 × 10⁻¹¹; the method computes, and decides any pass or fail, on the unrounded value.

Research and education software; not for diagnosis or treatment decisions.

Not medical advice. Nothing here is advice about any medicine, treatment or condition, and nothing here is an assessment of any person's variant, sample or molecule. Decisions made with it are yours.

What this page can and cannot show

Weakest level among this tool's methods: Checked against a reference. Reference kind not recorded for 1 of 1 methods.

Not fully recorded, and not independently reviewed. Items marked "Not recorded" are missing from this project's records for the version named. Apart from any worked example shown, the cases and their values are not printed, so a reader cannot re-run these checks. No independent scientist has yet reviewed these methods or checks.

Open Drybench Calc · Drybench Calc: methods and checks · What the levels mean · Every assistant tool

Inputs

An omitted input takes the default its description states; the reply's inputsReceived shows what was given. Any input not listed here is refused.

  • finalVolume (object, required): Target final solution volume.
    • value (number, required)
    • unit (string, required): One of L, mL, uL, nL, µL, μL.
  • components (array of object, required): Recipe components (1 to 40); each gives target concentration or volumeShare (percent v/v).
    • name (string, required)
    • target (object, optional): Wanted concentration in final solution.
      • value (number, required)
      • unit (string, required): One of M, mM, uM, nM, pM, fM, kg/L, g/L, mg/mL, mg/L, ug/mL, ng/uL, ug/L, ng/mL, mol/L, µM, μM, µg/mL, μg/mL, ng/µL, ng/μL, µg/L, μg/L.
    • volumeShare (object, optional): Alternative to target: percent v/v share of finalVolume.
      • value (number, required)
      • unit (string, required): One of %.
    • formulaWeight (object, optional): Formula weight of exact weighed solid (required for molar solid targets or molar-mass stock bridges).
      • value (number, required)
      • unit (string, required): One of g/mol, kg/mol, Da, kDa.
    • purity (object, optional): Purity percentage for weighed solids (default 100 %).
      • value (number, required)
      • unit (string, required): One of %.
    • fromStock (object, optional): Liquid stock concentration when adding from stock instead of weighing.
      • value (number, required)
      • unit (string, required): One of M, mM, uM, nM, pM, fM, kg/L, g/L, mg/mL, mg/L, ug/mL, ng/uL, ug/L, ng/mL, mol/L, µM, μM, µg/mL, μg/mL, ng/µL, ng/μL, µg/L, μg/L.

What it withholds or refuses

A refusal, a withheld value or another named status is an answer: the reply gives the reason and no number in its place; an absent value is not zero. Invalid input means nothing ran.

  • NEEDS_COMPONENTS: The components array is empty (status refused). (recipe-table@2.1.0)
  • INVALID_COMPONENTS: A component gives no valid amount: non-positive target, purity outside (0, 100] %, non-positive stock concentration, or missing formulaWeight where needed (status refused, partial lines carry withheld rules LINE_NEEDS_FORMULA_WEIGHT, LINE_NON_POSITIVE, LINE_INVALID_STOCK, LINE_INVALID_PURITY, LINE_NON_FINITE). (recipe-table@2.1.0)
  • STOCKS_EXCEED_FINAL_VOLUME: The stock volumes together exceed the final volume (status refused). (recipe-table@2.1.0)
  • WEIGHED_SOLID: Withheld rule on result.diluent when any component is weighed as a solid. (recipe-table@2.1.0)
  • VOLUME_FRACTION: Withheld rule on result.diluent when any component specifies volumeShare. (recipe-table@2.1.0)
  • WEIGHED_SOLID_AND_VOLUME_FRACTION: Withheld rule on result.diluent when both weighed solids and volumeShare components appear. (recipe-table@2.1.0)
  • CONFLICTING_TARGET: A component carries both target and volumeShare, or volumeShare alongside formulaWeight/fromStock (invalid-input). (recipe-table@2.1.0)
  • UNKNOWN_ARGUMENT: A field the component does not take (invalid-input). (recipe-table@2.1.0)

How to cite a number from it

Every reply carries a cite line. It names, in order: the tool and the server version; each method the call went through, with its version and level (and the limit beside a level where the method's record narrows it); the receipt, the first 12 characters of the hashes of the arguments and of the result; and the address where its methods are described. Quote it with any number taken from the reply.

The receipt identifies a computation; it is not a signature. It holds no time, so the same arguments on the same server and method versions give the same receipt, and anyone can call the tool again and compare; a later method version can change the output hash.

An example

The values asked and the values answered, computed by this tool when this page was built:

Asked with

  • finalVolume: 500 mL

It answered (computed):

  • finalVolume: 0.5 L
  • liquids: 0.06 L

The reply carries more values than are shown here.

Its cite line:

calc_recipe, server 1.0.0; recipe-table@2.1.0 (Checked against a reference); receipt e375a082674a/4d8db86d6da9; methods https://www.drybench.com/methods/calculators; page https://www.drybench.com/methods/tools/calc-recipe. Quote this line with any number taken from this reply.

Methods

Every method and reference the tool's replies cite, with its version and level. A reply names the methods that call went through.

Multi-component recipe

  • Method: recipe-table@2.1.0
  • Level: Checked against a reference. Reference kind: not recorded. This level uses the apps' wider definition on the levels page.
  • How it was checked: Checked against exact rational arithmetic (Python fractions) on 27 cases, 12 of them refused: each component's mass or volume and the diluent to nine significant figures; refusals, and the 9 recipes with a weighed or volume-fraction component that give no diluent volume, exact; 28 October 2026.
  • What was not checked: Non-additive mixing is not modelled: a recipe with a weighed solid or a volume fraction is made up to volume and no diluent is given, and for liquid stocks additivity is assumed. Whether a component dissolves at the amount given is not checked. No published case set names recipe-table@2.1.0 by its exact key. The hand case is a draft worked by an AI session on 12 November 2026 from the source's equation; this session also ran it through the tool on this repository's head and the tool agreed, a check made once and not kept as a test. The same file holds a second case, an all-liquid recipe with its diluent (hand-all-liquid-diluent). No case runs this method through the served tool on its production runtime. No person has worked these cases or read these sources; the reading and checks recorded here were made by AI sessions.
  • Method, sources and checks
  • On Drybench Calc's methods page: Recipe table

No independent scientist has yet reviewed these checks. What the levels mean.

Changes to its methods

  • No correction is logged for recipe-table@2.1.0.

Where it runs

The local MCP server serves this tool; the hosted MCP connection does not.

Methods and checks