Schools use AI to monitor kids, hoping to prevent violence. An investigation found security risks

Machine-learning algorithms flag suspected problems like bullying, self-harm or suicide and then alert school officials.