Contact center queueing (Erlang C)

Contact center queueing (Erlang C) is a free synthetic dataset of 2 tables and 2,404 rows, released under CC0. Its 1 key relationship joins with no orphans, and 4 questions come with the SQL that answers them.

4 queues, 2,400 half-hour intervals over a full business month, where agents_staffed is what Erlang C (1917) says is actually required to clear each queue's own SLA target, not a plausible-looking number.

A call_volume column and an agents_staffed column with no relationship between them can't test a workforce-management pipeline, because the whole point of WFM is that staffing is derived, not chosen independently. Here, agents_staffed is reverse-solved from Erlang C (computed via the numerically stable Erlang B recursion) to be the smallest agent count that clears the queue's declared SLA target, plus a real 20% shrinkage buffer. Wait probability, average speed of answer, and service level are the exact deterministic Erlang C formulas, recomputable from the raw columns. Abandonment follows the same expected-vs-realized split as the credit-risk dataset's expected_loss/realized_loss: a deterministic rate from a competing-exponentials wait/patience model, and a real Binomial draw for what actually happened.

  • contact center
  • Erlang C
  • workforce management
  • queueing theory
  • WFM

Explore

Every table, profiled

Each column's type, spread, empties and most common values, measured from the CSVs in the download. Switch to the first rows to see the data exactly as it sits in the file.

intervals.csv

2,400 rows · 15 columns · 1 foreign keys

interval_idprimary key
unique on every row
2,400 distinctno empties
queue_idforeign key
points to queues.queue_id
4 distinctno empties
interval_startdate
May 2026Jun 2026
2026-05-04 to 2026-06-12no empties
offered_callsnumber
351.01
mean 20.47median 191 to 57no empties
aht_secnumber
203489
mean 330.2median 327174 to 515no empties
agents_staffednumber
320
mean 8.15median 83 to 20no empties
traffic_intensity_erlangsnumber
0.549.34
mean 3.73median 3.210.13 to 11.66no empties
occupancy_pctnumber
1559.2
mean 42.99median 43.254.3 to 60.4no empties
wait_probability_pctnumber
0.410.8
mean 3.71median 3.30 to 12.5no empties
asa_secnumber
0.214.6
mean 3.41median 2.50 to 17.5no empties
service_level_pctnumber
91.199.7
mean 97.19median 97.689.8 to 100no empties
expected_abandon_rate_pctnumber
0.27.5
mean 2.07median 1.70 to 8.6no empties
calls_answerednumber
351
mean 20.09median 191 to 56no empties
calls_abandonednumber
04
mean 0.38median 00 to 4no empties
realized_abandon_rate_pctnumber
025.01
mean 2.16median 00 to 33.3no empties

Keys

Every join resolves

1 foreign key, 2,400 references checked against the table each one points at. None points at a row that does not exist.

intervals

  • queue_idqueues.queue_id0 orphans

Checks

What we checked

  • every queue clears its own declared SLA target (75-90%) on 100% of its 600 intervals
  • service_level_pct matches an independent Erlang C recomputation on all 2,400 intervals
  • calls_answered + calls_abandoned equals offered_calls exactly, on all 2,400 intervals
  • occupancy_pct and service_level_pct correlate at -0.31 (higher load, worse service)
  • aggregate abandonment stays under 4.0% for every queue over the full month
  • 0 orphaned foreign keys joining intervals to queues

The same checks ship in the zip as INTEGRITY.txt, so you can rerun them in any SQL engine. How we verify

Questions, answered

Worth asking it

