Original software verification · October 20, 2026

How we checked the Tea bench.

We executed the following checks against the calculator JavaScript that ships with this site. These are first-party software checks, not preparation, tasting or food-safety experiments. They provide evidence for the tool’s arithmetic and selected input boundaries only.

Method

The JavaScript was run in Node’s VM with a minimal document stub. Eight checks compare returned numbers with independently stated arithmetic examples. Seven checks confirm that invalid inputs throw an error. Floating-point percentages are rounded to two decimal places for comparison. This does not test every browser, accessibility behavior, export interaction or possible input.

Executed caseExpectedObservedResult
Scale 2 g / 200 ml to 300 ml33Pass
40 g sugar + 40 g water: sugar in 10 g55Pass
2:1 syrup: sugar fraction rounded66.6766.67Pass
150 + 100 + 10 ml and 30 g melt290290Pass
Brewed tea fraction rounded51.7251.72Pass
Three servings: liquid volume870870Pass
100 g pearls at 10 ml/g10001000Pass
25-minute cook + 5-minute rest3030Pass
Zero brewing waterRejectedRejectedPass
Blank doseRejectedRejectedPass
Non-finite doseRejectedRejectedPass
Melt exceeds added iceRejectedRejectedPass
No liquidRejectedRejectedPass
Fractional servingsRejectedRejectedPass
Negative pearlsRejectedRejectedPass

Reproduce or inspect

Download the calculator source, the check script and the recorded results. With Node installed, place the calculator at work/bench.js and run the check script from its parent directory. It writes the JSON results into work/. No external package is required.

Calculator source SHA-256: 43bbf9914f391bdff4677d6c796fd2c830f589245c456d53b1768ab558a497c4.

What this cannot establish

Correct arithmetic does not predict taste, caffeine, extraction, actual ice melt, pearl doneness or storage safety. It does not validate our proposed drink formulas. The three-cup worksheet helps readers gather their own observations without confusing a proposed quantity with a measured outcome.

Use the Tea bench · Report a reproducible error