Two numbers for one creator
The dashboard showed 1,284 views. The payout file showed 1,197.
Impact: Finance will not release the November payout.
FDE interview labProduct Features
Fix a daily view report.
Your mission · Analytics bug fix
Lumen pays course creators from a nightly view report, and Finance found the dashboard and the payout file disagree for the same creator. Creator Support has 37 open tickets, and Finance will not release the November payout, due in 5 days, until the numbers match.
The dashboard showed 1,284 views. The payout file showed 1,197.
Impact: Finance will not release the November payout.
Late-night plays and retried events are counted on the wrong date.
Impact: Creators are paid for the wrong month.
Edit the components marked “Your work”. The other components show where your changes fit.
| Field | Type | Notes |
|---|---|---|
id | string | Unique per play. A retry reuses it. |
video_id | string | The video played. |
user_id | string | The viewer. |
at | ISO 8601 timestamp | The client's local time, with Z or an offset such as -05:00. |
| Field | Type | Notes |
|---|---|---|
video_id | string | |
views | integer | Retained events for the video in the range. |
unique_viewers | integer | Distinct user_id values among those events. |
samples/events-2026-10-14.json Five events for October 14, including a retry either side of midnight UTC and two plays with a -05:00 offset.[
{
"id": "evt-9f31",
"video_id": "course-intro",
"user_id": "u-118",
"at": "2026-10-14T09:12:40Z"
},
{
"id": "evt-9f32",
"video_id": "course-intro",
"user_id": "u-204",
"at": "2026-10-14T18:03:11-05:00"
},
{
"id": "evt-a001",
"video_id": "lesson-2",
"user_id": "u-118",
"at": "2026-10-13T23:59:58Z"
},
{
"id": "evt-a001",
"video_id": "lesson-2",
"user_id": "u-118",
"at": "2026-10-14T00:00:04Z"
},
{
"id": "evt-9f40",
"video_id": "lesson-2",
"user_id": "u-310",
"at": "2026-10-14T23:30:00-05:00"
}
]samples/report-2026-10-14.json The report Finance expects for that day. evt-a001 belongs to October 13; evt-9f40 is October 15 in UTC.[
{
"video_id": "course-intro",
"views": 2,
"unique_viewers": 2
}
]logs/ingest-2026-10-14.log The gateway accepting evt-a001 twice, six seconds apart across midnight UTC, and the report run that counted it.2026-10-13T23:59:58.912Z gateway accepted event=evt-a001 video=lesson-2 user=u-118 retry=0 2026-10-14T00:00:04.377Z gateway accepted event=evt-a001 video=lesson-2 user=u-118 retry=1 reason=client_timeout 2026-10-15T04:30:01.023Z gateway accepted event=evt-9f40 video=lesson-2 user=u-310 retry=0 2026-10-15T06:00:00.000Z report run=r-2291 range=2026-10-14..2026-10-14 events=5 rows=2
metrics/dashboard-vs-payout-2026-10.csv October totals per creator: the disagreement Finance escalated.creator,dashboard_views,payout_views,difference cr-0042,1284,1197,87 cr-0107,642,640,2 cr-0311,15520,14968,552
BUG-101 A play at 23:30 with a -05:00 offset is reported on the wrong day Reported by Dana (product)
Expected evt-9f40 (23:30 at -05:00, which is 04:30 UTC on October 15) is not in the October 14 report.
Actual It is counted on October 14, the day written in its local timestamp.
BUG-102 A retried event whose first delivery was outside the date range is counted as a view Reported by Ifeoma (data)
Expected evt-a001 counts once, on October 13, where it was first delivered; lesson-2 has no view from it on October 14.
Actual The retry at 00:00:04 is counted as a view on October 14.
BUG-103 Every video shows zero unique viewers Reported by Sam (on-call)
Expected unique_viewers is the number of distinct user_id values for the video, for example 2 for course-intro on October 14.
Actual unique_viewers is 0 for every video.
Scores use evidence from your session. A short or incomplete session may not provide enough evidence for every skill. See a sample scorecard
Here is a video dashboard whose daily report overcounts. Use the AI assistant however you like; I am more interested in how you check its work than in how fast you type. Start by telling me which requirement you think is easiest to get wrong, then make the checks pass.