# Storage prior shift: exact synthetic counterexample

These are constructed device-week populations, not observations, predictions
for an actual fleet or a reproduction of the cited papers. Positive means at
least one sector-error report within one fully observed week, not whole-drive
failure. A and B are invented signals, not SMART thresholds.

Use Python 3 (standard library only) in this extracted directory:

    python3 model.py --check
    python3 -m unittest -v test_model.py
    python3 -O -m unittest -v test_model.py

fixtures.json owns the counts. The 2% target threshold uses the loaded
source_balanced and target_label_shift priors; it is a model-assumed threshold,
not a validated rule for target_conditional_shift or a real fleet. Original
worked counts and numerical results are unchanged by the implementation repair.
model.py generates results.json with input and generator hashes. The check
requires byte-identical saved output. MANIFEST.json
hashes every other package member. source-map.json distinguishes inspected
primary evidence from the constructed example; no third-party PDF is included.

A valid source posterior and invariant class conditionals are prerequisites for
the prior correction. Equal aggregate event counts do not validate subgroup
probabilities. The code does not infer those prerequisites from storage data.
No confidence intervals or empirical risk estimates are supplied.

Publication checks the captured input and result bytes before packaging them.
This detects inconsistent captured artifacts, not an atomic multi-file snapshot,
a concurrent-writer lock or crash-safe publication. Regeneration skips byte-equal
output files; rerun the explicit check before publishing a completed bundle.

Human explanation:
https://hesela.com/analyses/ml-disk-failure-prediction/#training-prevalence

Corpus definition:
https://hesela.dev/terms/probability-calibration/

The canonical download host is hesela.dev. Publication/reuse policy:
https://hesela.com/cite/
