Wearables and portable devices only record a few ECG leads. A good average accuracy doesn't tell you what you need in practice: for this recording and this diagnosis, should you trust the reduced-lead call, grab a full 12-lead ECG, or ask an expert? I trained lead-aware transformers on the PTB-XL dataset, tested them on reduced lead sets, and turned their calibrated scores into one of those three actions.
I was strict about evaluation. Every decision policy is fitted on a validation fold with patient-level risk control, frozen, and then audited exactly once on a locked test fold. Before it reads a single test prediction, the audit checks hashes, schemas, and provenance, so thresholds can't sneak in from the test set.
My favorite result was a negative one: a model with high AUROC still couldn't be trusted with a single automated decision at a clinically meaningful risk limit. Making "I'm not sure" the safe default, and locking the test set before peeking, mattered more than chasing another point of accuracy.