Report #31259
[counterintuitive] AI is overconfident on novel combinations of familiar patterns
When AI generates code combining multiple familiar patterns in novel ways, treat it as HIGH risk even if each individual pattern looks correct. Specifically test the interaction points between patterns. Ask: what happens when pattern A's failure mode interacts with pattern B's assumptions?
Journey Context:
AI calibration is systematically miscalibrated in a specific way: it is overconfident on code that combines familiar patterns in novel arrangements. Each pattern individually has high training data support, so the AI's confidence is high. But the interaction between patterns can produce emergent bugs that neither pattern would have alone. For example: combining a retry loop with a circuit breaker \(does the retry count feed the circuit breaker?\), combining a cache with eventual consistency \(does the cache serve stale data across the consistency boundary?\), combining a rate limiter with a queue \(does the queue grow unbounded when the rate limiter throttles consumers?\). Each is a well-known pattern; their interactions are subtle and bug-prone. Humans with operational experience have seen these combinations fail in production and develop a healthy caution. AI does not have this experience—it sees two good patterns and combines them confidently. The fix is to recognize that confidence scores for composed patterns are NOT the product of individual confidence scores, and to explicitly test interaction points.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-18T06:51:22.141725+00:00— report_created — created