# Temperature-point summaries and request tails

Original Hesela finite counterexample, CC0-1.0. No third-party code or observations.
Run with Node.js 22 or later, without dependencies:

```sh
node --test calculate.test.mjs
node generate.mjs
```

The result records source hashes, runtime and actual generation time.
An optional output-directory argument exports the four source files and result.
Both site branches retain the canonical package under
content/research/temperature-summary; DEV publishes its generated copy.

## Question and construction

Can the vector of point-level mean response times identify individual-request
P90? No. Construct 45 points with ten completed requests each. Population A has
ten 100-us requests per point. Population B has eight 25-us requests and two
400-us requests per point. Every point sums to 1000 us in both populations.
Both have 450 observations and the same 45 means, each 100 us.

Nearest-rank P90 chooses sorted rank ceil(0.9 * 450) = 405.
A returns 100 us. B contains 360 values of 25 us followed by 90 of 400 us,
so rank 405 returns 400 us. Mean, P90 and maximum of the point means are
all 100 us for both populations. Even retaining every point mean cannot
recover the discarded within-point distribution.

The function also distinguishes equally weighted point means from a
request-count-weighted pooled mean. Unequal group sizes need explicit weights.
Missing requests and failed requests are not invented or silently assigned
zero duration. This fixed fixture represents completed requests only.

## Percentile convention and floating-point boundaries

The method is the inverse empirical CDF (the type-1 convention described in
the [R statistical documentation](https://search.r-project.org/R/refmans/stats/html/quantile.html)),
not an interpolated percentile. For a finite JavaScript probability p in (0,1],
select the first sorted rank k whose binary64 fraction k/N is at least p.
Binary search over those fractions avoids multiplication rounding:
0.14 * 100 is 14.000000000000002, so blindly taking its ceiling selects
rank 15 instead of the rank-14 empirical jump. The representable probability
immediately above 0.14 still selects rank 15; no epsilon band merges them.
This is an explicit floating-point boundary convention, not a claim to
recover arbitrary exact-real input probabilities or match R's fuzz policy.

Tests cover empirical jumps at several sample sizes, neighboring representable
probabilities, ties, invalid observations and unchanged input arrays.
Group validation scans values without sorting them; only the point-mean and
pooled-request percentile calculations sort copies. The 45-group construction
therefore needs two sorts instead of 47. This is an operation count, not a
timing benchmark or a claim about SSD performance.

## Relation to source review

Motivation: Luo et al., IEICE Electronics Express 23(18), 20260379 (2026),
section 4.2, DOI https://doi.org/10.1587/elex.23.20260379 .
Full-text publisher HTML reviewed on 2026-10-28:
https://globals.ieice.org/en_publications/elex/10.1587/elex.23.20260379/_f

These are not reconstructed paper observations. No device, SSD simulator,
thermal transition or ECC decoder was run. The construction establishes
non-identification, not the magnitude of any real workload's tail.
No confidence interval applies to these fully specified populations.
