{
  "schemaVersion": 1,
  "kind": "illustrative-arithmetic",
  "sourceSha256": "2c8a6cd33fd902564965bca47e9749d9d8b5c9aa28944a8b35732ee7fcd37122",
  "method": "Exact rational arithmetic; no fitting, random sampling or empirical confidence intervals.",
  "assumptions": [
    "All prevalence and classifier rates in scenarios are hypothetical, not inferred from the paper.",
    "Equal-duration drive-weeks; one alert enables acceleration for that entire interval.",
    "Constant baseline scan rate per drive and acceleration factor two; scan-volume weighting is normalized per drive.",
    "No foreground latency, energy, repair, error-location or data-loss model is included.",
    "No independence assumption is needed for the marginal alert identity; burstiness and shared resource limits remain unmodeled."
  ],
  "formula": "q = recall * prevalence + fpr * (1 - prevalence); volume ratio = 1 + (acceleration - 1) * q",
  "scenarios": [
    {
      "label": "1% prevalence; 2% FPR",
      "prevalence_percent": 1.0,
      "recall_percent": 80.0,
      "fpr_percent": 2.0,
      "alert_percent": 2.78,
      "precision_percent": 28.776978417266186,
      "extra_scan_percent": 2.78,
      "true_positive_weeks_per_million": 8000,
      "false_positive_weeks_per_million": 19800,
      "exact": {
        "alert_fraction": "139/5000",
        "precision": "40/139",
        "true_positive_fraction": "1/125",
        "false_positive_fraction": "99/5000",
        "scan_volume_ratio": "5139/5000"
      }
    },
    {
      "label": "1% prevalence; 10% FPR",
      "prevalence_percent": 1.0,
      "recall_percent": 80.0,
      "fpr_percent": 10.0,
      "alert_percent": 10.7,
      "precision_percent": 7.4766355140186915,
      "extra_scan_percent": 10.7,
      "true_positive_weeks_per_million": 8000,
      "false_positive_weeks_per_million": 99000,
      "exact": {
        "alert_fraction": "107/1000",
        "precision": "8/107",
        "true_positive_fraction": "1/125",
        "false_positive_fraction": "99/1000",
        "scan_volume_ratio": "1107/1000"
      }
    },
    {
      "label": "0.1% prevalence; 2% FPR",
      "prevalence_percent": 0.1,
      "recall_percent": 80.0,
      "fpr_percent": 2.0,
      "alert_percent": 2.078,
      "precision_percent": 3.8498556304138596,
      "extra_scan_percent": 2.078,
      "true_positive_weeks_per_million": 800,
      "false_positive_weeks_per_million": 19980,
      "exact": {
        "alert_fraction": "1039/50000",
        "precision": "40/1039",
        "true_positive_fraction": "1/1250",
        "false_positive_fraction": "999/50000",
        "scan_volume_ratio": "51039/50000"
      }
    },
    {
      "label": "1% prevalence; 2% total budget",
      "prevalence_percent": 1.0,
      "recall_percent": 80.0,
      "fpr_percent": 1.2121212121212122,
      "alert_percent": 2.0,
      "precision_percent": 40.0,
      "extra_scan_percent": 2.0,
      "true_positive_weeks_per_million": 8000,
      "false_positive_weeks_per_million": 12000,
      "exact": {
        "alert_fraction": "1/50",
        "precision": "2/5",
        "true_positive_fraction": "1/125",
        "false_positive_fraction": "3/250",
        "scan_volume_ratio": "51/50"
      }
    }
  ],
  "mttd_ratio_conversions": [
    {
      "baseline_over_adaptive": 1.7,
      "time_reduction_percent": 41.1764705882353
    },
    {
      "baseline_over_adaptive": 1.8,
      "time_reduction_percent": 44.44444444444444
    }
  ],
  "two_percent_of_52_weeks": 1.04,
  "generatedAt": "2026-10-15T21:40:32.819773+00:00"
}
