Gil Rotem · GPRWork

139 calculators · 9 categories · 3,007 tests · Hebrew

139 calculators in Hebrew:a corpus with a calculation engine, a site map and tests

The trouble with an online calculator

An online calculator looks simple: a field, a button, a result. But behind a gross-to-net salary calculator sit tax brackets, tax credit points, National Insurance and health tax, and each of them changes from year to year. A calculator that doesn't say what it calculates by and what date it's correct for is a guess with a nice design.

A calculator site is also an SEO problem. Dozens and dozens of similar pages need a structure Google understands, internal links that leave no page orphaned, and content that answers the question people actually ask.

Opening of the calculator corpus kit: the headline "139 calculators in Hebrew. Every number sourced, every formula proven", the test line with 4,113 green and 0 skipped, and a data strip: built between 2026-09-04 and 2026-09-09, 75 commits, 163 pages in the sitemap, 9 silos and 14 sub-hubs, 835 TypeScript files, calculated as of 2026-11-23

What's in the corpus

At GPR I built a complete corpus for a new calculator site, meaning the full body of calculators, pages and data behind it: 139 calculators in Hebrew and a site map of 163 pages. It was built in six days with a team of AI models. A strong model plans and checks, a cheaper model writes to a tight specification, and every stage leaves a document behind.

Silo architecture

Nine categories, from finance and health to conversions and home and kitchen, and 14 sub-hubs. One fixed depth of home, category, sub-hub and calculator, and no deeper. A category with more than 15 calculators splits into sub-hubs.

The BMI calculator from the kit on mobile: height 170 cm and weight 70 kg, index 24.2 and a healthy weight. Sample values

A pure module for every calculator

Each calculator is a TypeScript module that takes input and returns a result, with no network calls and no clock or randomness of its own. So any page can be reproduced exactly as it stood on its build date.

A Hebrew specification for every calculator

A spec with pseudocode, from which the module and its calculation tests are written.

3,007 calculation tests

Test vectors, meaning an input and its expected result, worked out from the specs. Every module passes them, along with the core tests.

918 documented assumptions

Every constant comes with a value, a unit, an effective date and a source. A shared rate, like the tax brackets, lives in one place only, and every calculator reads it from there.

Input checks before the formula

Every input is validated with fixed error messages, and the formula only ever receives valid input.

Links and questions

Each calculator links to two to six related pages, every page has a cap of 12 incoming links, and no page is orphaned. The corpus holds 732 FAQs in all.

Risk register

A list of every value that hasn't been verified and every value that goes out of date by itself, what happens if it's wrong, how to check it and who decides.

Banner kit

A banner for the whole site and one for each of the nine categories, each in five formats for social networks and link previews.
For example, the finance domain banners, 38 calculators, as a link preview and as a story:Finance domain banners from the banner kit, in the same design in two formats: a wide link preview (OG) and a tall story, showing the domain's 38 calculators and the names of its sub-hubs

Silo map from the kit: nine domains, each with its number of calculators and sub-hubs and a key for each calculator. Finance 38 calculators and 6 sub-hubs, health 18 and 3, pregnancy and family 10, math 9, studies and writing 10, dates and time 8, home and kitchen 19 and 3, conversions 9, science and entertainment 18 and 2

Why the numbers can be trusted

Every number on a page can be traced to its source and to the date it's correct for. When next year's tax brackets change, one value is updated, and every calculator that uses it updates with it.

Along the way I added four calculators the reference site doesn't have: mortgage refinancing, keren hishtalmut (an Israeli tax-advantaged savings fund), import tax on a personal car, and intermittent fasting. And the gross-to-net calculator also works backwards, from net to gross, because that's the question people ask when they negotiate a salary.

The tests prove consistency: every module matches its spec, and every spec matches the site map. They don't prove that a constant is correct, because a wrong number copied faithfully passes everything. That's what the risk register is for, and the clinical constants, such as the World Health Organization growth charts and children's dosages, were checked against outside sources.
The process from the kit: a table of models by stage, from research to integration, the card "What green proves, and what it doesn't", the toolbox, and a receipt for the build from 2026-09-04 to 2026-09-09 with 139 of 139 calculators and 4,113 green tests

The gross-to-net calculator from the kit running in reverse, from net to gross: a net salary of 12,000 NIS requires a gross of 14,688.14 NIS, with a breakdown of income tax, National Insurance, health insurance and the value of tax credit points. Sample values

What happens behind each page

The corpus itself is data and functions. Each page is built from the page model: the input fields, the results, the assumptions with their sources, the FAQs and the links. The original engine is also packaged to run in the browser.
Mortgage calculator from the Hebrew calculators corpus: loan, rate and term inputs beside monthly payment, total interest and amortization schedule.

Every change goes through four automated checks, from the site map to the link graph, and 4,113 tests, all passing. What's left before going live is the site layer that will sit on top of the corpus, a name and a domain, and updating the dated prices before launch.
Anatomy of a single calculator from the kit: the module contract, a file diagram from the spec to the web layer, and an excerpt from the gross-to-net calculate.ts file, which computes the reverse direction with a binary search

The days-between-dates calculator from the kit on mobile: from 1 January 2026 to 4 September 2026, 246 days. Sample values
The general banner of the calculator corpus in the wide format: 139 calculators in Hebrew, 163 pages in a silo architecture, 3,007 test vectors calculated by hand, and every assumption with a source and a date

Need a calculation tool where you can trust every number?

If that sounds like your problem, talk to me.

Privacy on this site

This site uses cookies to improve your browsing, in line with Amendment 13 to Israel's Privacy Protection Law (2025). Full policy (Hebrew)