How would you evaluate whether a safety filter is overblocking?

Instruction: Describe how you would tell whether a guardrail is blocking too much legitimate work. Use the supplied reviewed sample to calculate the false-positive rate, false-negative rate, and fraction of blocked requests that were permitted. Explain what the sample cannot establish.

Context:

A reviewed evaluation sample has 900 permitted requests: 45 blocked and 855 allowed. It also has 100 prohibited requests: 20 allowed and 80 blocked. Treat the labels as correct for this exercise.

Updated

Example Answer

I would compare blocked cases against legitimate workflow goals, not just against abstract harmlessness. A filter is overblocking when it prevents the product from doing valid jobs too often or in the wrong places.

That means reviewing false positives by segment, language, workflow type, and business criticality. A filter that is acceptable on casual traffic can be unacceptable on enterprise workflows if it blocks common legitimate actions or content.

I also want user and operator behavior in the picture. Workarounds, support complaints, and manual overrides are often strong signals that the filter is too blunt.

Concrete example

Have reviewers label permitted and prohibited cases under the same policy. Track the share of truly permitted cases that the filter blocks, and inspect which blocked workflows users actually need to complete.

Limit to explain

Blocked traffic alone cannot reveal missed unsafe cases. Review allowed traffic too, and record the denominator and sampling method behind each rate.

Follow-up to practice

How would you detect underblocking while reducing false positives?

Worked practice case

The false-positive rate is 45 / 900 = 5% of truly permitted requests. The false-negative rate is 20 / 100 = 20% of truly prohibited requests. Of 125 blocked requests, 45 / 125 = 36% were permitted; that is a different denominator from the false-positive rate.

The sample has a 10% prohibited-request prevalence by construction. Its 36% blocked-request error fraction need not hold in production with a different traffic mix. Report sample sizes and uncertainty, inspect severity and workflow/language slices, and include review of allowed traffic so missed prohibited requests are observable. These aggregate numbers do not establish whether one severe failure is acceptable.

Your preparation path

Work through these questions in order. Read the answer aloud, then explain it in your own words.

Related Questions