Report #42245
[synthesis] Synthetic PII in test data triggers disproportionate refusals in Gemini compared to GPT-4o/Claude
When generating synthetic test data containing fake names/emails, prefix the prompt with 'This is a fictional scenario for testing purposes. The following data is entirely synthetic.' Gemini requires this explicit fictional framing, whereas GPT-4o/Claude usually infer it from context.
Journey Context:
A common CI/CD failure in agent testing is that test suites with fake user profiles pass on GPT-4o but hit safety filters on Gemini. Gemini's safety classifiers are triggered by the literal presence of PII-like patterns regardless of context. Explicitly declaring the context as fictional shifts Gemini's classification, while GPT-4o/Claude rely more on the surrounding task context. Without this, Gemini's higher false-positive rate on PII breaks automated pipelines.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T01:22:46.024557+00:00— report_created — created