Facebook tracking pixel

What should a teacher do if an AI detector flags a student's work?

Use the flagged text as an invitation to explore rather than to prove possible misconduct. Account for the sections of text that have been flagged by the AI detector and compare those to previous student assignments and their versions. Depending on what is available to you, trace the drafts and revisions of the work.
Start the conversation with the student so that they narrate what their writing process was. Keep in mind that false positives affecting academics are more likely to appear in non-native speakers’ writing, so it is best not to draw conclusions based only on the fact of the score.