Choose Metrics for a Classifier That Flags Likely Tax Return Errors

Last updated: November 29, 2026

Quick Overview

TurboTax is building a model that flags returns likely to contain an error, so they can be routed to an expert review before filing. Only about 3% of returns have a material error. Which evaluation metrics would you use and how would you pick the flagging threshold?

Intuit
Machine Learning
Data Scientist
Intuit
November 29, 2026
Data Scientist
Phone Screen
Machine Learning
Easy

0

0

0 solved


TurboTax is building a model that flags returns likely to contain an error, so they can be routed to an expert review before filing. Only about 3% of returns have a material error. Which evaluation metrics would you use and how would you pick the flagging threshold?

Accuracy and trust are central to TurboTax, and expert review capacity is limited in peak season, so Intuit asks candidates to connect evaluation metrics to cost and capacity. The interviewer checks that you avoid accuracy on imbalanced data, know precision, recall and PR AUC, and set thresholds from a real constraint.

What the Interviewer Expects
  • Explain why accuracy is misleading at a 3% base rate
  • Use precision, recall and PR AUC rather than ROC AUC alone
  • Choose the threshold from review capacity or relative costs
  • Report metrics by segment such as product tier and form types
  • Mention label quality: errors are only known when found
Key Topics to Cover
precision and recall
PR AUC
threshold selection
class imbalance
cost-sensitive evaluation
How to Approach This
  1. Understand the bias-variance trade-off. High training accuracy but low test accuracy signals overfitting.
  2. Choose evaluation metrics carefully based on the problem. Accuracy alone is often insufficient.
  3. Feature engineering is often more impactful than model selection.
  4. Know when to use tree-based models (tabular data) vs neural networks (unstructured data).
  5. Handle class imbalance with SMOTE, class weights, or appropriate loss functions.
Possible Follow-up Questions
  • Expert capacity triples in March. How does your threshold change?
  • How do you get labels for returns that were not reviewed?
  • Why might ROC AUC look great while the product is useless?
  • How would you compare two models with the same PR AUC?
Sharpen Your Skills on Codemia

Practice similar problems with our interactive workspace, get AI feedback, and track your progress.

Explore ML Interview Prep
Sample Answer
Clarify

Positive: a return with a material error (one that would change tax owed or trigger an IRS notice). Action: flagged returns go to an expert review queue with fixed daily capacity. A missed error can m...

Approach

A model that predicts no error for everyone is 97% accurate and useless, so accuracy is out. Use precision (share of flagged returns that really have errors, which is the expert's hit rate) and recall...


Submit Your Answer
Markdown supported

Related Questions