Part H · Chapter 41 · Capstone: Harbour Mutual acquires Kestrel

41. Stage 4: Trusted numbers

Weeks six to eight. The board wants one loss ratio for the combined company, and it must agree with what finance has booked. Define it once, put gates on its inputs, and close the first incident where it started.

The board measure with its lineage, gauges and gates
Playback speed

The clip starts from both companies' sources: Harbour Mutual's claims, payments and premium instalments, and Kestrel's claims and policies. Kestrel's own report gives a loss ratio far above Harbour Mutual's, because it earns premium only on the policies still in force at the year's end. The measure is then defined once, and three gauges show Harbour Mutual's ratio, Kestrel's restated ratio and the combined one. Kestrel's claims pass the gates into silver and gold; one claim with no reported date is set aside, so gold falls short of finance. The root cause is found in Kestrel's claims portal and fixed there, and gold and finance agree.

The situation

Week six of twelve. Finance has booked €75,400 of claims for 2025 at Harbour Mutual and €46,400 at Kestrel. Kestrel's reporting shows a loss ratio of 130.8%; Harbour Mutual's board pack shows 55.0%. The two cannot be added up, because they do not mean the same thing: stage 2 recorded the conflict, and this stage settles the number.

Defined once, with Kestrel's premium earned the way Harbour Mutual earns it, the figures below are what the board will see. The SQL computes them from both companies' tables, so anyone can rerun them; it gives the engine's figures on PostgreSQL 18.3 in the lab's checks.

The board's loss ratio for 2025, on one definition (computed from both companies' seed)
CompanyClaimsIncurred claimsEarned premiumLoss ratio
Harbour Mutual14€75,400€137,18255.0%
Kestrel14€46,400€67,46668.8%
Combined28€121,800€204,64859.5%
The combined loss ratio for 2025, from both companies' tables (PostgreSQL)
WITH harbour_instalments AS (
    SELECT amount, due_date AS starts, CAST(due_date + INTERVAL '6 months' AS DATE) - 1 AS ends
    FROM premium_transactions
), harbour AS (
    SELECT 'Harbour Mutual' AS company,
           (SELECT SUM(c.reserve + COALESCE(pay.paid, 0))
            FROM claims c
            LEFT JOIN (SELECT claim_id, SUM(amount) AS paid FROM claim_payments GROUP BY claim_id) pay ON pay.claim_id = c.claim_id
            WHERE c.loss_date BETWEEN DATE '2025-01-01' AND DATE '2025-12-31') AS incurred,
           (SELECT ROUND(SUM(amount * (LEAST(ends, DATE '2025-12-31') - GREATEST(starts, DATE '2025-01-01') + 1) / (ends - starts + 1)), 0)
            FROM harbour_instalments
            WHERE starts <= DATE '2025-12-31' AND ends >= DATE '2025-01-01') AS earned
), kestrel AS (
    SELECT 'Kestrel' AS company,
           (SELECT SUM(reserve_cent + betaald_cent) / 100.0
            FROM schades
            WHERE schadedatum BETWEEN DATE '2025-01-01' AND DATE '2025-12-31') AS incurred,
           (SELECT ROUND(SUM(jaarpremie * (LEAST(einddatum, DATE '2025-12-31') - GREATEST(ingangsdatum, DATE '2025-01-01') + 1) / (einddatum - ingangsdatum + 1)), 0)
            FROM polissen
            WHERE einddatum >= ingangsdatum AND ingangsdatum <= DATE '2025-12-31' AND einddatum >= DATE '2025-01-01') AS earned
), companies AS (
    SELECT * FROM harbour
    UNION ALL
    SELECT * FROM kestrel
)
SELECT company, incurred, earned, ROUND(incurred / earned, 4) AS loss_ratio FROM companies
UNION ALL
SELECT 'Combined', SUM(incurred), SUM(earned), ROUND(SUM(incurred) / SUM(earned), 4) FROM companies
Try this Open the Quality workbench with the stage's brief: Kestrel's team has already set the gates.
Remember Define a board measure once, compute it from both companies' sources, guard its inputs at the gates, and when gold and finance disagree, find the rows gold does not have and fix them where they were made.

Why it matters for Alex

The first combined board report is the merger's first promise kept or broken. A loss ratio that changes with whoever computed it costs the CFO the board's trust, and every figure after it inherits the doubt. Alex has to give one figure, show how it was reached, and show that it agrees with finance.

When gold and finance disagree, the difference is the incident. Here it is €1,450: claim 17 (S2025-0017), which the gate set aside because Kestrel's claims portal lost its reported date. The gate was right; the fix belongs in the portal.

Try this In the Lineage explorer, trace the combined lakehouse's loss_ratio back to both companies' source columns.

Where it goes wrong

  • Adding up two companies' figures. Two loss ratios on two definitions do not combine. Restate first, then total, then divide.
  • Averaging ratios. An average gives a small book the weight of a large one. Total the claims and the premium first.
  • Fixing gold. A correction typed into gold is lost at the next load. Fix the source and load again.
  • Quarantine nobody empties. Set-aside rows are claims finance has booked: until someone fixes them, gold is short.

