Keep the launched cohort
Twenty fictional requests are sent at tick 0. Eighteen responses arrive at ticks 1 through 18. The other two have not arrived when observation ends at tick 20. The received-only p95 is 18 under the rule below. That number does not identify the p95 of all twenty requests.[3][4]
The endpoint matters. Here, latency ends at the first client receipt of a declared completed response, measured from send on one trusted fictional client clock. A censored row says that this receipt did not occur through its observation bound. It does not say that server work is unfinished: the work could have completed while the response was lost or delayed. A client API returning a timeout error at tick 20 has a different, valid termination-latency endpoint. This worksheet does not substitute that endpoint for response receipt.[3][4]
- Same observations, different p95: The two missing receipts can be 21/22 or 200/201. Full-cohort p95 can therefore be 21 or 200 while received-only p95 remains 18.
Bound what remains unidentified
We fix the empirical p95 convention before looking at the ledger: sort the latencies and take one-based rank ceil(19n/20). For all twenty requests, that is rank 19. For the eighteen received responses, it is rank 18. NumPy’s documentation describes differing quantile conventions, including this inverse empirical CDF approach, and credits Hyndman and Fan’s work. The worksheet implements the declared rank with integers; it does not call NumPy.[3][4]
Two hypothetical completions of the same observed ledger make the missing information concrete. If the remaining client receipts occur at ticks 21 and 22, full-cohort p95 is 21. If they occur at ticks 200 and 201, it is 200. Both assignments respect the observations. They are compatibility witnesses, not measurements, predictions or imputed receipt times. The observations supply no finite upper bound, and eventual receipt is not guaranteed.[3][4]
The support is nonnegative integer ticks. No receipt through tick 20 therefore gives a minimum compatible receipt latency of 21. In continuous time, the corresponding statement would instead be strictly greater than 20. The worksheet forms a lower bound by sorting exact receipts together with each censored row’s minimum compatible latency. If at least nineteen exact receipts are known, their nineteenth value is the upper bound. Otherwise, the nineteenth full-cohort value can be arbitrarily large under this model. These are compatibility bounds for one finite cohort, not confidence intervals or a population p95 estimate.[3][4]
Retain the endpoint and rank rule
Censoring does not always leave this percentile unknown. With exact receipts 1 through 19 and one row censored through 20, p95 is fixed at 19. Move that single row’s observation cutoff to 0 and the compatible p95 range becomes 18 through 19. One censored row remains in both cases; its observation bound changes what is identifiable. No shared scheduling or resource constraints connect the rows in this model.[3][4]
The other cases preserve the boundary and empty-subset distinctions. An exact receipt at tick 20 is received, while a row with no receipt through tick 20 is censored. With nineteen known receipts including that exact 20, p95 is identified as 20. With all twenty rows censored through 20, received-only p95 is undefined and full-cohort p95 has lower bound 21 with no finite upper bound. With complete receipts 1 through 20, p95 is 19.[3][4]
- Keep the endpoint explicit: A timeout-error return and receipt of a completed response are different events. Missing receipt does not establish server work duration.
All six authored 20-request ledgers. Every value is in fictional integer ticks; full-cohort rank is 19.
| Authored case | Received / censored | Received-only p95 | Full-cohort p95 bounds | Witness p95 values |
|---|---|---|---|---|
| Two tail rows censored | 18 / 2 | 18 | 21; no finite upper | 21, 200 |
| One tail row censored | 19 / 1 | 19 | 19 | 19, 19 |
| One row censored at 0 | 19 / 1 | 19 | 18–19 | 18, 19 |
| Exact receipt at bound | 19 / 1 | 20 | 20 | 20, 20 |
| All rows censored | 0 / 20 | Undefined | 21; no finite upper | 21, 200 |
| Complete cohort | 20 / 0 | 19 | 19 | 19 |
- A censored row means no client receipt through its inclusive observation bound. The +1 lower bound uses integer support; it is not a continuous-time rounding rule.
- Witnesses assign hypothetical finite receipt times consistent with the ledger. They are not observed finishes. No finite upper bound is encoded as null, never as zero.
Original execution, credit and scope
The retained result contains all six authored ledgers, 120 observation rows and eleven separate witness vectors. One standard-library CPU invocation on 2026-11-28 UTC checked six literal summaries and eleven literal witness percentiles, plus twenty selected refusal controls and three positive controls. The controls cover malformed clocks, identities and timestamps; exact receipt versus censor boundaries; incompatible witness values; zero latency; and observation-row order. All passed. The counts describe designed cases, not independent traffic samples or a failure rate.[3][4][5]
NIST/SEMATECH’s censoring chapter supplies the event-time terminology; this example applies it specifically to client receipt. Nodus authored the ledgers, expected answers, witnesses and integer worksheet. The MIT package includes the exact source and complete saved output. The useful reporting step is to retain the full launched cohort, name the latency endpoint and quantile convention, and report the point value or bounds that the observations actually identify.[1][2][3]
- Name the receipt event, retain censored rows and report only the percentile that the observation can identify.
Sources
- NIST/SEMATECH e-Handbook of Statistical Methods — 8.1.3.1 Censoring www.itl.nist.gov
- NumPy Developers — numpy.quantile (including inverted_cdf; credits Hyndman and Fan, 1996) numpy.org
- MIT source and complete saved result data.nodus-compute.ai
- Saved result JSON data.nodus-compute.ai
- Original execution and saved-result provenance data.nodus-compute.ai
- Vector figure data.nodus-compute.ai
