Interactive course · right here on the mesh
Rules that explain themselves
Business logic that a business person can read, an auditor can follow, and a developer can change without fear. You will build one — the calculation behind an IFRS 17 analysis of change — out of scopes, applicability and context, and finish with a report that proves its own arithmetic.

Most business logic is unreadable by the business. This course is about the pattern that fixes that — and about the one calculation demanding enough to prove it works.

This is a hands-on course. Every lesson has a live cell that runs on the page, and every lesson ends with something you write.

Who this is for

Developers and modellers who have to encode rules somebody else is accountable for — actuaries, accountants, risk teams, regulators. You should be comfortable reading C#. No insurance background is assumed: the domain is introduced as the course needs it, and every idea in it generalises.

The problem this course is about

A number in a financial report is not finished when it is correct. Someone has to be able to ask why it moved, get an answer in terms of causes rather than code, and trust that the answer adds up. That forces three things on your rules, and most codebases get none of them:

What you'll be able to do at the end

How each lesson works

Band What it is
📖 Theory The idea, kept short, with the real code from the shipped module.
⚡ Experience it A live cell. It runs when the page loads — read it, then predict what a change would do.
✍️ Your turn A small exercise. A Peek at the solution link is always one click away.

The syllabus

Part 1 — Rules as scopes

  1. Why business rules
  2. The scope: identity, storage, graph
  3. Applicability: one quantity, several implementations
  4. Context: one formula, several bases

Part 2 — Modelling the domain

  1. The economic cash-flow model
  2. Hierarchical dimensions
  3. Steps as data

Part 3 — Valuation

  1. Discounting
  2. Telescopic differences
  3. Interest accretion and the parameter steps

Part 4 — Currency and consolidation

  1. FX treatment and the step that has to be derived
  2. Consolidation: translate before you add

Part 5 — The report

  1. The movement report and the reconciliation rule
  2. Capstone: a scope of your own

The worked example

Everything runs on one book — a Swiss endowment, a dollar-denominated annuity held by a euro entity, and a non-life claims run-off — and the code is the real code from the IFRS 17 module that ships with the platform. The numbers in these lessons are the numbers its tests pin. Nothing here is a simplification written for teaching.

The course in two minutes — script & storyboard

Ready? Start with Lesson 1 — Why business rules.

Contents

Reconnecting…
The connection to the server was interrupted. Trying to restore it…
Trying again…
The connection could not be restored. Reloading the page…
The server was updated. Reloading the page to pick up the latest version.