Skip to main content

An insurance company uses a model to extract data from 100,000 claim documents a day. Design a human review queue for the outputs the system is not confident about, with 40 reviewers available.

System design · Pro 1

Short answer

Clarify error cost and reviewer capacity. Decide what goes to review using validation rules, risk and calibrated confidence, with thresholds set from labelled data to fit capacity. Build a queue with priority, deadlines and assignment, a review screen that shows the source next to the output, and feed corrections back into evaluation sets. Audit a random sample of auto-approved items.

Deeper answer

Requirements: what a wrong field costs, which claims are high value, how long a claim may wait, and how many items 40 reviewers can handle. If each handles about 300 a day, capacity is near 12,000, so roughly 12 percent of documents can be reviewed. The threshold must fit that.

Routing: a model's own stated confidence is often poorly calibrated, so combine signals. Use validation rules (dates, totals that must add up, policy numbers that must exist), agreement between two extraction passes, and a confidence score calibrated on labelled data. High-value claims go to review whatever the score. The queue has priorities, deadlines and assignment with locks. The review screen shows the document with the source region highlighted next to each field.

Trade-offs: a lower threshold catches more errors but needs more reviewers. If the queue grows, do not auto-approve silently: alert and adjust. Reviewers who see mostly correct output start to approve without looking, so insert known test items and measure agreement. Audit a random sample of auto-approved items to estimate the real error rate. Corrections become labelled data for evaluation sets and prompt fixes.

What a strong answer covers

Answer it out loud in the mock interview about 2.5 min

Follow-ups to expect

Common mistakes

Learn it

Human approval steps

Practice System design questions

More on this topic

Today's AI turns are used

Lessons, roadmaps, videos, practice cards and the code playground stay free with your account, with no limit.