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 case | Expected | Observed | Result |
|---|---|---|---|
| Scale 2 g / 200 ml to 300 ml | 3 | 3 | Pass |
| 40 g sugar + 40 g water: sugar in 10 g | 5 | 5 | Pass |
| 2:1 syrup: sugar fraction rounded | 66.67 | 66.67 | Pass |
| 150 + 100 + 10 ml and 30 g melt | 290 | 290 | Pass |
| Brewed tea fraction rounded | 51.72 | 51.72 | Pass |
| Three servings: liquid volume | 870 | 870 | Pass |
| 100 g pearls at 10 ml/g | 1000 | 1000 | Pass |
| 25-minute cook + 5-minute rest | 30 | 30 | Pass |
| Zero brewing water | Rejected | Rejected | Pass |
| Blank dose | Rejected | Rejected | Pass |
| Non-finite dose | Rejected | Rejected | Pass |
| Melt exceeds added ice | Rejected | Rejected | Pass |
| No liquid | Rejected | Rejected | Pass |
| Fractional servings | Rejected | Rejected | Pass |
| Negative pearls | Rejected | Rejected | Pass |
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.