# SSD ticket chains, fixed windows and represented nodes

Hesela reanalysis of 18,387 released SSD failure tickets from 2018-2019.
Read [METHOD.md](METHOD.md) for definitions and [RESULTS.md](RESULTS.md) for
generated tables. The machine-readable results include input and program hashes,
joint histograms, cutoff denominators, tied extremes and endpoint sensitivity.

## Reproduce

Python 3.10+ standard library only. Download
[the reproduction package](han-window-concentration.zip) and unpack it into an
empty directory. Keep its two sibling directories together:
`han-window-concentration` and `han-ticket-replay`.
The latter contains the exact original Hesela parser required by the analysis.

Obtain only `ssd_failure_tag.tar.gz` from the immutable upstream URL recorded in
[sources.json](sources.json), and put it in a separate input directory.
The program verifies its SHA-256, member type and expanded size before reading.
It does not extract the archive. No topology archive or optional pandas/NumPy
installation is needed.

From the directory containing the two unpacked directories:

```sh
python3 -B han-window-concentration/analyze.py --raw-dir /path/to/input --output-dir /path/to/results
cmp han-window-concentration/results.json /path/to/results/results.json
cmp han-window-concentration/RESULTS.md /path/to/results/RESULTS.md
python3 -B -m unittest discover -s han-window-concentration -p test_analyze.py -v
python3 -B -O -m unittest discover -s han-window-concentration -p test_analyze.py -v
```

The two comparison commands must succeed without output. The tests cover
24,576 finite-domain configurations; a complete replay checks 2,898
component/endpoint comparisons against an independently enumerated oracle.

## Interpretation

Components connect adjacent records no more than 1,800 seconds apart in one
node or rack. Window peaks instead maximize the records or distinct represented
nodes in a sliding 1,800-second window. Both endpoints are included in the
primary result. Half-open windows are a sensitivity check on the same components.
Ticket and node maxima are computed separately and need not occur together.

No repair durations, concurrent outages, lost chunks, current-fleet rates or
causes are inferred. Cutoff denominators are original nonsingleton components,
not overlapping windows or installed SSDs. The two-year cohort is retrospective.

The original 16-row paper-transcription CSV and previous ticket replay remain
separate and unchanged. See the
[article](https://hesela.com/analyses/ssd-correlated-failures-nodes-racks/#window-concentration)
and [dataset](https://hesela.dev/datasets/ssd-correlated-failures-nodes-racks/#window-concentration).
Only original Hesela code, prose and aggregates are included; raw rows,
identifiers, upstream programs and PDFs are not redistributed.
[manifest.json](manifest.json) binds every packaged file by SHA-256.