Each answer is the query's result on these exact files. Open one for its SQL and rows, then check your own query against it.

  1. 1Does higher occupancy actually correlate with worse service level, the real Erlang relationship?Across every interval occupancy and service level correlate at -0.311.
    select 'all queues' as queue_name, count(*) as intervals,
           round(corr(occupancy_pct, service_level_pct), 3) as corr_occupancy_service_level
    from intervals
    union all
    select q.queue_name, count(*), round(corr(i.occupancy_pct, i.service_level_pct), 3)
    from intervals i
    join queues q on q.queue_id = i.queue_id
    group by q.queue_name
    order by intervals desc, queue_name
    queue_nameintervalscorr_occupancy_service_level
    all queues2,400-0.311
    Billing Support600-0.123
    Retention600-0.59
    Sales600-0.213
    Technical Support600-0.171
  2. 2How much staffing buffer (shrinkage) does it take to keep abandonment in an industry-plausible range?Staffed at Retention 2.45 agents per Erlang (4.0% abandoned), Billing Support 1.98 agents per Erlang (1.8% abandoned), Technical Support 1.96 agents per Erlang (1.7% abandoned), Sales 2.84 agents per Erlang (0.8% abandoned).
    select q.queue_name,
           round(avg(i.agents_staffed), 1) as avg_agents,
           round(avg(i.traffic_intensity_erlangs), 1) as avg_erlangs,
           round(sum(i.agents_staffed) / sum(i.traffic_intensity_erlangs), 2) as agents_per_erlang,
           round(100.0 * sum(i.calls_abandoned) / sum(i.offered_calls), 2) as abandon_pct
    from intervals i
    join queues q on q.queue_id = i.queue_id
    group by q.queue_name
    order by abandon_pct desc
    queue_nameavg_agentsavg_erlangsagents_per_erlangabandon_pct
    Retention5.42.22.453.97
    Billing Support9.951.981.8
    Technical Support10.35.21.961.73
    Sales72.52.840.81
  3. 3Does a realistic intraday call-volume curve break a naive flat-staffing assumption?Calls offered per half hour run from 11.1 to 27.5, 2.5x apart over the day.
    select extract(hour from interval_start) as hour,
           round(avg(offered_calls), 1) as avg_offered_calls,
           round(avg(agents_staffed), 1) as avg_agents_staffed
    from intervals
    group by extract(hour from interval_start)
    order by hour
    houravg_offered_callsavg_agents_staffed
    811.35.6
    916.77.1
    1021.78.5
    1125.29.4
    1227.510.1
    1327.510.1
    1425.29.5
    1521.48.5
    1617.17.2
    1711.15.5
  4. 4Which queue's SLA policy is hardest to hit given its volume and patience profile?Sales comes closest to missing: its worst half hour is 6.7 points above its 90% target.
    select q.queue_name,
           q.sla_pct, q.sla_sec, q.patience_sec,
           round(avg(i.offered_calls), 1) as avg_offered_calls,
           round(avg(i.service_level_pct), 1) as avg_service_level_pct,
           round(min(i.service_level_pct), 1) as worst_service_level_pct,
           round(min(i.service_level_pct) - 100 * q.sla_pct, 1) as worst_margin_points
    from intervals i
    join queues q on q.queue_id = i.queue_id
    group by q.queue_name, q.sla_pct, q.sla_sec, q.patience_sec
    order by worst_margin_points
    queue_namesla_pctsla_secpatience_secavg_offered_callsavg_service_level_pctworst_service_level_pctworst_margin_points
    Sales0.9154518.598.896.76.7
    Billing Support0.8207529.997.192.212.2
    Technical Support0.8309022.497.392.612.6
    Retention0.75256011.195.589.814.8

Every query runs on the files in the download as they are. ANSWERS.sql holds all of them; run it in DuckDB from the dataset's folder.

Use it

Take it, or make one shaped like yours

Rebuild it byte for byte

pip install misata
curl -O https://raw.githubusercontent.com/rasinmuhammed/misata/main/examples/contact_center_queueing.py
python -c "from contact_center_queueing import build, verify; t = build(n_business_days=30, seed=17); verify(t)"

This dataset reverse-solves staffing from Erlang C and models abandonment via a competing-exponentials wait/patience relationship, neither of which a per-column declared schema can express, so it ships as a runnable script rather than a schema.yaml a bare misata generate could regenerate honestly.

Your own tables, your own numbers

Describe the data you need in Studio and get connected tables with the totals you state, profiled like this and checked before you download.

Premium datasets

All premium
  • Card spending each month, debit and credit

    2,500 US households at five banks and seven card issuers, two years

    Five banks' raw statement lines, with every label behind them

    Answer key

    • description
    • merchant_name
    • category
    • +6 more
    Rows
    7,627,186
    Tables
    14
    Checks
    50 of 50
    Free previewProfile and preview
  • Gross sales by month, 2024 against 2025

    One online retailer, 30,377 customers, six markets, two years

    Two years of an online store's orders, payments, returns and refunds, reconciled to the cent

    Rows
    436,126
    Tables
    7
    Checks
    44 of 44
    Free preview15-question projectProfile and preview
  • MRR at each month's end

    One SaaS company, 3,431 accounts, three years

    Three years of one company's MRR, deals, customers, billing and support

    Rows
    208,956
    Tables
    12
    Checks
    55 of 55
    Free preview17-question projectProfile and preview

Related free datasets

All 9

Fully synthetic. No real person, company or transaction is represented, and no production data was read to make it. CC0: use it anywhere, no attribution needed.