Your child’s been sent to jail. And then comes the bill.

Animated by stories such as Cuevas’s, juvenile defenders at the East Bay Community Law Center in Berkeley teamed up with students at the University of California at Berkeley School of Law to begin gathering county-level data to determine whether the payment requirement, so long ignored, was cost-effective.