When a performance test stops waiting, distinguish a task that completed, a task still running at the cutoff and a task known to have failed. A timeout is not automatically a measured completion time. Removing unfinished attempts can make a slow system look faster by reporting only its easiest successes.
The release artifact should retain every eligible attempt, its observation window and its terminal or unresolved state. Decide which summary is actually known before choosing a compelling average. The outlier review handles extreme observed values; this problem concerns values that have not been observed at all.
All tasks and times in this article are fictional. No real performance test was run.
Define the Event and the Stop Rule
Suppose the event of interest is successful completion of a specified task, and each attempt is observed from launch through five minutes. At five minutes, two attempts are still running. Neither has a recorded terminal failure. The timing boundary is identical for all five attempts.
NIST's censoring explanation describes a reliability study in which observation stops at a planned time and later event times are unavailable. It calls the missing times to the right of that cutoff right-censored. Its examples concern failure times. Here the same observation distinction is applied to completion time; completion is not being relabeled as product failure.
A browser crash that loses the measurement is different. It may be missing telemetry rather than evidence that the task remained incomplete. A known terminal rejection is also different from a still-running job. Preserve those states before any statistical analysis.
Reconcile the Complete Five-Attempt Ledger
| Attempt | Observation | Completion-Time Information | Analysis State |
|---|---|---|---|
| A | Successful at 2 minutes | Exactly 2 | Observed completion |
| B | Successful at 3 minutes | Exactly 3 | Observed completion |
| C | Successful at 4 minutes | Exactly 4 | Observed completion |
| D | Still running at 5 minutes | Greater than 5, final time unknown | Right-censored |
| E | Still running at 5 minutes | Greater than 5, final time unknown | Right-censored |
Three of five attempts complete by the cutoff:60%. That is directly inspectable under this constructed complete observation window. It does not mean the other 40% fail permanently or never complete.
The observed completion times sum 9 minutes. Their mean is 9/3=3 minutes. This is the mean among the three completions observed by five minutes, not the mean time across all five attempts. Labeling it simply average task time would hide the selection rule.
State What the Order Statistics Establish
For the defined five-attempt set, the first three ordered completion times are 2,3 and 4. The remaining two exceed 5 if they eventually complete. The middle, third order statistic is therefore 4 minutes. Under that finite-fixture median definition, the median is identifiable despite the two unfinished attempts.
The nearest-rank 90th percentile would require the fifth order statistic because the ceiling of 0.9×5 is 5. It is beyond the observed five-minute window and not numerically known. Do not publish 5 as p 90 or copy the completed-only maximum 4 into that position.
This finite-record reasoning is not a population confidence interval or a fitted survival estimate. A real analysis with differing follow-up times may need an appropriate method and assumptions, including how censoring relates to the outcome. A simple table is not a universal substitute for that review.
Preserve the percentile convention directly in the method record. The number-check method supports independent arithmetic review; it cannot supply event times the observation window never captured.
Do Not Fill the Unknown Times With the Cutoff
If D and E were assigned exactly 5, the imputed mean would be(2+3+4+5+5)/5=3.8. But the table says both remain incomplete at 5. Their eventual completion times, if finite, are greater than 5. The five-attempt mean would therefore exceed 3.8 minutes, and its exact value remains unknown.
If an attempt never completes, a finite successful-completion mean for all attempts is not established. Reporting a lower bound is not a prediction of eventual completion. The method note should say which event and population the duration concerns.
For a sensitivity demonstration, suppose a separate later observation finds D completed at 8 and E at 20. The total becomes 37 and the mean 7.4 minutes; the median remains 4. Those invented follow-up times show why the completed-only mean 3 cannot stand in for the full result. They are not assumed values for the original release.
Publish a Table With Honest Summary States
| Proposed Output | Supported Fictional Result | Release Treatment |
|---|---|---|
| Attempts observed through cutoff | 5 | Report with common observation window |
| Completed by 5 minutes | 3/5=60% | Report as cutoff completion proportion |
| Mean among observed completions | 3 minutes | Label selected subset |
| Five-attempt median | 4 minutes | Name finite-fixture median definition |
| Five-attempt p 90 | Greater than 5; exact value unavailable | Do not replace with timeout |
| Five-attempt mean | Unknown; exceeds 3.8 if all eventually complete | Do not publish a point estimate |
The research table package should preserve state codes and timing rules. A blank cell labeled not measured communicates more truth than a seemingly complete row of imputed fives.
Test Boundary and Failure Cases
Include a task completing exactly at the cutoff and state whether the observation protocol includes that instant. If it does, record the actual completion at 5 rather than treating it as censored. Capture clock precision and ordering when an event and timeout race.
Include a known terminal failure before five minutes. It belongs in the attempt disposition table, but its handling in a time-to-success analysis requires a declared approach; do not pretend it is merely a later unknown completion. Competing events and retries can change the research question.
Also test a collection outage that starts after launch. The observed window is no longer complete. Retain that limitation rather than reclassifying every unrecorded completion as a timed-out job.
Release the Cutoff, Not an Imagined Ending
Review the caption, chart and social summary against the ledger. “Three of five completed within five minutes” is supported here. “Average completion takes three minutes” without its selected-subset qualification is not.
Keep the protocol, attempts, observation cutoff, event evidence and unavailable outputs together. Release the known completion share and identified summaries, or extend observation under an authorized plan. An unfinished task is evidence with a boundary, not an inconvenient row to erase.
