Interactive tools checked against the reference codes

Every interactive tool of this site reproduces a published code. This page runs the JavaScript in your browser on the same inputs as the reference codes and compares the results, case by case.

What is compared

The reference values were produced on 23 October 2026 with MATLAB R2025b and Python, from the archived codes; the inputs are a synthetic hourly series of 30 days (test vectors, JSON). Scripts: make_vectors.m and make_vectors_lql.py.

Running the tests…

ToolCaseReference codeJavaScriptRelative differenceToleranceResult

Tolerances: 10−9 for closed-form formulas (rounding only); 10−6 for the ARTU table interpolation; 10−4 for the thyroid model, whose thyroglobulin equation the browser integrates numerically.