So why should the student be penalized? If it’s a signal that intervention is needed then just intervene, why the punishment?
An exam is partially meant to measure how well the student learned the information. Why would you want to penalize students doing well?