{
  "scope": "Recount of published night summaries and three selected processed label records; no raw EEG acquisition, algorithm retraining, or complete483-night epoch reconstruction.",
  "night_summary": [
    {
      "condition": "全部",
      "nights": 483,
      "epochs": 430813,
      "hits": 358297,
      "night_mean_accuracy_percent": 82.89993788819876,
      "pooled_hit_accuracy_percent": 83.16763885955159
    },
    {
      "condition": "适应",
      "nights": 75,
      "epochs": 79142,
      "hits": 66958,
      "night_mean_accuracy_percent": 84.60733333333333,
      "pooled_hit_accuracy_percent": 84.60488741755326
    },
    {
      "condition": "正常睡眠",
      "nights": 203,
      "epochs": 216627,
      "hits": 181218,
      "night_mean_accuracy_percent": 83.66315270935962,
      "pooled_hit_accuracy_percent": 83.65439211178662
    },
    {
      "condition": "限制睡眠",
      "nights": 205,
      "epochs": 135044,
      "hits": 110121,
      "night_mean_accuracy_percent": 81.51951219512195,
      "pooled_hit_accuracy_percent": 81.54453363348242
    }
  ],
  "paired_conditions": [
    {
      "metric": "overall",
      "paired_participants": 68,
      "normal_median_percent": 84.57999999999998,
      "restricted_median_percent": 82.52833333333334,
      "median_paired_difference_points": -2.771666666666661
    },
    {
      "metric": "N1",
      "paired_participants": 68,
      "normal_median_percent": 46.34166666666667,
      "restricted_median_percent": 30.836666666666666,
      "median_paired_difference_points": -17.041666666666664
    },
    {
      "metric": "R",
      "paired_participants": 68,
      "normal_median_percent": 84.05000000000001,
      "restricted_median_percent": 76.33666666666667,
      "median_paired_difference_points": -6.040000000000006
    }
  ],
  "selected_examples": [
    {
      "example_night": 1,
      "condition": 0,
      "epochs": 1254,
      "hits": 1029,
      "accuracy_percent": 82.05741626794259,
      "matrix": [
        [
          138,
          6,
          1,
          0,
          2
        ],
        [
          10,
          27,
          6,
          0,
          4
        ],
        [
          10,
          55,
          509,
          1,
          44
        ],
        [
          1,
          0,
          60,
          170,
          0
        ],
        [
          0,
          14,
          11,
          0,
          185
        ]
      ],
      "manual_stage_minutes": [
        73.5,
        23.5,
        309.5,
        115.5,
        105.0
      ],
      "automatic_stage_minutes": [
        79.5,
        51.0,
        293.5,
        85.5,
        117.5
      ]
    },
    {
      "example_night": 2,
      "condition": 1,
      "epochs": 1058,
      "hits": 827,
      "accuracy_percent": 78.16635160680529,
      "matrix": [
        [
          128,
          3,
          0,
          1,
          0
        ],
        [
          12,
          17,
          2,
          0,
          2
        ],
        [
          15,
          40,
          377,
          0,
          38
        ],
        [
          2,
          0,
          103,
          152,
          1
        ],
        [
          1,
          2,
          9,
          0,
          153
        ]
      ],
      "manual_stage_minutes": [
        66.0,
        16.5,
        235.0,
        129.0,
        82.5
      ],
      "automatic_stage_minutes": [
        79.0,
        31.0,
        245.5,
        76.5,
        97.0
      ]
    },
    {
      "example_night": 5,
      "condition": 2,
      "epochs": 672,
      "hits": 560,
      "accuracy_percent": 83.33333333333334,
      "matrix": [
        [
          39,
          1,
          0,
          1,
          0
        ],
        [
          3,
          7,
          2,
          0,
          0
        ],
        [
          8,
          15,
          256,
          5,
          5
        ],
        [
          2,
          0,
          32,
          174,
          0
        ],
        [
          4,
          7,
          27,
          0,
          84
        ]
      ],
      "manual_stage_minutes": [
        20.5,
        6.0,
        144.5,
        104.0,
        61.0
      ],
      "automatic_stage_minutes": [
        28.0,
        15.0,
        158.5,
        90.0,
        44.5
      ]
    }
  ],
  "public_confusion_audit": {
    "matrix": [
      [
        30974,
        3433,
        2544,
        304,
        1067
      ],
      [
        1383,
        4442,
        2774,
        59,
        2064
      ],
      [
        3486,
        5314,
        167684,
        10516,
        9892
      ],
      [
        1109,
        46,
        12139,
        87807,
        202
      ],
      [
        1162,
        2879,
        11933,
        189,
        67390
      ]
    ],
    "epochs": 430792,
    "hits": 358297,
    "difference_from_night_epoch_total": 21,
    "affected_night_summary_rows": 3,
    "night_hits_plus_errors": 430792,
    "matrix_manual_marginal": [
      38322,
      10722,
      196892,
      101303,
      83553
    ],
    "matrix_predicted_marginal": [
      38114,
      16114,
      197074,
      98875,
      80615
    ],
    "summary_duration_marginals": {
      "manu": [
        38857,
        12535,
        194532,
        101332,
        83536
      ],
      "pred": [
        39400,
        29212,
        174427,
        106015,
        81738
      ]
    },
    "note": "The21-epoch denominator gap equals the sum of epochNum-hit-fa in three summary rows. Its processing cause is unverified. Stage-duration marginals still differ between summary fields and the public confusion matrix. No invented cause and no clinical stage-duration claim derived by merging these inconsistent summaries. Only three selected full label files were re-counted; all483 labels were not available in the examined folder (116 files listed)."
  },
  "temporal_toy": {
    "epochs": 60,
    "epoch_seconds": 30,
    "single_epoch_errors": [
      20,
      45
    ],
    "strong_prior_errors": [
      30
    ],
    "weaker_prior_errors": [],
    "indices_zero_based": true,
    "stay_probabilities": [
      0.97,
      0.8
    ],
    "scope": "Constructed two-state likelihoods and Viterbi decoder, not an implementation of YASA or Dreem. Stronger continuity corrects two false wakes but removes one real wake; weaker setting retains it in this selected example."
  },
  "window_comparison": {
    "source": "Ravindran2025 accepted manuscript Table3 and Supplementary TableS2",
    "participants": 62,
    "automatic_recording_period_SOL_bias_minutes": 27.0,
    "lights_off_period_SOL_bias_minutes": -0.3,
    "lights_off_SOL_agreement_limits_minutes": [
      -18.1,
      17.6
    ],
    "note": "Source-reported values, not re-estimation from individual data; changing the evaluation period improves mean SOL bias without eliminating individual error."
  }
}
