Understanding prompt engineering may not require rethinking generalization