Edition: abc5c37db6256889edecf814a809bcbe3dc326cb9c770f5fb2e3eab049e91802
---
id: OM.C02
kind: case
title: Reconstructing a Flow from Events
version: 0.1.1
language: en
author: Anna Lubenchenko
license: CC-BY-4.0
license_url: https://creativecommons.org/licenses/by/4.0/
editorial_status: draft
distribution: public
intended_use: Follow a constructed event ledger into compatible flow quantities, explain the completed-only shortcut's failure at a cutoff, and preserve meaning after cancellation, return or splitting.
applicability:
- A completed-duration report is being used to describe all work or to infer the state of an unfinished case.
- Changes in case disposition or tracker structure affect population counts and reported output.
source_refs:
- id: AOM-SEVEN-BOOKS-2026-11-26
description: Authored constructed teaching case informed by the cited seven-book sources; no enterprise case or book dataset is reproduced. Public editions and contributions are identified in the bibliography.
- id: FPF-OPS15.1-423f9d3
url: https://github.com/ailev/FPF/blob/423f9d3fef92bafec7b092b910e8ce056a0f607d/DPFs/Management%20DPF%20Suite/OPERATIONS-MANAGEMENT-PRINCIPLES-FRAMEWORK.md?plain=1#L5066-L5274
description: Operations Management Principles Framework, OPS.15.1, especially sections 4.3-4.5; finite interval construction and the difference between departures and successful output.
relations:
- type: illustrates
target: OM.P02
note: Reconstruct case populations and interval contributions from events under an explicit clock.
- type: illustrates
target: OM.M05
note: Completed-case selection and changed records can distort the interpretation of waiting or output.
- type: illustrates
target: OM.G03
note: The same events support cumulative, completed and open-work views with different questions.
- type: shows_boundary
target: OM.P06
note: An exact historical quantity does not determine the unfinished case's remaining time or a delivery probability.
validation_refs: []
---
# OM.C02 — Reconstructing a Flow from Events
This is a constructed teaching case. Its observations and acceptance rules are supplied assumptions, not telemetry from an enterprise or a hidden evaluation fixture. It shows how an analyst can answer a bounded operating question without treating every completed-case statistic as a description of the open flow.
A service owner asks at hour 5: “Our report says average cycle time is one hour. Does that describe our current work, and can we use it to tell A's recipient when the result will arrive?” The owner needs a truthful waiting account and a useful next step. A cause of delay or a completion probability is not supplied by the records below.
## Define the result and the available events
The service counts three distinct cases, A, B and C. Each case enters on admission and leaves when its own specified result is accepted. There is no cancellation, return, split, missing event or other case in the baseline. All times are continuous elapsed hours on one clock. Event times equal recording times here. Accepted completion means the receiving criterion stated for each case is met; no later deployment or use claim is included.
A case is in WIP when `entry <= t < acceptance`. The snapshot is taken just after all events at its stated time, so C has left at hour 5. The operation is empty immediately before the first entry at hour 0. Events at the starting boundary enter this baseline's counts; departures through the stated cutoff are included. These conventions keep the snapshot and cumulative account consistent.
| Event time | Case | Observed event | Available to the hour-5 decision? |
| --- | --- | --- | --- |
| 0 | A | Admitted | Yes |
| 2 | B | Admitted | Yes |
| 3 | B | Accepted | Yes |
| 4 | C | Admitted | Yes |
| 5 | C | Accepted | Yes |
| 10 | A | Accepted | No; this is a later observation used only for the subsequent account |
At hour 5 the analyst must not use A's later acceptance. A is known to have remained open from hour 0 through the cutoff. Later, at hour 10, the account can be extended with its actual acceptance event. [OM.P02](../patterns/OM.P02-qualify-the-evidence.md) keeps those two evidence states separate.
## Answer the hour-5 question
Two cases have been accepted: B spent one hour in the system and C spent one hour. Their completed mean is correctly one hour. A is still present and has age five hours; its full residence remains unresolved at this decision time.
| Case | Known full residence at hour 5 | Contribution inside the window from 0 to 5 |
| --- | --- | ---: |
| A | At least 5 hours; still open | 5 case-hours |
| B | 1 hour | 1 case-hour |
| C | 1 hour | 1 case-hour |
The population-time area is `5 + 1 + 1 = 7` case-hours. Divide by the five-hour window: mean WIP is `7 / 5 = 1.4` cases. The WIP snapshot just after hour 5 is one case. Both values are correct and answer different questions.
The same area follows from the actual population between events:
| Interval | Cases present | WIP | Area contribution |
| --- | --- | ---: | ---: |
| [0,2) | A | 1 | 2 |
| [2,3) | A, B | 2 | 2 |
| [3,4) | A | 1 | 1 |
| [4,5) | A, C | 2 | 2 |
Accepted throughput over the first five hours is `2 / 5 = 0.4` cases per hour. Multiplying it by the completed mean gives `0.4 × 1 = 0.4` cases, not the actual window mean WIP of 1.4. The shortcut omitted A's five observed case-hours. It did not reveal a failure of the event account or prove that the work items have the wrong size.
For the mean full residence of all three cases, A's eventual endpoint matters. The total is at least seven hours, so the mean is at least `7/3` hours, with no supported finite upper bound at this cutoff. This lower bound is not an expected value. The completed-only mean of one hour cannot fill the missing endpoint or make A due at hour 6.
Return this scoped answer:
> The completed mean of one hour describes B and C. At hour 5, A remains open with age five hours; WIP is one and the observed five-hour mean WIP is 1.4. Its remaining time is not established. For a service decision, recover A's next required operation, readiness, blocker if any, receiving window and feasible response. Use those results to construct a supported scenario or forecast, and retain the actual promise under its terms.
The useful continuation may be direct work under [OM.P05](../patterns/OM.P05-protect-shared-capacity-and-control-release.md), recovery of an unaccepted continuation under [OM.P12](../patterns/OM.P12-reconcile-handoffs-and-recover-orphaned-work.md), or a forecast through [OM.P06](../patterns/OM.P06-reconcile-scope-forecast-and-promise.md). None is chosen solely because A is the oldest case. A single chart does not establish a bottleneck or authorize an expedite.
## Extend the account after A is accepted
At hour 10, matching evidence establishes A's acceptance. The full residences are now A=10, B=1 and C=1 hours. The area over the empty-to-empty observation is `10 + 1 + 1 = 12` case-hours. Mean WIP is `12 / 10 = 1.2`, accepted throughput is `3 / 10 = 0.3` cases per hour, and mean residence is `12 / 3 = 4` hours. The compatible product is `0.3 × 4 = 1.2` cases.
All three departures in this baseline are successful acceptances, so departure rate and accepted throughput coincide. That condition changes in the cancellation variant below. The equality is an exact finite historical calculation for these cases and this window. It is not a forecast, a long-run stability result, a causal explanation or proof of a particular WIP limit's effectiveness.
The cumulative account supplies another check:
| Time just after events | Cumulative entries | Cumulative accepted exits | WIP |
| --- | ---: | ---: | ---: |
| 0 | 1 | 0 | 1 |
| 2 | 2 | 0 | 2 |
| 3 | 2 | 1 | 1 |
| 4 | 3 | 1 | 2 |
| 5 | 3 | 2 | 1 |
| 10 | 3 | 3 | 0 |
The hour-5 completed scatterplot contains `(3,1)` and `(5,1)`, with completion time first. Its aging view contains A at age 5. At hour 10 the completed view adds `(10,10)` and the open population is empty. Average completed duration rose from one to four hours while A stopped waiting. [OM.M05](../models/OM.M05-records-acceptance-and-metric-distortion.md) prevents interpreting this cohort change alone as a newly slower operation.
## Reproduce the baseline arithmetic
The following small calculation uses the final ledger for retrospective checking. Every calculation at cutoff 5 excludes A's future completion from the completed cohort and clips its observed exposure at the cutoff. Using the later file in this illustration does not authorize supplying later evidence to an actual historical forecast.
```python
from fractions import Fraction
# Final verified baseline ledger: (case, entry, accepted departure).
cases = [("A", 0, 10), ("B", 2, 3), ("C", 4, 5)]
for cutoff in (5, 10):
overlap = [max(0, min(d, cutoff) - max(a, 0))
for _, a, d in cases]
completed = [d - a for _, a, d in cases if d <= cutoff]
wip = sum(a <= cutoff < d for _, a, d in cases)
area = sum(overlap)
mean_wip = Fraction(area, cutoff)
mean_completed = Fraction(sum(completed), len(completed))
throughput = Fraction(len(completed), cutoff)
print(cutoff, wip, area, mean_wip, mean_completed, throughput)
```
Expected rows are `5, 1, 7, 7/5, 1, 2/5` and `10, 0, 12, 6/5, 4, 3/10`. This deliberately small program checks the stated construction; it is not a general event-log importer, censoring estimator or queueing simulation.
## Changed condition 1: A is cancelled instead
This is a separate alternative ledger. Replace A's acceptance at hour 10 with a cancellation exit at hour 6; keep all other baseline events and the same 0-to-10 window. There is no acceptance of A at hour 10 in this variant.
A contributes six case-hours, B one and C one. Total area is eight and mean WIP is 0.8. All-departure rate is `3/10`, and the mean residence of those three departures is `8/3`, giving `0.8`. Accepted output remains only B and C: two accepted cases, with accepted throughput `2/10` and accepted mean residence one hour. Multiplying those accepted-only values gives 0.2, which cannot represent the cancelled case's observed exposure.
Record cancellation under its actual meaning. It can reduce active WIP without delivering A's intended result. Whether the original obligation was validly ended, replaced or remains outstanding requires the governing disposition; a tracker cancellation alone does not settle it.
## Changed condition 2: an internal Done status is reopened
This variant retains A's baseline admission at hour 0 and actual receiving acceptance at hour 10. Add an internal check reported Done at hour 6 and a failed receiving check that returns it to work at hour 7. The chosen receiving criterion was never met at hour 6. The two additional events describe work attempts within the same unfinished case.
A's selected-boundary residence remains ten hours and its customer-level population does not leave and re-enter at those status changes. An internal visit account may record separate attempts under its own boundaries. The observed interval from hour 6 to hour 7 remains part of the case's elapsed wait; it is not erased by resetting the latest work start to hour 7. Whether a person was occupied during that interval is a different resource question.
If a different case was genuinely accepted and later reopened under a new service episode, that would require a different account: retain the valid earlier acceptance, the new entry and the relation to the original case. Count episodes for an episode question and original cases for a case question. If later evidence invalidates the earlier acceptance, preserve that correction and revise the affected claims rather than silently recoding a successful historical event. Those alternatives are not assumptions of the present variant.
## Changed condition 3: the tracker splits A
This variant also retains the original customer-level admission at 0 and acceptance at 10. At hour 4 the tracker replaces A with child records A1 and A2, completed at hours 8 and 10 respectively. The supplied receiving rule still requires both children before the original A result can be accepted. B and C retain their baseline events.
The original case population still consists of A, B and C, with the same baseline area and acceptance count. At hour 5 it has one open case, A. A task-level view may have two open children, but it has changed its unit; it cannot be silently spliced into the original three-case series. Closing the parent record as “split” at hour 4 is not an extra customer acceptance. The children's new record dates do not move the recipient's waiting origin from hour 0.
This split may help organize work, but the records alone do not establish earlier usable feedback or increased capacity. If A1 could instead be independently accepted as a useful result, recover that changed receiving criterion, remaining obligation and population before comparing output. Do not assume that all children inherit independent value merely because they have IDs.
## Changed evidence: A is still open at hour 10
This is an evidence alternative, not the accepted baseline at hour 10. Retain A's entry at 0 and B/C's events, but replace the observation of A's hour-10 acceptance with a reliable observation that it is still open. Its known exposure to the cutoff is ten hours, so the area is still 12 and mean WIP still 1.2. The WIP snapshot is now one, accepted count is two, completed mean is one, and A's full duration remains unresolved.
The same window area does not establish the same completion state. Do not set an unknown endpoint equal to the cutoff or borrow the baseline's four-hour full-cohort mean. If the observation does not even establish A's continuing presence, qualify that missing contribution instead of assuming it.
## Work product and limits
The analyst returns the receiving question, boundary and clock, the source events available at the decision time, the interval/count construction, the compatible values and the precise unsupported implication. The changed variants remain separately labelled ledgers. Preserve the particular account used for a consequential decision so a later update does not silently rewrite what was known.
The arithmetic and examples are authored applications of OPS.15.1 by Anatoly Levenchuk, read in full through MCP FPF Tools at snapshot `20261125T054841Z-7b084255babf17c2`, commit `423f9d3fef92bafec7b092b910e8ce056a0f607d`; see the pinned source and its [licensing notice](https://github.com/ailev/FPF/blob/423f9d3fef92bafec7b092b910e8ce056a0f607d/LICENSING.md). The case supplies no active service times, resource calendars, causal attribution or calibrated forecast. Its numerical checks cannot establish those missing results or stand in for independent agent evaluation.
## Attribution and source scope
Authored AOM text: Anna Lubenchenko, [CC BY 4.0](https://creativecommons.org/licenses/by/4.0/). Source contributions and limits are identified in the [public bibliography](../../bibliography.md). FPF sources are by Anatoly Levenchuk, FPF Library, under CC BY 4.0. This AOM adaptation adds operating instructions, explanations and constructed examples under the stated limits; it does not reproduce or implement every source method.
Content SHA-256: e38d94042c505f4cc0dbf93a92484c77596ea68f8e6cec304f62a6588a5176f1