Report #83657
[counterintuitive] AI coding assistants work equally well on any codebase
When working on codebases that diverge significantly from common open-source patterns \(unusual architectures, proprietary frameworks, domain-specific conventions\), reduce your trust in AI suggestions and increase manual verification. Provide explicit conventions and patterns in your prompts to anchor the AI to your project's style.
Journey Context:
AI models are trained primarily on open-source code from GitHub. This means they are excellent at common patterns \(REST APIs, React components, Django models, Spring services\) but struggle with proprietary patterns that diverge from open-source conventions. An internal framework that uses unconventional naming, custom dependency injection, or domain-specific abstractions will cause the AI to generate code that looks plausible but violates the project's conventions. This is a distribution shift problem: the AI's training distribution \(open-source code\) does not match the deployment distribution \(proprietary code\). The AI will confidently generate code using popular patterns that are wrong for your codebase. This is especially dangerous because the code looks correct to humans who are also familiar with the popular patterns — it takes someone deeply familiar with the proprietary conventions to spot the mismatch. The more unique your codebase, the worse AI performs, and this degradation is invisible until you audit.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-21T23:00:28.069440+00:00— report_created — created