AskCalc
Home › Methodology

Methodology

Language understanding never does arithmetic

Large language models are unreliable at clinical calculation: in the MedCalc-Bench benchmark (NeurIPS 2024), frontier models made frequent formula and arithmetic errors. AskCalc therefore uses language technology only to choose a calculator and read the values out of your text. A rule-based parser handles most questions instantly; an optional small language model (Qwen3, 1.7B parameters) runs inside your browser through WebGPU for freer phrasing. The calculation itself is plain, deterministic code.

Safety rules

Testing

Each calculator ships with test cases whose expected values were derived independently from the original publication (worked examples or hand calculation). The full suite runs on every build; a single failure blocks publication.

Sources

Formulas and point values follow the original derivation paper or the current guideline, linked on every page. Where sources disagree, the page says which version is used.