The teenager had not been in school the day before due to a hospital appointment and had missed the start of a project, so the teacher allocated her a group to sit with.
"She said I had to sit there with five Asian pupils," said Codie yesterday.
"Only one could speak English, so she had to tell that one what to do so she could explain in their language. Then she sat me with them and said 'Discuss'."
According to Codie, the five - four boys and a girl - then began talking in a language she didn't understand, thought to be Urdu, so she went to speak to the teacher.
"I said 'I'm not being funny, but can I change groups because I can't understand them?' But she started shouting and screaming, saying 'It's racist, you're going to get done by the police'."
Codie said she went outside to calm down where another teacher found her and, after speaking to her class teacher, put her in isolation for the rest of the day.
A complaint was made to a police officer based full-time at the school, and more than a week after the incident on September 26 she was taken to Swinton police station and placed under arrest.