The stakeholders

  1. Agnieszka Lis Chief Financial Officer, Harbour Mutual

    The board meets in three weeks. I want one loss ratio for 2025 for the combined company, and I want it to agree with what finance has booked, to the euro.

  2. Ingrid Vos Kestrel Finance Manager, Kestrel

    Kestrel's reporting puts our loss ratio for 2025 at 130.8%. I can send you the extract tonight.

  3. Ingrid Vos Kestrel Finance Manager, Kestrel
    Pushback

    Use Kestrel's own loss ratio from our reporting for Kestrel's part of the board pack. It is the figure our board has always seen.

More messages arrive as the stage's checks pass.

The goal

The figure reconciles with finance, the rules catch the planted defects, and the incident is closed at its root cause.

This stage gives you the goal; ask for a hint when you need one.

    The stage's outcome

    0 of 4 checks passed. The stage is done when all of them have.

    Your architecture deliverable Your skills record

    Exercises

    The lab checks each one against facts written down in advance, so any answer the brief allows passes. A pass is kept in this browser.

    Define the board's loss ratio once

    Choose each figure for the board, on one definition: incurred claims over earned premium, totalled before dividing, with every policy's premium earned for its days of cover in 2025.

    Harbour Mutual's loss ratio for 2025
    Kestrel's loss ratio for 2025, on the combined definition
    The combined company's loss ratio for 2025

    Gates for the board's figure

    Kestrel's claims now load into the combined lakehouse every night, and the board's loss ratio reads them. Kestrel's team has set the gates: late reports are quarantined, the policy rule stops the load, and the reserve rule's threshold was lowered to 90%. Keep every claim with a missing reported date, an unknown cause, an impossible reserve or a missing policy out of gold; let every other claim through, the late reports with a warning; and keep the rules the board pack reads at 99% or more.

    The lab checks that:

    • No claim with a missing reported date, an unknown cause, an impossible reserve or a missing policy reaches gold.
    • Every other claim reaches gold, the late reports included.
    • The late reports reach gold with a warning.
    • The rules the board pack reads (reserve, cause and policy) have a threshold of at least 99%.
    Open the brief in the Quality workbench, change the gates and thresholds until the brief is met, and press Check there.

    Close the incident at its root cause

    Gold's incurred claims for 2025 are short of finance by the amount of one Kestrel claim the silver gate set aside. Each line is an action someone proposes. Choose what it does.

    Fix the claims portal so a form that times out keeps its reported date, have the steward enter the lost dates from the portal's log, and run the night's load again.
    Add the missing amount to gold's figure by hand at every month end.
    Take the reported-date rule off the silver gate.
    Move the reported-date rule from the silver gate to the gold gate.

    Answer the stakeholders

    Each line is something a stakeholder says as the stage goes on (the thread above). Agree, or push back where the facts say otherwise.

    Use Kestrel's own loss ratio from our reporting for Kestrel's part of the board pack. It is the figure our board has always seen.
    Give each company the same weight in the board pack: average the two loss ratios.
    Kestrel keeps its reserves in cents. Divide them by 100 before they reach silver, or Kestrel's claims look a hundred times bigger.
    If any Kestrel claim fails a rule, stop the whole load. Better nothing in the board pack than something wrong.
    Two bad reserves in forty claims is good enough. Lower the reserve rule's threshold to 95% and the dashboard turns green.
    Gold is short of finance because the silver gate set aside a Kestrel claim that has no reported date. The gate did its job; the fix belongs where the date was lost.

    On Azure

    Checked against Microsoft's documentation on 18 October 2026.

    On Azure, the measure, the gates and the incident each have a home:

    • The measure is defined once in a Power BI semantic model (in Microsoft Fabric or the Power BI service) over the gold tables, and every report reuses it instead of computing its own.
    • The gates are expectations in Azure Databricks' Lakeflow Declarative Pipelines, or checks in Fabric notebooks and pipelines, each writing the rows it sets aside to a quarantine table with the rule they failed.
    • Lineage from the pipelines into Microsoft Purview (or Unity Catalog in Azure Databricks) shows the path from a board figure back to each company's source columns.
    • Reconciliation is a scheduled query that compares gold's totals with finance's and raises an Azure Monitor alert when they differ.

    Whatever the tools, the incident is closed in the system that made the bad data, and the quarantine table has an owner.

    Take it to work

    Board measure reconciliation

    Define a board measure once, check it against finance, and record how each difference was closed.

    Definition

    • The measure in one sentence, and who owns it
    • What each company's figure must be restated to

    Figures

    • Each company's figure and the combined figure
    • Finance's figures beside them

    Gates

    • The rules on the measure's inputs, where each sits and what it does

    Differences

    • Each difference between gold and finance: the rows, the root cause, the fix at the source
    • Who closed it, and when

    Tools in this chapter

    • Quality workbench · Write quality rules, set thresholds, inject defects, and see the scores per dimension and per domain.
    • Lineage explorer · Trace a number back to its sources, or a change forward to everything it breaks.
    An unhandled error has occurred. Reload 🗙

    Reconnecting…

    Your connection to the Cloud Data Architecture Lab dropped, probably a Wi-Fi blip. Hold on while it reconnects.

    The connection could not be restored. The page will reload in a few seconds.