{
  "comparisons": [
    {
      "actual_positive_count": 100,
      "actual_posteriors": {
        "A": {
          "fraction": "4/103",
          "percent_display": "3.8835"
        },
        "B": {
          "fraction": "1/397",
          "percent_display": "0.2519"
        }
      },
      "class_conditionals_equal": true,
      "corrected_expected_positive_count_exact": "100",
      "corrected_scores": {
        "A": {
          "fraction": "4/103",
          "percent_display": "3.8835"
        },
        "B": {
          "fraction": "1/397",
          "percent_display": "0.2519"
        }
      },
      "inferred_prior_if_label_shift_assumed": {
        "fraction": "1/100",
        "percent_display": "1.0000"
      },
      "population": "target_label_shift",
      "source_ranks_A_higher": true,
      "target_ranks_A_higher": true
    },
    {
      "actual_positive_count": 100,
      "actual_posteriors": {
        "A": {
          "fraction": "1/103",
          "percent_display": "0.9709"
        },
        "B": {
          "fraction": "4/397",
          "percent_display": "1.0076"
        }
      },
      "class_conditionals_equal": false,
      "corrected_expected_positive_count_exact": "100",
      "corrected_scores": {
        "A": {
          "fraction": "4/103",
          "percent_display": "3.8835"
        },
        "B": {
          "fraction": "1/397",
          "percent_display": "0.2519"
        }
      },
      "inferred_prior_if_label_shift_assumed": {
        "fraction": "1/100",
        "percent_display": "1.0000"
      },
      "population": "target_conditional_shift",
      "source_ranks_A_higher": true,
      "target_ranks_A_higher": false
    }
  ],
  "event": "at least one sector-error report during that week, not whole-drive failure",
  "feature": "invented binary signal A or B, not a real SMART threshold",
  "generator_sha256": "d500b90cb1a60a130bef8cbbf6d6cd883ea23aaeebf5ad59d26126234323595b",
  "input_sha256": "73035536dd26388c8e37032b579b444530e0e6744b6e82f708f5e3c0b3a3ee2b",
  "kind": "synthetic_exact_counts",
  "limitations": [
    "All counts are stipulated, not observations or fitted model outputs.",
    "No confidence interval, fleet risk, hardware result or paper replication.",
    "Correction requires a valid source posterior and stable class conditionals.",
    "Correct aggregate event counts cannot validate subgroup probabilities.",
    "A source score is not automatically a posterior; calibration is not supplied by this function.",
    "Known target prevalence is an assumption, not an estimate from storage measurements."
  ],
  "populations": {
    "source_balanced": {
      "fpr": {
        "fraction": "1/5",
        "percent_display": "20.0000"
      },
      "negative": 500,
      "positive": 500,
      "posterior": {
        "A": {
          "fraction": "4/5",
          "percent_display": "80.0000"
        },
        "B": {
          "fraction": "1/5",
          "percent_display": "20.0000"
        }
      },
      "prior": {
        "fraction": "1/2",
        "percent_display": "50.0000"
      },
      "signal_fraction": {
        "A": {
          "fraction": "1/2",
          "percent_display": "50.0000"
        },
        "B": {
          "fraction": "1/2",
          "percent_display": "50.0000"
        }
      },
      "total": 1000,
      "tpr": {
        "fraction": "4/5",
        "percent_display": "80.0000"
      }
    },
    "target_conditional_shift": {
      "fpr": {
        "fraction": "34/165",
        "percent_display": "20.6061"
      },
      "negative": 9900,
      "positive": 100,
      "posterior": {
        "A": {
          "fraction": "1/103",
          "percent_display": "0.9709"
        },
        "B": {
          "fraction": "4/397",
          "percent_display": "1.0076"
        }
      },
      "prior": {
        "fraction": "1/100",
        "percent_display": "1.0000"
      },
      "signal_fraction": {
        "A": {
          "fraction": "103/500",
          "percent_display": "20.6000"
        },
        "B": {
          "fraction": "397/500",
          "percent_display": "79.4000"
        }
      },
      "total": 10000,
      "tpr": {
        "fraction": "1/5",
        "percent_display": "20.0000"
      }
    },
    "target_label_shift": {
      "fpr": {
        "fraction": "1/5",
        "percent_display": "20.0000"
      },
      "negative": 9900,
      "positive": 100,
      "posterior": {
        "A": {
          "fraction": "4/103",
          "percent_display": "3.8835"
        },
        "B": {
          "fraction": "1/397",
          "percent_display": "0.2519"
        }
      },
      "prior": {
        "fraction": "1/100",
        "percent_display": "1.0000"
      },
      "signal_fraction": {
        "A": {
          "fraction": "103/500",
          "percent_display": "20.6000"
        },
        "B": {
          "fraction": "397/500",
          "percent_display": "79.4000"
        }
      },
      "total": 10000,
      "tpr": {
        "fraction": "4/5",
        "percent_display": "80.0000"
      }
    }
  },
  "schema_version": 1,
  "target_2_percent_threshold_on_source_score": {
    "fraction": "99/148",
    "percent_display": "66.8919"
  },
  "unit": "one hypothetical fully observed drive-week per distinct device"
}
