KatInterview

Diagnosing a 15% Monthly Rise in Batch Job Turnaround Time

Statistics & ExperimentsModel answer
MediumModel answerStatistics & Experimentsroot-cause-analysismetric-diagnosismix-shift

Last updated

A key operational duration metric rose 15% month over month; explain how you would find the root causes with data and what actions you would recommend.

Scenario

You are an analyst at a company that runs payroll for small and mid-sized businesses. In a review with a senior analyst, you are told:

"Average end-to-end payroll processing time is up 15% compared with last month."

Nobody yet knows why, and you are asked to take ownership of the investigation.

Task

Walk through how you would use data to find the root causes and what you would recommend afterward. A strong answer covers:

  1. How you would pin down what the metric means and decide whether the increase is real.
  2. Which hypotheses you would form and how you would group them.
  3. Which datasets you need and which cuts of the data you would run (time, geography, product tier, and so on).
  4. The order in which you would carry out the investigation.
  5. How you would turn the findings into fixes or experiments, including how you would measure success and avoid side effects.

State your assumptions explicitly, and mention edge cases that could make the change look bigger or smaller than it really is.

Hints

Hint 1

Before analyzing anything, ask what the start and end events are, whether the 15% is a mean or a median, and whether the two months contain different numbers of business days or holidays.

Hint 2

Rule out measurement problems (logging changes, duplicates, runs still in progress) and then split total time into its stages to see which one accounts for most of the increase.

Hint 3

Separate mix shift (a different customer or payroll composition) from rate change (the same kind of payroll getting slower), and tie every proposed fix to a diagnosed cause with a guardrail metric.