Close the Gaps in a PII Redactor

Harden an output redactor that only catches the easy cases.

A intermediate AI Engineering challenge worth 10 points. Solve it hands-on in a real AI Engineering environment in your browser - no local setup, no fake shells.

The Challenge

Scenario: A streaming redaction filter only catches plain emails and simple phone numbers - it lets through email aliases and subdomains, international phone formats, and raw API keys, while accidentally over-redacting a harmless order number.

Extend the redaction rules to correctly mask real PII patterns without producing false positives on the order-number field. Run check.