Through trial and error, I found that the best way to increase a new software engineer's productivity is by gradually increasing the difficulty and independence level at which they operate. Turns out the name for this is the zone of proximal development.