KatInterview

Registration Bug Financial Impact Analysis

Statistics & ExperimentsModel answer
MediumModel answerStatistics & Experimentsfinancial-modelingcohort-analysisrevenue-impact

Last updated

Calculate the net profit impact of a database bug affecting user registration states over a three-month period using cohort-based analysis.

A software defect in your user database affects how Premium subscribers are tracked between January 1st and March 31st. The system should register Premium members to earn a 2% transaction fee on their purchases; non-registered members generate a 1% fee instead. Registration also triggers a $1.25 monthly administrative expense per user.

The bug causes two distinct problems:

  1. Subscribers who downgrade are not unmarked in the system — they remain flagged as registered even after leaving Premium tier
  2. Newly enrolled Premium subscribers are not marked — they stay unregistered despite joining Premium

Volume data:

  • 400 Premium subscribers downgrade each month
  • 2,000 new Premium subscribers enroll each month

Spending patterns:

  • Premium tier members: $625/month average
  • Standard tier members: $500/month average

The system earns revenue from transaction fees and incurs costs from administrative overhead on registered accounts.

Your task: Calculate the total profit impact (revenue minus costs) over the full three-month period compared to correct system behavior. Break down the calculation by showing:

  • The financial effect per user per month for each bug type
  • User-months affected for each monthly cohort
  • Separate revenue and cost impacts
  • The final net dollar impact

Assume downgraded users immediately shift to Standard tier spending levels, and that each cohort remains affected from the month it enters until March 31st when the fix deploys.

Hints

Hint 1

Calculate the per-user-per-month financial difference between buggy and correct behavior for each failure mode separately before scaling up

Hint 2

Remember that January cohorts accumulate 3 months of impact, February cohorts 2 months, and March cohorts 1 month

Hint 3

The two bug types have opposite effects on profitability — one accidentally helps, one hurts