SYNTOLOGY HomeExplorerAtlasCodeMethodologyAboutDevelopersFeedPricing
Paper · 2602.17531 · 2026

Position: Evaluation of ECG Representations Must Be Fixed

John Guttag, Collin Stultz, Zachary Berger, Daniel Prakah-Asante

arXiv · PDF · Open in the Atlas

Code that ran

10 of 11 samples (functions and classes) lifted from this paper's linked repositories executed on a synthesized input in Syntology's jail (0 of them constructed an object rather than computing a result; 2 honoured the contract we drafted, 0 violated it and 0 have no contract verdict; 8 failures of our instrument; 1 no recorded run), measured 2026-11-22; bodies inline only under a permissive licence as GitHub detects it. Not a reproduction of the paper's results.

"Ran" means the function executed on a synthesized input and returned a value. It is not a reproduction of the paper's results. This record, dated, as JSON: /api/ran/2602.17531.json · badge: /api/ran/2602.17531.svg

Each repository's role is a label: a classifier's output recorded on the link, or, where no role is recorded, what the Papers with Code archive marked. The line under it names its basis. Neither says who wrote the code.

RepositoryRoleRan
zackeberger/ecg-fix canonical (classifier label)
classifier basis: census
10 ran · 1 no recorded run
FunctionStatusWhere it lives
calculate_auc Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
zackeberger/ecg-fix/external_src/CLOCS/prepare_miscellaneous.py
pointer only (licence: NONE) · get_code("589a7e55ed3ed424")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, zackeberger/ecg-fix when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

flatten_arrays Ran
ran, honoured the contract we drafted
zackeberger/ecg-fix/external_src/CLOCS/prepare_miscellaneous.py
pointer only (licence: NONE) · get_code("c528e716be8c1416")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, zackeberger/ecg-fix when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

get_download_datasets Ran
ran; our contract draft was wrong, not the code
zackeberger/ecg-fix/src/registry.py
pointer only (licence: NONE) · get_code("304de0586273f571")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, zackeberger/ecg-fix when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

load_initial_model_contrastive Ran
ran; our contract draft was wrong, not the code
zackeberger/ecg-fix/external_src/CLOCS/prepare_models.py
pointer only (licence: NONE) · get_code("0c2b0391f82858eb")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, zackeberger/ecg-fix when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

normalize_datasets Ran
ran; our contract draft was wrong, not the code
zackeberger/ecg-fix/src/registry.py
pointer only (licence: NONE) · get_code("52f7049d5695db9c")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, zackeberger/ecg-fix when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

normalize_models Ran
ran; our contract draft was wrong, not the code
zackeberger/ecg-fix/src/registry.py
pointer only (licence: NONE) · get_code("f21aa7c7f82eb6f1")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, zackeberger/ecg-fix when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

obtain_contrastive_loss Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
zackeberger/ecg-fix/external_src/CLOCS/prepare_miscellaneous.py
pointer only (licence: NONE) · get_code("aa3297178f383027")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, zackeberger/ecg-fix when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

obtain_noutputs Ran
ran, honoured the contract we drafted
zackeberger/ecg-fix/external_src/CLOCS/prepare_models.py
pointer only (licence: NONE) · get_code("1ec8a178a6e65e0f")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, zackeberger/ecg-fix when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

one_epoch_contrastive Ran
ran; our contract draft was wrong, not the code
zackeberger/ecg-fix/external_src/CLOCS/perform_training.py
pointer only (licence: NONE) · get_code("e31c59245567a70a")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, zackeberger/ecg-fix when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

temporal_12lead_contrastive_loss Ran
ran; the contract check could not run (RAISES, DEP_MISSING or TIMEOUT)
zackeberger/ecg-fix/external_src/CLOCS/perform_training.py
pointer only (licence: NONE) · get_code("8b6279ab3c672196")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, zackeberger/ecg-fix when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. A run is recorded.

contrastive_single Not yet run
unverified (harvested, no recorded run)
zackeberger/ecg-fix/external_src/CLOCS/perform_training.py
pointer only (licence: NONE) · get_code("64a02eb3c604bfd5")
How it ran

The body of this sample is withheld: GitHub detected no licence in this paper's repository, zackeberger/ecg-fix when it was checked. The setup block that called it is withheld with it, because it is written against that body. source_path and origin say where the code lives, to read under the repository's own terms. No invocation recorded.

Also present in other papers' code

Of 11 samples lifted from this paper's linked repositories, 11 carry a function identity and 0 do not. Of the 11 distinct functions with an identity, 0 are also present in other papers whose code we hold (0 with at least one paper dated earlier, 0 the same month, 0 later) and 11 are only here among the 52,977 papers whose code Syntology holds (as of 2026-09-26).

Only here means: among the 52,977 papers whose code Syntology holds (51,887 with lifted samples, 1,090 through their assemblies only), as of 2026-09-26, no other paper's lifted samples or current assembly bricks contain an identical function body after normalisation.

Presence, not direction: an identical function body in two papers' repositories does not say who wrote it, which came from which, or that either paper's method rests on it. Matching is exact after normalisation, so a renamed or edited function is not matched. Dates are when papers appeared, not when code was written. Only .py files the harvester lifted are covered; notebooks are not read. A new-style arXiv id YYMM.NNNN dates a paper to the month 20YY-MM; otherwise Paper.year dates it to the year; otherwise it is undated. Dates are when the paper appeared, not when the code was written. Read 2026-11-22.

Repositories linked to this paper

Some links come from the archived Papers with Code dataset (CC BY-SA 4.0): attribution and licence.

Abstract

This position paper argues that current benchmarking practice in 12-lead ECG representation learning must be fixed to ensure progress is reliable and aligned with clinically meaningful objectives. The field has largely converged on three public multi-label benchmarks (PTB-XL, CPSC2018, CSN) dominated by arrhythmia and waveformmorphology labels, even though the ECG is known to encode substantially broader clinical information. We argue that downstream evaluation should expand to include an assessment of structural heart disease and patient-level forecasting, in addition to other evolving ECG-related endpoints, as relevant clinical targets. Next, we outline evaluation best practices for multi-label, imbalanced settings, and show that when they are applied, the literature's current conclusion about which representations perform best is altered. Furthermore, we demonstrate the surprising result that a randomly initialized encoder with linear evaluation matches state-of-the-art pretraining on many tasks. This motivates the use of a random encoder as a reasonable baseline model. We substantiate our observations with an empirical evaluation of five representative ECG pre-training approaches across six evaluation settings: the three standard benchmarks, a structural disease dataset, hemodynamic inference, and patient forecasting. Code is available at https: //github.com/zackeberger/ecg-fix.

For agents

The same record, over MCP at https://syntology.ai/mcp:

get_harvested_code_for_paper("2602.17531")
get_code_for_paper("2602.17531")
have("2602.17531")

The run record, dated, one paper per request, free:

curl https://syntology.ai/api/ran/2602.17531.json

A badge for a README (the split and the date, never a ratio):

[![Syntology run record](https://syntology.ai/api/ran/2602.17531.svg)](https://syntology.ai/paper/2602.17531)

Connect an agent — have() is free.