Skip to content
← Back to the work← Selected work

Case study

Notification data quality

The problem. A billable account does not necessarily imply an expected notification.

My role. I used SQL to compare account populations across billing cycles and investigate differences in notification eligibility.

Approach. Compare account populations across billing cycles.

Context

Accounts and customers are different units of analysis: a customer can have multiple accounts. Comparing notifications requires an explicit eligible population for each cycle.

Approach

  1. Compare account populations across billing cycles.
  2. Investigate differences and notification gaps.
  3. Use the example below to distinguish expected from observed events before interpreting coverage.

What this work produced

My contribution was the comparison and identification of gaps for review. The example explains the reconciliation approach; it does not reproduce production results.

Technical detail

In the example, one row represents an account and cycle. Only rows with an expected notification belong to the denominator. Account identifiers do not provide a customer count.

Engineering considerations

Before applying this pattern, agree eligibility and cycle cutoffs with the process owner. Check duplicate keys, unmatched records and empty eligible populations. Coverage is undefined when no notification is expected.

Illustrative example using synthetic data

Illustrative example using synthetic data. Account labels, cycles and eligibility rules are invented; these are not production figures.

AccountCycleExpectedObserved
F-01AYesYes
F-02AYesYes
F-03AYesNo
F-01BYesYes
F-02BYesNo
F-03BNoNo

Cycle A: 2 of 3 eligible accounts have an observed notification. Cycle B: 1 of 2. F-03 is a gap in A and excluded from B; F-02 is a gap in B.

← Back to the work← Selected work