InterviewStack.io LogoInterviewStack.io

Metrics, Guardrails, and Evaluation Criteria Questions

Design appropriate success metrics for experiments. Understand primary metrics, secondary metrics, and guardrail metrics. Know how to choose metrics that align with business goals while avoiding unintended consequences.

EasyTechnical
80 practiced
For a binary fraud-detection classifier with 0.1% prevalence of fraud, discuss the advantages and disadvantages of optimizing for accuracy versus precision, recall, F1, AUC-ROC, and precision@k. Which metric(s) would you recommend as the primary metric and which as guardrails in deployment, and why?
MediumSystem Design
62 practiced
Outline the architecture for an offline evaluation pipeline that computes research metrics at scale: ingestion from event logs, preprocessing, metric computation, caching, reproducibility/versioning, and data lineage. Specify technologies you might choose, APIs for reproducible experiments, and how you'd validate metric correctness and detect silent bugs.
EasyTechnical
71 practiced
As a research scientist at an e-commerce company designing recommendation experiments, explain the differences between primary, secondary, and guardrail metrics. For each category provide 2–3 concrete example metrics relevant to a recommender (e.g., CTR, time-on-site, retention, abusive-content-rate), justify why each example fits its category, and identify the stakeholders who care about each metric.
MediumTechnical
79 practiced
For an object-detection research experiment, explain how mean Average Precision (mAP) is computed, how IoU thresholds affect AP and mAP, and what practical choices (IoU thresholds, matching rules, per-class averaging, NMS settings) matter for fair and reproducible evaluation across models.
MediumTechnical
57 practiced
Many production metrics suffer from missing or censored data (for example, user sessions that end before a conversion is observed). Explain methods to handle missingness and censoring when computing experiment metrics, including survival analysis, imputation, inverse probability weighting, and truncation corrections. Discuss pros and cons and when each approach is appropriate.

Unlock Full Question Bank

Get access to hundreds of Metrics, Guardrails, and Evaluation Criteria interview questions and detailed answers.

Sign in to Continue

Join thousands of developers preparing for their dream job.