as of me, it takes about a year before I got an ability to see where code is good, bad or just ugly
probably, you may outsource it as well: cheap coders make code (months), every milestone you hire a hi rate consultant to audit the codebase (days)
what do you think?