I doubt it was a decision based on race. She's obviously a "good" kid, and the cops and admin know it.
What's bullshit is that she was doing a very low-risk "experiment". It doesn't really sound like a real experiment, just a curious kid trying something out. Or at worst, the kind of harmless prank everyone used to do. But it was harmless, and she was probably just doing it for fun, or because she was curious.