Thomas Eapen · Selected work

Follow offline time through the report

Category, group and interval views that reconcile to one synthetic schedule, with the change from snapshot to actual made explicit.

Original tools: Excel / VBA · Example calculations: PythonSynthetic example · independently invented data · One-page A3 landscape
8invented membersTwo generic groups · four intervals
140snapshot offline minutesPerson-minutes across the window
175actual offline minutesPerson-minutes across the window
+35change from the snapshotShared by the downstream dashboard

01 / GROUP AND CATEGORY VIEWS

Keep the same categories in each view

Offline person-minutes · the same events grouped two ways
CategoryGroup AGroup BCombined
change
SnapshotActualSnapshotActual
Learning30354040+5
Coordination15202530+10
Other15301520+20
All categories60858090+35

Every member is assigned to one group. Offline events for the same member do not overlap; contributions from different members are added.

02 / INTERVAL VIEW

Reconcile each reporting window

Invented day · all quantities are person-minutes
IntervalSnapshot offlineActual offlineChangeActual available
09:00–09:303540+5200
09:30–10:003050+20190
10:00–10:304045+5195
10:30–11:003540+5200
Window total140175+35785

Each half-hour contains 240 scheduled person-minutes (8 × 30). Actual available time is scheduled time minus actual offline time: 960 − 175 = 785 minutes.

03 / A SEPARATE BOUNDARY EXAMPLE

Keep midnight inside the calculation

A separate invented event crossing midnightThe event runs from Day 1 at 23:40 to Day 2 at 00:25. It contributes 20 minutes before midnight and 25 afterwards, preserving its 45-minute duration. This event is separate from the daytime reporting data.DAY 1DAY 220 min25 min23:4000:2500:0020 + 25 = 45 minutes · keep the day offset in the data

The event has endpoints 1,420 and 1,465 minutes from Day 1 midnight. Its day offset is retained. It is separate from the daytime report above.

SELECTED DEMONSTRATION CODE / PYTHON

Intersect the event and reporting interval

The endpoints are integer minutes on one continuous timeline. Each contribution is reused in the category and interval views.

left = max(start, window_start)
right = min(end, window_end)
minutes = max(0, right - left)
Selected code from the new calculation that produces this example’s results.

One calculation, several useful views. Preparing valid records and retaining reusable interval contributions makes the grouping, comparison and downstream reporting inspectable. See the dashboard that uses these figures ↗