How do you decide between automating a cleaning step versus handling it as a manual review, especially for edge cases?

Quick Overview

Asks how you decide whether a data cleaning step should run automatically or go to human review, with attention to ambiguous edge cases. Tests judgment about error cost, volume and reversibility, and how you would design review queues, thresholds and audit trails in a recurring pipeline.

How do you decide between automating a cleaning step versus handling it as a manual review, especially for edge cases?

Role: Data Scientist

Category: Data Manipulation (SQL/Python)

Difficulty: medium

Interview Round: Other

How do you decide between automating a cleaning step versus handling it as a manual review, especially for edge cases? Examples of such steps include standardizing dates, merging duplicate customer records, and fixing out-of-range values in a recurring data pipeline. ```hint Score each step For a given cleaning step, consider how often it fires, how certain the rule is, and what a wrong fix costs downstream. ``` ```hint Split the rows A single step does not have to be fully automatic or fully manual. Think about which rows of it a rule can settle on its own. ``` ### What a Strong Answer Covers - The conditions that favor automation - The conditions that favor manual review - How to handle a step where both apply - How manual decisions turn into new rules, and how the split is monitored over time - Keeping raw values and a record of what was changed and why ### Follow-up Questions - How would you set the confidence threshold that sends a row to the review queue? - After an upstream change, the review queue grows from 50 rows a day to 5,000. What do you do? - How do you check that an automated rule that worked last quarter is still correct? - Two reviewers make different decisions on the same kind of edge case. How do you handle it?

Overview: Asks how you decide whether a data cleaning step should run automatically or go to human review, with attention to ambiguous edge cases. Tests judgment about error cost, volume and reversibility, and how you would design review queues, thresholds and audit trails in a recurring pipeline.

General logo
General
Nov 25, 2026
mediumData ScientistOtherData Manipulation (SQL/Python)
0
0

How do you decide between automating a cleaning step versus handling it as a manual review, especially for edge cases?

Examples of such steps include standardizing dates, merging duplicate customer records, and fixing out-of-range values in a recurring data pipeline.

What a Strong Answer Covers Guidance

  • The conditions that favor automation
  • The conditions that favor manual review
  • How to handle a step where both apply
  • How manual decisions turn into new rules, and how the split is monitored over time
  • Keeping raw values and a record of what was changed and why

Follow-up Questions Guidance

  • How would you set the confidence threshold that sends a row to the review queue?
  • After an upstream change, the review queue grows from 50 rows a day to 5,000. What do you do?
  • How do you check that an automated rule that worked last quarter is still correct?
  • Two reviewers make different decisions on the same kind of edge case. How do you handle it?