The attack with the machete was one of a string of violent offences over which the teenager was charged including a separate attack on a night nurse in a foiled carjacking months earlier.