Note, the police told her it was safe.
Sounds like they didn’t keep up their end of the bargain.
Actually, they told her NOT to go anywhere with the perps.
I’m not defending the police. They screwed up by sending her in. She did it because they told her she would go to prison. IMHO, anyone with intelligence enough to recently graduate from a major university should have known that decision is up to a judge, or if she so chooses, a jury. NOT the arresting officer. She was willing to be a part of the sting.