Dataford
Interview QuestionsInterview GuidesExperiencesMock InterviewsPricing
Get started

Evaluate Calibration in Search Ranking

HardModel Evaluation00:00
Practice interviewer
In session
5 left
00:00

Your question is Evaluate Calibration in Search Ranking. Take a moment with it on the right.

Talk me through your thinking if you like. When you're confident, submit your answer and I'll grade it like a real screen (7/10 or better passes).

You need to log in / sign up to chat or submit.

Problem

Scenario

You own a gradient-boosted ranking model that scores historical record hints shown in a genealogy search experience. The model outputs a click probability used both to rank hints and to suppress low-confidence items below a 0.10 threshold. Offline ranking metrics looked strong, but product partners now report that downstream surfaces using the score as a probability are over-triggering because users click far less often than the model predicts in some score bands. You need to determine whether the model is well calibrated, not just well ranked.

Performance Data

MetricValidationProduction
AUC-ROC0.8420.836
NDCG@100.7810.774
Log Loss0.4120.487
Brier Score0.1280.161
Avg predicted CTR0.3120.309
Actual CTR0.3050.241
ECE0.0210.087
P(pred)=0.8-0.9, observed CTR0.840.61
P(pred)=0.6-0.7, observed CTR0.650.49
P(pred)=0.2-0.3, observed CTR0.240.22

Question

How would you measure and diagnose calibration for this model, and what would you recommend if ranking performance remains acceptable but the predicted probabilities are systematically too high in production?