Residents stress stability for student assignments