Analytics

The problem in numbers, score zones, business case and operation.

The problem in the synthetic dataset and why each design decision; hover a mark or reach it with Tab for its detail.

More than a third of complaints are unrecognized or wrongful charges

36.4%[data]

24,431 of 67,095 complaints

Unrecognized or wrongful charges (W3)All other complaints · 63.6%

One workflow is more than a third of all complaints.

[data] queries/pitch/p01_w3_share_complaints.sql

At a score of 50 or more every flagged transaction was fraud

100%[data]

precision at a score of 50 or more; recall 48.8%

Precision: flagged transactions that are fraudRecall: frauds with a score that are flagged
0%25%50%75%100%humanmedium zonehigh zone30506070809095fraud_score threshold (flag transactions at or above)PrecisionRecall79.6%69.3%100%48.8%

Above 50 the system acts at once; from 30 to 49 the customer confirms and a person approves.

View as table
ThresholdFlaggedOf which fraudPrecisionRecall (with score)Recall (all frauds)
score ≥ 302,9822,37379.6%69.3%55.0%
score ≥ 501,6701,670100.0%48.8%38.7%
score ≥ 601,3431,343100.0%39.2%31.1%
score ≥ 70999999100.0%29.2%23.1%
score ≥ 80673673100.0%19.6%15.6%
score ≥ 90339339100.0%9.9%7.8%
score ≥ 95178178100.0%5.2%4.1%
[data] queries/pitch/p08_fraud_score_thresholds.sql

Complaint contacts resolve less, last longer and leave follow-up

43.6%[data]

complaint contacts resolved at first contact

76.6%[data]

the whole bank

Complaint contactsWhole bank

Resolved at first contact (FCR) · % of contacts

43.6%
76.6%

Requires follow-up · % of contacts

63.0%
34.8%

Median contact duration · min, scale 0–10

7.18 min
4.85 min

More than half are not resolved the first time: the goal is first-contact resolution.

View as table
MeasureComplaint contactsWhole bank
Resolved at first contact (FCR)43.6%76.6%
Requires follow-up63.0%34.8%
Median contact duration7.18 min4.85 min
[data] queries/pitch/p02 · p03 · p04

Where the 4,316 labeled frauds fall in the three zones

45.0%[data]

of the frauds have a low score or none

  • High zone · score ≥ 50
  • Medium zone · score 30–49
  • Human zone · score < 30
  • Human zone · no score
38.7%16.3%24.4%20.6%

The handoff to a person is a main path, so the system always opens a case.

View as table
Zone (contracts/policies.yaml)What the system doesFraudsShare
High zone · score ≥ 50Block the card, verify, open the case1,67038.7%
Medium zone · score 30–49The customer confirms; an analyst approves the block70316.3%
Human zone · score < 30Open the case and hand off to an analyst1,05224.4%
Human zone · no scoreOpen the case and hand off to an analyst89120.6%
[data] queries/pitch/p08_fraud_score_thresholds.sql · p07_fraud_per_month.sql

queries/pitch/*.csv [data] — full synthetic dataset, see queries/README.md · generated 2026-10-05 at d097095

Operation

Bank today: the bank's own unrecognized and wrongful charge complaints, January to May 2026; With Nick of Time: the same volume taken in by the system over real card charges, with no language model.

Compared with the other series

Compared with: With Nick of Time (simulated)

Resolved at first contact (FCR)

43.6%[data]

5 months · other series: With Nick of Time (simulated), complete intake at first contact (upper bound) 99.8% [simulated]

Jan 2026May 2026

The bank's FCR means a complaint contact resolved at first contact.

View as table
MonthShareNumeratorDenominatorPer month
2026-0143.6%51,021117,021same period value
2026-0243.6%51,021117,021same period value
2026-0343.6%51,021117,021same period value
2026-0443.6%51,021117,021same period value
2026-0543.6%51,021117,021same period value
5 months43.6%51,021117,021same period value

Compared with: With Nick of Time (simulated)

Days to a first response (proxy)

1.5 d[data]

5 months · other series: With Nick of Time (simulated), days to a receipt with a legal deadline Same contact [simulated]

Jan 2026May 2026

First response date minus creation date, in days: the closest proxy the dataset has, since it records no receipt or legal deadline.

View as table
MonthMedianMeannWithout a value
2026-011.5 d1.6 d437258
2026-021.6 d1.6 d399216
2026-031.6 d1.6 d438285
2026-041.6 d1.6 d437243
2026-051.5 d1.5 d414277
5 months1.5 d1.6 d2,1251,279

Context for Bank today only

Defined differently in each series, so never compared.

Context · Bank today only

Escalated inside the bank

5.3%[data]

5 months

Jan 2026May 2026

Complaints whose status is Escalated at the dataset's snapshot: moved up a level inside the bank.

View as table
MonthShareNumeratorDenominator
2026-016.2%43695
2026-023.9%24615
2026-036.4%46723
2026-043.7%25680
2026-056.2%43691
5 months5.3%1813,404

Context · Bank today only

Flagged outside SLA by the bank

21.0%[data]

5 months

Jan 2026May 2026

The dataset's own sla_breached flag, by intake month.

View as table
MonthShareNumeratorDenominator
2026-0120.3%141695
2026-0221.6%133615
2026-0318.7%135723
2026-0422.8%155680
2026-0522.0%152691
5 months21.0%7163,404

Context · Bank today only

Days to the final resolution

15.0 d[data]

5 months

Jan 2026May 2026

Bank only: a person decides the final resolution, so it is not simulated.

View as table
MonthMediann
2026-0113.0 d162
2026-0215.0 d139
2026-0317.0 d169
2026-0416.0 d175
2026-0515.0 d168
5 months15.0 d813

queries/ops/asis_monthly.sql on gold complaints; FCR from queries/pitch/p02_fcr_complaint_vs_bank.csv · 2026-01 to 2026-05

make ops-replay — Bank today [data] and the card-charge replay [simulated], memory store · generated 2026-10-06 at 8225f76

How it's built

  1. 1Full dataset

    The bank's complaints, contacts and transactions, every month.

  2. 2queries/pitch/*.sql

    One query per number, its CSV output committed beside it.

  3. 3pitch_numbers.json

    Built from the CSVs only; a test fails if it drifts.

  4. 4Charts

    The charts above display the file; they compute nothing.

Every figure above is a committed query output, never typed.