That's certainly been my experience, agents perform better in well maintained code bases with obvious architectural patterns reinforced by frameworks.