You could "fix" hiring juniors if there were a school that taught real world professional software engineering by immersion. Colleges don't do it, boot camps don't do it.
I want every junior dev to work on a fake team building a fake product for 24 months, with a senior (not a "professor", but a real senior dev) shadowing and pointing out common pitfalls and how to avoid them. I know they wouldn't write amazing code, but I could trust they would do everything else right. (My dream would be that CompSci was taught more like a trade school)