Validation and release
How a calculation is checked before it is offered.
A calculation tool is only as trustworthy as the engine behind it, so every engine is checked against published worked examples, and a calculation is offered over MCP only after an engineer has reviewed those results and released it.
The validation corpus
The corpus currently holds 617 worked examples across 23 tools
(version corpus-18bb4f2c8ce3). Each case records:
- the tool and its exact inputs;
- the expected values of named outputs, each with a tolerance;
- the reference the expected values come from — a standard's worked example (cited by document and example number, never reproduced) or a hand calculation written out in full;
- notes on any design rule of the engine the case exercises;
- where needed, the licensed standards data the case depends on (for example
AS3008:2017). A database without that data records the case as skipped, never as passed.
Cases run through exactly the same tool code you call — the same input mapping, engine and output — not through a separate test harness.
Every case of a published tool is also a fully worked example on the calculation's help page — the inputs, each formula with the numbers substituted, every check and the reference — generated from the case itself, so the page and the scorecard can never disagree. The scorecard links each case to its example, and the worked examples index lists every example by calculation.
The scorecard
Each run of the corpus is stored with the code build that answered and the corpus version, and published on the
validation scorecard: per tool, cases passed, failed and skipped,
and every failure with expected and actual values. An assistant can read the same information with the
fe_ref_validation tool, which also says whether the latest published run matches the build answering now.
Every result's provenance.engine.validation_suite names the corpus version its build was checked
against.
Release for MCP
Passing cases is necessary but not sufficient. Each calculation engine has a separate MCP release switch, independent of whether it is live on the fast.engineer website. An engineer ticks it only after reviewing:
- the engine's validation cases and their references;
- its known engineering review notes — behaviour that is correct for the engine's stated method but that users must know about, or that has to be resolved first;
- how the tool's inputs map onto the engine and which assumptions it records.
Until then the tool is not listed and calls to it are refused. A tool that runs several engines (for example cable sizing across standards) is listed once any of them is released, and a call is refused if the engine it would use is not. Currently 6 of 23 calculation tools are released.
Reporting a discrepancy
If a result disagrees with your own calculation, send us the tool name, your inputs and the
request_id from the result. Operators can pull a tool out of service immediately while it is
investigated; confirmed cases are added to the corpus so the fix stays fixed.