{
  "dataset": "ptbxl-test",
  "labels": {
    "Sinus rhythm": {
      "ptbxl_codes": [
        "SR"
      ],
      "auroc": 0.7494737750172533,
      "ci95": [
        0.7218151372517412,
        0.7775045540955534
      ],
      "n_pos": 1656,
      "n_neg": 490,
      "single_segment": {
        "auroc": 0.7506704130927733,
        "ci95": [
          0.7222599707232452,
          0.7781737666132877
        ],
        "n_pos": 1656,
        "n_neg": 490
      },
      "published_mimic_iv_ecg_test_auroc": 0.968,
      "at_0_5": {
        "threshold": 0.5,
        "tp": 1601,
        "fp": 272,
        "tn": 218,
        "fn": 55,
        "sensitivity": 0.9667874396135265,
        "specificity": 0.4448979591836735
      }
    },
    "Atrial fibrillation": {
      "ptbxl_codes": [
        "AFIB"
      ],
      "auroc": 0.9826486746667995,
      "ci95": [
        0.964499370364175,
        0.9954205255616546
      ],
      "n_pos": 151,
      "n_neg": 1995,
      "single_segment": {
        "auroc": 0.9818586200600841,
        "ci95": [
          0.96523490942963,
          0.9939274697927242
        ],
        "n_pos": 151,
        "n_neg": 1995
      },
      "published_mimic_iv_ecg_test_auroc": 0.976,
      "at_0_5": {
        "threshold": 0.5,
        "tp": 141,
        "fp": 47,
        "tn": 1948,
        "fn": 10,
        "sensitivity": 0.9337748344370861,
        "specificity": 0.9764411027568922
      }
    },
    "Atrial flutter": {
      "ptbxl_codes": [
        "AFLT"
      ],
      "auroc": 0.9558582787652011,
      "ci95": [
        0.9065810368986456,
        0.99348178327133
      ],
      "n_pos": 8,
      "n_neg": 2138,
      "single_segment": {
        "auroc": 0.9570860617399439,
        "ci95": [
          0.8970258474600075,
          0.9957948291742899
        ],
        "n_pos": 8,
        "n_neg": 2138
      },
      "published_mimic_iv_ecg_test_auroc": 0.931,
      "at_0_5": {
        "threshold": 0.5,
        "tp": 7,
        "fp": 168,
        "tn": 1970,
        "fn": 1,
        "sensitivity": 0.875,
        "specificity": 0.921421889616464
      }
    },
    "Tachycardia": {
      "ptbxl_codes": [
        "PSVT",
        "STACH",
        "SVTAC"
      ],
      "auroc": 0.9358258330654665,
      "ci95": [
        0.9241719692262933,
        0.9466015341561284
      ],
      "n_pos": 72,
      "n_neg": 2074,
      "single_segment": {
        "auroc": 0.9379285867352406,
        "ci95": [
          0.9264319636355871,
          0.9485295886882182
        ],
        "n_pos": 72,
        "n_neg": 2074
      },
      "published_mimic_iv_ecg_test_auroc": 0.968,
      "at_0_5": {
        "threshold": 0.5,
        "tp": 71,
        "fp": 222,
        "tn": 1852,
        "fn": 1,
        "sensitivity": 0.9861111111111112,
        "specificity": 0.892960462873674
      }
    },
    "Bradycardia": {
      "ptbxl_codes": [
        "SBRAD"
      ],
      "auroc": 0.9519325443239564,
      "ci95": [
        0.9203744859516242,
        0.9719891097275357
      ],
      "n_pos": 73,
      "n_neg": 2073,
      "single_segment": {
        "auroc": 0.9483773764447,
        "ci95": [
          0.9156935854002255,
          0.9707707953919045
        ],
        "n_pos": 73,
        "n_neg": 2073
      },
      "published_mimic_iv_ecg_test_auroc": 0.965,
      "at_0_5": {
        "threshold": 0.5,
        "tp": 70,
        "fp": 333,
        "tn": 1740,
        "fn": 3,
        "sensitivity": 0.958904109589041,
        "specificity": 0.8393632416787264
      }
    },
    "Premature ventricular contraction": {
      "ptbxl_codes": [
        "PVC"
      ],
      "auroc": 0.987832963374029,
      "ci95": [
        0.9798346149856054,
        0.993262305394039
      ],
      "n_pos": 106,
      "n_neg": 2040,
      "single_segment": {
        "auroc": 0.933786533481317,
        "ci95": [
          0.9027247553634634,
          0.9609442433029999
        ],
        "n_pos": 106,
        "n_neg": 2040
      },
      "published_mimic_iv_ecg_test_auroc": 0.908,
      "at_0_5": {
        "threshold": 0.5,
        "tp": 105,
        "fp": 588,
        "tn": 1452,
        "fn": 1,
        "sensitivity": 0.9905660377358491,
        "specificity": 0.711764705882353
      }
    },
    "Electronic pacemaker": {
      "ptbxl_codes": [
        "PACE"
      ],
      "auroc": 0.9841838646099719,
      "ci95": [
        0.9489392852694973,
        0.9997255817911013
      ],
      "n_pos": 29,
      "n_neg": 2117,
      "single_segment": {
        "auroc": 0.9872135259720165,
        "ci95": [
          0.9581633648849762,
          0.9999458618122758
        ],
        "n_pos": 29,
        "n_neg": 2117
      },
      "published_mimic_iv_ecg_test_auroc": 0.976,
      "at_0_5": {
        "threshold": 0.5,
        "tp": 28,
        "fp": 309,
        "tn": 1808,
        "fn": 1,
        "sensitivity": 0.9655172413793104,
        "specificity": 0.8540387340576288
      }
    },
    "Accessory pathway conduction": {
      "ptbxl_codes": [
        "WPW"
      ],
      "auroc": 0.9006298579469312,
      "ci95": [
        0.8618706243079551,
        0.9325949985968875
      ],
      "n_pos": 14,
      "n_neg": 2132,
      "single_segment": {
        "auroc": 0.8768426695255964,
        "ci95": [
          0.7928975938967137,
          0.9292011278815213
        ],
        "n_pos": 14,
        "n_neg": 2132
      },
      "published_mimic_iv_ecg_test_auroc": 0.972,
      "at_0_5": {
        "threshold": 0.5,
        "tp": 10,
        "fp": 190,
        "tn": 1942,
        "fn": 4,
        "sensitivity": 0.7142857142857143,
        "specificity": 0.9108818011257036
      }
    },
    "1st degree atrioventricular block": {
      "ptbxl_codes": [
        "1AVB"
      ],
      "auroc": 0.9399974279362864,
      "ci95": [
        0.9229518237780501,
        0.9553211161054996
      ],
      "n_pos": 79,
      "n_neg": 2067,
      "single_segment": {
        "auroc": 0.9345777222538626,
        "ci95": [
          0.9152792455138957,
          0.9519579831681719
        ],
        "n_pos": 79,
        "n_neg": 2067
      },
      "published_mimic_iv_ecg_test_auroc": 0.978,
      "at_0_5": {
        "threshold": 0.5,
        "tp": 15,
        "fp": 26,
        "tn": 2041,
        "fn": 64,
        "sensitivity": 0.189873417721519,
        "specificity": 0.9874213836477987
      }
    },
    "Atrioventricular block": {
      "ptbxl_codes": [
        "1AVB",
        "2AVB",
        "3AVB"
      ],
      "auroc": 0.9126754598257503,
      "ci95": [
        0.8896898170286692,
        0.9337141234382478
      ],
      "n_pos": 80,
      "n_neg": 2066,
      "single_segment": {
        "auroc": 0.9116227008712487,
        "ci95": [
          0.8886630036837515,
          0.933307911000122
        ],
        "n_pos": 80,
        "n_neg": 2066
      },
      "published_mimic_iv_ecg_test_auroc": 0.971,
      "at_0_5": {
        "threshold": 0.5,
        "tp": 27,
        "fp": 52,
        "tn": 2014,
        "fn": 53,
        "sensitivity": 0.3375,
        "specificity": 0.9748305905130688
      }
    },
    "Right bundle branch block": {
      "ptbxl_codes": [
        "CRBBB"
      ],
      "auroc": 0.9949416078218359,
      "ci95": [
        0.9921378075427895,
        0.9972983954451347
      ],
      "n_pos": 42,
      "n_neg": 2104,
      "single_segment": {
        "auroc": 0.994477638964331,
        "ci95": [
          0.9914694837815463,
          0.9970027006160058
        ],
        "n_pos": 42,
        "n_neg": 2104
      },
      "published_mimic_iv_ecg_test_auroc": 0.987,
      "at_0_5": {
        "threshold": 0.5,
        "tp": 42,
        "fp": 86,
        "tn": 2018,
        "fn": 0,
        "sensitivity": 1.0,
        "specificity": 0.9591254752851711
      }
    },
    "Left bundle branch block": {
      "ptbxl_codes": [
        "CLBBB"
      ],
      "auroc": 0.9972824548491196,
      "ci95": [
        0.9953922578053874,
        0.9988630276759125
      ],
      "n_pos": 68,
      "n_neg": 2078,
      "single_segment": {
        "auroc": 0.9969215308837683,
        "ci95": [
          0.9949840637460818,
          0.9986018871401176
        ],
        "n_pos": 68,
        "n_neg": 2078
      },
      "published_mimic_iv_ecg_test_auroc": 0.986,
      "at_0_5": {
        "threshold": 0.5,
        "tp": 68,
        "fp": 135,
        "tn": 1943,
        "fn": 0,
        "sensitivity": 1.0,
        "specificity": 0.9350336862367661
      }
    },
    "Infarction": {
      "ptbxl_codes": [
        "MI"
      ],
      "auroc": 0.9154193824284071,
      "ci95": [
        0.9001700596889252,
        0.93000372721865
      ],
      "n_pos": 492,
      "n_neg": 1654,
      "single_segment": {
        "auroc": 0.9106010558291796,
        "ci95": [
          0.8943823635294912,
          0.9253467348779889
        ],
        "n_pos": 492,
        "n_neg": 1654
      },
      "published_mimic_iv_ecg_test_auroc": 0.928,
      "at_0_5": {
        "threshold": 0.5,
        "tp": 363,
        "fp": 143,
        "tn": 1511,
        "fn": 129,
        "sensitivity": 0.7378048780487805,
        "specificity": 0.9135429262394196
      }
    }
  },
  "truth_source": "PTB-XL 1.0.3 ptbxl_database.csv scp_codes (cardiologist statements), matched by ecgfm_runner/labels.py",
  "truth_file_sha256": "7600de9c1b27d181d850b3c6038a35d7c3ddb6bb33b702e3a20252a6859d216b",
  "protocols": {
    "all_segments": "every 5-second piece scored, combined per ECG by the authors' rule (labels.AGGREGATION)",
    "single_segment": "one 5-second piece per ECG, picked with numpy default_rng(0); the paper's protocol (\"randomly sampling a single segment per ECG\")"
  },
  "published": {
    "citation": "McKeen K, Masood S, Toma A, Rubin B, Wang B. ECG-FM: An Open Electrocardiogram Foundation Model. arXiv:2408.05178v2, 2025. Supplementary Table 4 (MIMIC-IV-ECG machine read test results for Full)",
    "url": "https://arxiv.org/abs/2408.05178v2",
    "pdf_sha256": "901402de0809fb2587753ba0471019abf731718b3334b926ed592ab0d4948a87",
    "dataset": "MIMIC-IV-ECG v1.0 test split (the authors' patient-level split), labels from machine-read reports",
    "protocol": "one randomly sampled 5-second segment per ECG"
  },
  "not_scored": {
    "Poor data quality": "no PTB-XL statement matches this label",
    "Ventricular tachycardia": "no PTB-XL statement matches this label",
    "Supraventricular tachycardia with aberrancy": "no PTB-XL statement matches this label",
    "Bifascicular block": "no PTB-XL statement matches this label"
  }
}
