Why did an S.F. judge give a 30-day sentence for armed robbery? Here’s what case records show