Not exactly accurate. Still happens. Sean Worsley’s case of 5 years in jail for possession of a mere 10 grams was a real eye opener:
https://houseofwise.co/blogs/news/last-prisoner-project-sean-and-eboni-worsley
Article says he spent 6 days in jail and 5 years probation- and charges were dropped as part of plea deal