That's bad and those juniors should be taught to do better or be "managed out of the company".
Their job is to deliver code that they have proved to work.
This inspired me to write a longer form version of this: Your job is to deliver code you have proven to work https://simonwillison.net/2025/Dec/18/code-we-have-proven-to...
The link is a 404 for me
I changed it to https://simonwillison.net/2025/Dec/18/code-proven-to-work/
It's now being discussed here: https://news.ycombinator.com/item?id=46313297