The interview problem
Design a release gate for a tabular predictor when a newly onboarded source omits fields that were usually present in training.
Original practice, not a reported company interview. Scenarios and numbers are illustrative. Interview date: not applicable. Sources retrieved October 1, 2026.
1. Scope and worked approach
Assume a noncritical operational forecast and source-level missingness metadata. Train an imputation baseline with missing indicators, then test realistic source-specific masks rather than independent random dropout alone. Preserve feature availability timestamps to prevent leakage. Compare accuracy and calibration by missingness pattern. Route unsupported patterns to a simpler model using guaranteed fields or return an uncertainty warning.
2. Trace the design or derivation
Validate availability → preserve missing indicators → choose supported model → predict → monitor source slice
The serving contract should list required versus optional fields and the fallback used when each is unavailable. Record the missingness pattern with predictions using bounded categories rather than unbounded raw combinations in metrics. Review whether the fallback is acceptable to the customer before an outage forces it into use.
3. Calculate the example
Training has 2% missing values for a key feature, but a new source omits it in 80% of records. An overall validation set with 98% complete records supplies little evidence for the new operating regime even if its average error is low.
4. Failure cases and trade-offs
Missingness can encode workflow outcomes; imputation may learn shortcuts that disappear after process changes. A fallback sacrifices accuracy on rich records but gives a stable contract for sparse inputs. Never substitute zero unless zero has the agreed missing-value semantics.
5. Validation, follow-ups and self-review
Hold out entire sources and replay contiguous missing-field outages. Follow-up: what if field availability itself predicts the target? Self-review: distinguish imputation mechanics, source shift and time leakage.
Sources and related practice
Technical reference: scikit-learn.org — Missing-value imputation and indicators.
Source publication/update: Not established. Retrieved October 1, 2026. The workflow, calculations and review exercises are original; this reference is not evidence that a company asked this question.
Continue with Distinguish missingness mechanisms and remedies; Serve a multimodal model when an input is missing.
Continue your preparation
Choose a connected learning path or browse more ML system design questions. Read our editorial method and attribution policy.