{
  "schema_version": 1,
  "kind": "exact null-model arithmetic, not fleet data",
  "formula": "M/N + (N-M)*(H_N-1)/(N*(N-1))",
  "assumptions": [
    "fixed N and M",
    "1 <= M <= N",
    "equal observation weights",
    "full ranking",
    "uniform ordering independent of labels",
    "distinct scores for random ranking",
    "constant scores evaluated as one tied group"
  ],
  "source": "https://www.vmsta.org/journal/VMSTA/article/353/text",
  "source_location": "Theorem 1, equation (4), cutoff k=N",
  "generated_on": "2026-11-22",
  "rows": [
    {
      "n": 4,
      "m": 1,
      "constant_score_ap": "0.250000",
      "random_ranking_mean_ap": "0.520833",
      "random_mean_exact": "25/48"
    },
    {
      "n": 4,
      "m": 2,
      "constant_score_ap": "0.500000",
      "random_ranking_mean_ap": "0.680556",
      "random_mean_exact": "49/72"
    },
    {
      "n": 100,
      "m": 1,
      "constant_score_ap": "0.010000",
      "random_ranking_mean_ap": "0.051874",
      "random_mean_exact": "14466636279520351160221518043104131447711/278881500918849908658135235741249214227200"
    },
    {
      "n": 1000,
      "m": 10,
      "constant_score_ap": "0.010000",
      "random_ranking_mean_ap": "0.016427",
      "random_mean_exact": "118170779415613812801649083403263643324819371024801469555755912804404669685689024480019226555747504663333796159001152248496444572732621457204901171638430850435611807000180093990267933540639427452915540356226808710393453992564824902528106112725264596261634393547600432214015713157319815137796001342398294504090446965145818854761811749333815291692544733620813533039855999276162628269698411799439780345427949499169542770849093068163522517/7193673140798412080922442193493493583583525760630310249910656554710272488377303422198957280567634055883642524447025940663098266468235745699206469831616995900619779671774743851883725134536617328647788302038455773742983499174272027420311837653122192138442162073793324397088445707531825054031593080062719286292322267614659388304216578874643734225825217276795530335547822087057876643103104723621085956636658081611919378813386849163552000000"
    },
    {
      "n": 100,
      "m": 100,
      "constant_score_ap": "1.000000",
      "random_ranking_mean_ap": "1.000000",
      "random_mean_exact": "1"
    }
  ]
}
