It's unclear to me if they give all the information prior to sentencing. 
if they give them all the information i don't know when it comes to sentencing phase i guess they tell them if a guy if the person has a previous record and stuff