So, I learned to code at an odd program at Univ. of Texas - Austin, essentially a bootcamp for coders that began in the 1970's and still runs today. They take about 9 months to get you to a beginning programmer level, then you program (for UT administration) up through a kind of apprenticeship. It worked very well, and the washout rate has historically been about 10%; that is, 90% of those initially admitted go on to become professional programmers. That 10% includes people who quit, move, are expelled, etc. Truly 90% of those admitted get programmer jobs.
They have an admissions test, which is essentially an IQ test.
They would never admit to that, and their admitted population is very diverse (gender, race, age, etc.). But, they don't just admit anybody; in times of high unemployment the vast majority of people who take the test are not admitted. They also interview prospective candidates to weed out anyone with obvious, serious people skills issues. I wonder if this is what's missing from most bootcamps?