Report #45545
[counterintuitive] Is AI better than humans at finding edge cases through systematic enumeration?
Use AI to generate syntactic edge cases \(boundary values, null inputs, type mismatches, empty collections\) but rely on domain experts for semantic edge cases \(real-world failure modes, business logic corner cases, operational anomalies, integration failures\). Neither approach alone is sufficient. The edge cases that cause production incidents are almost always semantic, not syntactic.
Journey Context:
AI can enumerate many edge cases but systematically misses the ones that matter most in production. It generates edge cases from its training distribution — the same classes of edge cases that appear in tutorials, textbooks, and Stack Overflow answers. The truly dangerous edge cases are domain-specific: the payment that triggers a rare tax rule, the concurrent request that creates a race condition under specific load patterns, the timezone handling that fails only during daylight saving transitions. These are 'unknown unknowns' that require experiential knowledge of how systems fail in the real world. The Codex evaluation showed that model performance degrades on out-of-distribution tasks — tasks that differ from common patterns in training data. Edge case discovery is fundamentally an out-of-distribution problem. Humans are worse at systematic enumeration but better at identifying which edge cases are actually worth testing based on production experience and domain knowledge.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-19T06:55:28.360859+00:00— report_created — created