{
  "slug": "failure-label",
  "term": "Failure label",
  "aliases": [
    "failure target"
  ],
  "definition": "A failure label is a recorded outcome assigned to an observation under an explicit rule defining which event counts as failure and when it occurs.",
  "note": "Specify the event, counting unit and timestamp. A disk-prediction study covering 380,000 hard drives counts a disk as failed when operators decide it must be replaced, which follows a failed read or write and an unsuccessful restart, and treats every other disk as healthy. [lu-fast20]\n\nA host-level mitigation study instead labels customer-impacting host failures, such as an unresponsive host, failed VM creation or an OS crash, which often occur well before a component fails permanently. Signals in the n hours before a host failure are positive and older ones negative, and the production horizon is 7 days because feature distributions did not differ significantly beyond it. [levy-osdi20]\n\nMetric warning: section 8.3 calls 20.51% a false positive rate, but it is 100% minus the reported 79.49% precision: unconfirmed alerts divided by hosts that triggered alerts. Conventional FPR divides false positives by actual negatives. The paper also counts successfully mitigated, subsequently confirmed faults as positives. [levy-osdi20]",
  "limitations": [
    {
      "text": "A replacement record is not automatically a physical failure or a service outage; changing the target changes the prediction task.",
      "citationIds": [
        "lu-fast20",
        "levy-osdi20"
      ]
    }
  ],
  "related": [
    "prediction-horizon",
    "temporal-validation",
    "grouped-cross-validation",
    "smart",
    "right-censoring",
    "failure-operation-ticket",
    "recall",
    "prediction-cadence"
  ],
  "citations": [
    {
      "id": "lu-fast20",
      "title": "Lu et al. Making Disk Failure Predictions SMARTer! FAST 2020, section 2.1, p. 153.",
      "url": "https://files.usenix.org/s3fs-public/cdn/fast20-lu.pdf",
      "accessed": "2026-10-23"
    },
    {
      "id": "levy-osdi20",
      "title": "Levy et al. Predictive and Adaptive Failure Mitigation to Avert Production Cloud VM Interruptions. OSDI 2020, section 4.3 and Figure 2, p. 1159.",
      "url": "https://files.usenix.org/s3fs-public/cdn/osdi20-levy.pdf",
      "accessed": "2026-10-23"
    }
  ],
  "status": "shipping",
  "advantages": [
    {
      "text": "Labelling the earlier host-level failure leaves time for mitigation that a permanent-component label would miss.",
      "citationIds": [
        "levy-osdi20"
      ]
    }
  ],
  "supersedes": [],
  "supersededBy": [],
  "firstSeen": null,
  "lastSeen": null,
  "updated": "2026-11-11",
  "provenance": [
    "lu-fast20 re-read 2026-10-23 for the operator replacement rule and the drive count.",
    "levy-osdi20 re-read 2026-10-23 for host-failure labels, the hour-based label window and the 7-day horizon."
  ]
}
