← Back to the alert queue

How this works

All data is fictional. Lysbro Pay ApS, its customers and every transaction are invented. Nothing here comes from a real company, customer or employer.

The idea

Rules flag transfers that look suspicious. Alerts on the same customer within 14 days become one case. For every case, an AI model drafts a short note and suggests a next step: escalate, or close as a false positive. An analyst decides. The AI never decides and never says that anyone committed a crime; it describes behaviour.

The first KPI, "AI suggests escalation", counts the cases raised in the selected month that the AI suggests escalating. These are suggestions only: no analyst decisions exist in this demo.

The data

2.000 invented customers of Lysbro Pay ApS (fictional) and their transfers from Jan to Sep 2026 (Jan-Mar only as history for the rules). Normal behaviour depends on the customer type and declared purpose, and includes things that look unusual but are not: bonus months, holiday spending, a one-off car purchase, seasonal businesses.

Into this, 30 truly suspicious customers were planted, five for each pattern below. Six show a second pattern, and six show only a weak version built to fall just under a rule threshold, so some misses are expected. Which customers were planted is stored in one answer-key file that only the evaluation script reads.

Countries outside Denmark are invented, so no real country is labelled high-risk. Risk tiers (own assumptions): low Elsmark, Tarvenn, Lunora; medium Norsala, Bresken; high Veltria, Quorvia.

Rules and thresholds

Every threshold and weight is an own assumption, set in one file (config/rules.yaml). None comes from a law, regulator or employer.

RuleFires whenWeight
R1 StructuringAt least 3 transfers between €8.500 and €10.000 within 7 days.30
R2 Pass-throughMoney in from at least 3 senders (at least €3.000) and at least 80 % of it out again within 48 hours.35
R3 Fan-inAt least 8 different senders (small business: 25) within 30 days.25
R4 Volume spikeVolume in 30 days at least 4 times the larger of the declared monthly volume and the customer's own average month in the 90 days before, and at least €5.000.20
R5 High-risk corridorTransfers to high-risk-tier countries within 30 days: at least €5.000 in total or at least 3 transfers.30
R6 Purpose mismatchDeclared purpose savings or family support, but at least 12 different counterparties within 30 days.20

A rule alerts again on the same customer only after 30 quiet days, so a busy account does not raise an alert every day.

Risk score

Risk score = rule points + KYC points + amount points, at most 100. Rule points are the weights of the rules hit. KYC points: low 0, medium 10, high 20. Amount points: up to 20, reached when the amount involved is 5 times the declared monthly volume. The queue shows 60 or more in red as high risk.

Counterparty network

Every case opens with a network picture: the case customer in the middle, and everyone they sent money to or received money from in the 90 days up to and including the case date. Senders who only pay in sit on the left, receivers who only get paid sit on the right, so fan-in (many senders, one account) and pass-through (money in from many, out again to one or two) read left to right. Node size is the amount, arrow width is the amount in that direction, a red ring marks a counterparty in a high-risk-tier invented country. Selecting a transaction in the timeline highlights its arrow, and the other way round.

It is built in SQL (sql/17_v_case_network.sql) from the raw transactions only: nothing after the case date, nothing from the answer key. To stay readable it shows at most 25 counterparties, the largest by amount; the rest are grouped as "+N others". The view also looks for other Lysbro Pay customers who dealt with the same counterparties in the same window. In this synthetic data there are none: every counterparty belongs to one customer, so each network is one customer and their counterparties.

What the AI sees, and what it does not

Sees: the customer profile (type, customer since, declared purpose and monthly volume, home country, KYC rating), the rules hit with their reasons, the triggering transactions, and a summary of the 90 days before the first alert. Every amount is pre-formatted, so the model copies numbers instead of calculating them.

Does not see: the customer's name, the name-origin group, anything after the case date, or the answer key.

Model: claude-haiku-5-5, one prompt version, run once. Output: a 60-100 word summary, the suggestion, 1-3 reasons and a checklist of what the analyst must check that the data cannot show.

How it is checked

A script without AI checks every draft: each number must appear in the case data, no date may be after the case date, all fields must be there, word limits, and a list of banned words (including any claim of crime or guilt). A failed draft gets one follow-up listing the failures, at most two retries, and the last attempt is kept. Result: 134 of 183 drafts passed on the first attempt, 178 of 183 in the end.

How it is evaluated

A case counts as truly suspicious if it is on a planted customer and dated on or after the pattern started. The metrics were written down before the AI ran and were not changed afterwards.

Fairness check

Every customer has an invented name-origin group, kept in a separate file that the rules, the AI and this dashboard never read. The planted customers were drawn so that their name-origin mix matches everyone else's, and the generator checks it: PASS, largest difference 1,6 percentage points (limit 5). The evaluation also reports, per group, the share of customers with a case and the AI escalation rate:

GroupShare of customersShare of casesCustomers with a caseAI escalates
Group A45,6 %48,6 %8,3 %55,1 %
Group B21,6 %18,6 %6,9 %58,8 %
Group C19,1 %18,0 %6,6 %48,5 %
Group D13,7 %14,8 %8,0 %55,6 %

This shows the design does not use name origin. It does not prove fairness on real data, where traits like nationality can correlate with home country or transfer corridors.

Limitations