CLCreditLens
OverviewUnderwritingPortfolioMonitoringFair lendingGovernanceAI assistance

A portfolio project by Siddharth Hiraou. Every figure is generated from the model artifacts in the repository and reproducible with make train. Trained on synthetic data, not a real lender, and no real applicants.

For the model risk team

Is the model still right?

Models do not fail loudly. They quietly stop matching the people applying today, and keep approving with the same confidence they had two years ago.

The question this page answers

Have the people applying today drifted away from the ones the model learned on?

You cannot wait for defaults to tell you. A loan written this month will not be known good or bad for a year, so by the time performance drops you have already written twelve months of bad business. The measures below watch the applicants instead of the outcomes, which is the only signal available early enough to act on.

Population shift

0.0174

stable

Investigate above

0.10

Worth a look.

Retrain above

0.25

Stages a replacement model.

Most-changed input

0.0154

BB_n_late_total

When did the applicants start changing?

Population Stability Index by month of origination. One number hides when a shift began; per-cohort shows the shape.

Do today's applicants score like the old ones?

Training population against the current one. Both binned on the baseline's own quantiles, because re-binning each period would make the measure structurally near zero.

Which inputs moved?

Characteristic Stability Index per input. Once the overall score shifts, this is how you find the cause.

Could a different model do better?

Four candidates on the same unseen loans. A replacement must beat the model already running, not just look good on its own.

ModelOOT AUCOOT Gini
scorecard0.78690.5738
lightgbm0.78980.5795
xgboost0.79080.5817
catboost0.79130.5826champion
stack0.79210.5842

The stack is a ceiling reference only. It is fitted on validation predictions, so its validation score is optimistic by construction, and serving it would require all three base models.

Promotion is gated automatically. A candidate is promoted only if all five checks pass against the incumbent: AUC within 1%, calibration error not worsening, score PSI below 0.25, rank ordering monotonic, and disparate impact not falling by more than 0.05. There is no promote-with-a-warning path. A failing gate raises an issue and leaves the incumbent serving.

Every input, ranked by how much it moved

25 shown, most-changed first.

FeatureCSIVerdict
BB_n_late_total0.01539stable
BB_n_late_12m0.01275stable
BB_late_share_total0.01214stable
BB_mean_status0.01211stable
EXT_mean_x_age0.01146stable
INST_late_share_total0.01018stable
EXT_max0.01012stable
EXT_mean0.00973stable
EXT_SOURCE_20.00962stable
BB_n_late_6m0.00962stable
BB_max_status0.00934stable
CC_util_recent_vs_overall0.00926stable
CC_dpd_share0.00926stable
POS_dpd_share0.00905stable
BB_late_share_12m0.00861stable
CC_util_mean_12m0.00784stable
BB_status_slope0.00771stable
BB_late_share_6m0.00770stable
BB_max_status_6m0.00731stable
POS_dpd_mean0.00717stable
BB_n_late_3m0.00702stable
INST_shortfall_total0.00678stable
INST_paid_to_due0.00652stable
BB_max_status_3m0.00612stable
POS_dpd_max0.00571stable

Everything here compares the out-of-time fold against the training baseline, so it measures drift the model already faced. Live drift against served decisions is available from GET /v1/monitoring/drift when the API is running. Score PSI for this model is 0.0174, which is stable.

Step 4 of 7

Next · Fair lending

Are we discriminating?

→