That's my experience too. Its unfair to expect current AI to do this - since good abstractions are extremely task specific. Hard to train on that.
What's also annoying is that AI's approach is not consistent within a project, a different sort of complexity.