Junior developers fail when nobody senior is attached. Four checks to run before you hire one, and the real cost of getting it wrong.