At DuPont Tyler Middle School, the assistant principal’s most urgent concern was a 12-year-old boy. James, a seventh grader with a small voice and mop of brown hair, had posted a concerning screenshot on Instagram that morning, Jan. 23. He was arrested at school hours later and charged with making a threat of mass violence.

The assistant principal had to complete a detailed investigation called a threat assessment, as required by Tennessee law. First, she and other school employees had to figure out whether James’ threat was valid. Then, they had to determine what actions to take to help a potentially troubled child and protect other students.

Threat assessments are not public, but the district gave ProPublica a copy of James’ with his father’s permission. School officials did not carry out the threat assessment properly, according to experts who reviewed it at ProPublica’s request. Instead, the school expelled James without investigating further and skipped crucial steps that would help him or protect others. (We are using the child’s middle name to protect his privacy.)