# Ticket identity, observation time and failure-group semantics

## Question and placement

Can Hesela independently reproduce the main correlated-failure percentages
from the actual public release, and which seemingly small implementation
choices change their interpretation?

This closes the first empirical gap left by research #6471 / PR #6477.
It does not reuse that packet's synthetic results as field evidence. The target
is the existing correlated-SSD article and dataset evidence, not another page.

## Inputs and what counts

Han et al., FAST 2021, sections 2 and 3 describe administrator-validated trouble
tickets for whole/partial drive failures during 2018-2019. Their method links
neighboring failure times within a node or rack. Source code at revision
5c896eba971add07f214f5c7ef3a39882324eca6 breaks a group only when the next gap
exceeds the threshold. It includes equality although the paper says smaller
than. The release documentation defines the identifier columns as integers,
describes anonymization, and says that the full two-year SMART time series is
not publicly included. [han2021, han-code, alibaba-readme]

We fetched only failure tickets and the static location file: 603,034 and
4,800,328 compressed bytes. SHA-256 pins, a single regular archive-member check
and fixed expanded sizes guard the inputs. CSV is parsed structurally; archives
are read in place, never extracted.

The failure file has 18,387 rows, all labelled failure=1, across 11 models.
There are 18,387 distinct (model,disk_id) keys, but only 17,663 distinct bare
disk labels. 695 labels occur in more than one model; 1,419 rows carry these
shared labels. This establishes a property of the released identifiers, not
the physical cause or exact procedure of anonymization.

Every required model/disk/node/rack/time field is present. Failure times range
from 2018-01-02 03:09:38 to 2019-12-31 22:58:47. All are represented with seconds,
without a timezone or subsecond field. Differences are computed as naive
calendar seconds, matching the source convention. This is not a statement
about clock accuracy, collection cadence or physical failure onset.

## Main result reproduced

At an inclusive 1,800-second threshold:

| Scope | Qualifying rows / all rows | Percent | Nonsingleton groups |
| --- | ---: | ---: | ---: |
| Node | 2,368 / 18,387 | 12.878664% | 705 |
| Rack | 3,365 / 18,387 | 18.300974% | 744 |

These reproduce 12.9% and 18.3% after rounding to the precision printed by
the authors. We preserve the paper's existing 16 reported rows in Hesela;
our exact counts are separate public-release reanalysis results.

A standard-library adjacent-gap implementation, an independently structured
all-pairs connectivity oracle and the original pandas grouping functions agree.
For the original functions, we compare complete partitions and every grouped
row at 60 and 1,800 seconds for both scopes. Different numeric group IDs or
tie ordering do not count as a discrepancy: comparison uses sets of original
CSV row positions, kept private and not exported.

The all-pairs oracle checks the entire release at 0, 60 and 1,800 seconds,
both strict and inclusive, for both scopes: 12 complete partition comparisons.
Its small-domain test separately enumerates 625 four-event time assignments at
three thresholds and two comparators.

## A real identity trap in the returned complement

The source selects grouped rows by group size, but builds the ungrouped
complement by excluding every row whose bare disk_id appears among grouped
rows. When that label appears in another model, an unrelated singleton can
also be excluded.

| Scope and threshold | Correct singleton rows | Source complement | Omitted |
| --- | ---: | ---: | ---: |
| Node, 60 s | 16,541 | 16,371 | 170 |
| Node, 1,800 s | 16,019 | 15,825 | 194 |
| Rack, 60 s | 15,737 | 15,508 | 229 |
| Rack, 1,800 s | 15,022 | 14,763 | 259 |

The executed original function produces these counts. A composite-key
complement restores the full complement in this release. More directly,
negating the same row/group membership mask used for the positive class avoids
a second identity join entirely.

A three-row synthetic control isolates the mechanism: two A-model records
form one group; a B-model singleton shares the first A record's disk label.
The disk-only exclusion drops the B record; row-membership and composite-key
controls retain it. A globally unique-label control has no discrepancy.

**Scope of impact:** get_intra_failures and the threshold-share calculation
divide grouped rows by the complete input row count. They do not construct that
denominator by adding the function's two outputs. Thus this complement problem
does not change the reproduced headline fractions. We do not infer that every
other paper result is affected. Other functions receive different subsets;
their downstream impact requires a separate targeted audit.

