Verified Calculations for Quarto

Write physics and maths lessons in Quarto. Let a reference calculation service compute and check results during the build.

Checking service...
Version: -

Stop trusting "hand maths" from LLMs.

LLMs are excellent at explanation and structure, but numeric and algebraic work must be hard-checked. Verified Calculations separates writing from checking:

What this is

Verified Calculations is a Quarto-first toolchain that makes scientific material easier to author and safer to publish.

It provides:

Why it exists

Science and teaching are moving toward AI-assisted writing. That increases throughput, but it also increases the risk of silent mathematical mistakes.

Verified Calculations exists to keep the maths out of the language model and inside a system that can be checked, tested, and (selectively) proved.

How it works

Authoring contract (Quarto)

1. Define

Use eq to render a canonical formula (LaTeX)

2. Request

Use .calc-request blocks to specify inputs you want evaluated

3. Insert

Use calc to insert verified results into the page

Build pipeline

On quarto render, the pre-render step:

Who it's for

Quick start (30 seconds)

  1. Add the extension to your Quarto project
  2. Set the evaluator base URL in _quarto.yml
  3. Write one calc-request and render
Follow the guide

Design principles

Reproducible: results are generated during build, not typed by hand
Traceable: every computed value is linked to a request id and formula id
Fast: batch evaluation, caching, and deterministic outputs
Extensible: physics, HSC maths, and beyond
AI-compatible: assistants can generate requests, but the evaluator checks them

What's next