\textbf{Imbalance corrections.} SMOTE creates synthetic minority examples by interpolating between a minority point and one of its $k$ nearest minority neighbours~\cite{chawla2011smote}; the imbalanced-learn toolbox packages SMOTE and many variants~\cite{lemaitre2016imbalanced}. We reimplement SMOTE and ROS in NumPy.

\textbf{Effects on calibration and the closest prior work.} Dal Pozzolo et al.\ analyse how undersampling biases posterior probabilities and propose a correction of the posterior~\cite{pozzolo2015calibrating}; our prior-shift offset (Section~\ref{sec:method}) applies the same prior-ratio argument to oversampling and reweighting. The closest prior study is van den Goorbergh et al.~\cite{goorbergh2022harm}: standard and ridge logistic regression with random undersampling, random oversampling and SMOTE, Monte Carlo simulation and an ovarian-cancer case study; calibration became poor (strong overestimation of the minority-class probability), AUROC did not improve, and the sensitivity and specificity gains were matched by shifting the probability threshold. Our LR results on breast cancer (Section~\ref{sec:results}) agree with each of these three findings; relative to that study we add a gradient-boosting learner, a threshold-moving arm evaluated also at a cut-off matched on specificity, an offset test, tuning and recalibration controls, and two further clinical data sets; we do not study undersampling, which they do. The three studies~\cite{carriero2024harms,andersen2026tipping,sirikul2026class} cover more learners, event fractions and real data sets than ours; ours is much smaller.

\textbf{Calibration metrics and learners.} Guo et al.\ document miscalibration of modern neural networks, find temperature scaling effective and use the binned expected calibration error~\cite{guo2017calibration}; we use the Brier score and the logistic recalibration slope and intercept instead, since binned error depends on the binning. Gradient boosting~\cite{friedman2001greedy} is the learner behind tools such as XGBoost~\cite{chen2016xgboost}; we use scikit-learn's implementation~\cite{pedregosa2012scikit}, with fixed settings in the main groups and a tuned grid in the controls.
