Protocol
Most dermatology papers leak test images into train via near-duplicates. We make leakage impossible to ignore.
Checklist
Every image decoded -> SHA256 of raw pixels. Cross-split exact duplicates removed before any training. Manifest published with all 656 entries.
python scripts/check_leakage.py --data_root ./data --out ./hashes/manifest_sha256.csvReproducibility
One commandpython fairderm.py --seed 42 --full
Deterministictorch + numpy + python seeded, cudnn deterministic
Splits CSVsplits/seed42/{train,val,test}.csv published
Hasheshashes/manifest_sha256.csv + pHash manifest
Metricsmetrics_seed42.json with CIs
Envpython 3.10, torch 2.2, GPU; deterministic seed-42 only
Why this matters
ISIC 2020 has ~2.1% near-duplicates across official splits (pHash). Without SHA256 check, you get +3-5% inflated AUC and think you solved fairness. We didn't. We fixed the evaluation first.

