It would be helpful if there were an actual transcript of the sentencing, because in nearly every situation, relying on journalists to explain the nuances (if there are any) is a recipe for failure.
As someone mentioned above, the sliding scale here is 0-3 years, and the accused will receive credit for time spent in custody prior to sentencing.
I wouldn't be surprised if the defence introduced those statements (e.g., "He couldn't graduate with his peers") and the judge mentioned them simply to state, on the record, that he considered matters properly introduced by the defence in sentencing.
I also wouldn't be surprised if it's a shitbag Brock Turner-like judge.
But I'm going to state, again and again on this forum, secondhand reports by most news outlets do not paint the full picture when dealing with legal matters.