A user who treats the two returned frames as an exhaustive partition, however,
will silently lose rows. This is a reproducibility warning about this pinned
release/function combination, not an allegation about hardware or intent.

## Topology serialization is not topology disagreement

The location file has 965,495 rows and unique (model,disk_id) keys, 238,740 node
labels and 28,585 rack labels. All 18,387 failure keys match exactly one location
row. Node labels match directly. All rack labels differ as strings because the
location file uses integral decimal notation while failure records use integer
notation. Exact Decimal-to-integer normalization, restricted to the documented
integer columns, produces zero rack mismatches.

No binary-floating-point conversion is used. A regression above 2^53 ensures
distinct large integer labels remain distinct. This does not endorse numeric
coercion of arbitrary identifiers or dropping meaningful leading zeros in
other schemas.

No location join is needed for the headline grouping: node and rack fields
already exist in the failure file. Keeping the join audit separate avoids
silently dropping/multiplying failure records. The static topology is not a
device-day denominator, a complete installation/removal history or a repair log.

## Threshold equality is measurable, but small here

At 1,800 seconds, inclusive versus strict grouping leaves node counts unchanged.
For racks, exactly one adjacent gap equals 1,800 seconds: the inclusive rule
adds two grouped records (3,365 rather than 3,363), a difference of approximately
0.01088 percentage points of all 18,387 failures. Both values round to 18.3%.

At 60 seconds, three node gaps and two rack gaps equal the boundary. Inclusive
grouping adds three records for each scope, but changes the rack group count
by one and leaves the node group count unchanged. Gap counts, changed event
labels and group counts are not interchangeable.

The zero-threshold diagnostic finds 533 node-grouped and 763 rack-grouped rows
sharing exact recorded seconds with another same-scope record. These are not
evidence that physical failures were simultaneous. Ford et al. explicitly tie
their burst threshold to monitoring cadence and distinguish chained event
starts from overlapping outage duration; their Google availability records
and two-minute threshold are not interchangeable with Alibaba tickets.
[ford2010]

## Chaining and overlapping scopes

The longest observed node group spans 2,859 seconds (47 min 39 s) and the
longest rack group spans 4,876 seconds (81 min 16 s), despite the 30-minute
adjacent-gap rule. Five node groups (17 rows) and 15 rack groups (71 rows) span
more than 30 minutes. The maximum rack group size is 89, agreeing with the
paper's reported maximum; the largest group and longest group need not be
the same group.

Every node-grouped row is also rack-grouped in this release. The two counts
cannot be added: their union is 3,365, and 997 rows are rack-grouped but not
node-grouped. Separately, 382 rack groups cross node boundaries and contain
2,223 records. The 997 rack-only labels are not the same quantity as the
2,223 records in cross-node groups. These distinctions matter when turning
a failure plot into an argument about placement or redundancy.

## Statistical and execution limits

This is a deterministic descriptive analysis of the pinned released rows.
There is no random sample in the computation and no synthetic replacement for
these observations. We give exact numerators and denominators, not an iid
binomial confidence interval over dependent group labels.

Generality remains uncertain: one operator, historical two-year coverage,
anonymized model labels, incomplete longitudinal exposure, and unknown relation
between recorded ticket time and failure onset. The study does not estimate a
current fleet rate, test independence, identify a shared firmware cause, measure
data-loss probability, or evaluate a repair/placement policy.

We executed four selected unmodified original function bodies with Python
3.12.3, pandas 2.2.3 and numpy 2.2.6. This is not the original historical runtime,
not a complete rerun of measure.py, and not a reproduction of its SMART or
redundancy simulation sections. No existing 2019-12-31 SMART file was needed
or downloaded. The complement mismatch was discovered during validation and
then isolated with controls, not hidden by weakening the grouping check.

## Integration and next experiment

Integrate the concise proposed insertion only after scientific/editorial
review; link the exact scripts/results from the existing article's evidence
surface. Replace the old sentence that threshold equality has not been measured
only when the new source package is actually published.

An empirical independence comparison remains a different task. It must specify
exposure, ascertainment, device identity, scope history, timestamp observation
and the sampling scheme before computing a null. A static topology count and
a continuous-time synthetic null alone do not supply those missing contracts.
