How we validated our handling time data

Niamh4 Feb 2022

Problem

Handling time (how long support staff work on a task) drives staffing forecasts, shift scheduling and experiments on internal tools. Monzo's handling time was computed from tracking events and had no reference to prove it right. In 2021 the team found that, even while staff were in the internal tool, the exact task was known only 60% of the time. The rest showed two or more tasks at once, which is impossible. Raw handling time was 10x to 300x larger than logged-in time, so experiments were blocked. The target was accuracy within 1% of the true value.

Example from the article: staff keep several tabs and windows of the internal tool open, and no event said which one was in use, so time was counted for several tasks at once.

Solution in brief

Run four checks in order: are the numbers possible, reasonable, spot-checked at the extremes, and equal to an independent measurement. When no second dataset exists, build one from screen recordings with a QR code that encodes time and task ID, annotated by people with a button click. Keep the cheap checks running as dbt tests.

Questions this case answers
  • How to verify that a metric computed from event logs is accurate to within 1% when no independent dataset exists to compare against
  • How to build and scale a human-annotated ground truth for event-derived measurements without typing identifiers by hand
  • How to know whether an event-based operational metric can be trusted for experiments and staffing decisions
  • How to build a ground-truth dataset when no second source exists to compare against

Tools and methods

  • Data quality checks — four-step validation ladder
  • QR code overlay in the tool — task ID and timestamp readable from video
  • dbt — recurring tests for impossible values and outliers
Continue reading — it's free

Google or a one-time email code. No password.