I know in Michigan we have a judge who is notorious for sentencing drug and alcohol offenders to the maximum allowed, regardless of plea agreements, so criminal defense attorneys in his court recommend to their clients that they ask for a jury trial.
There can be factors other than evidence that will influence the outcome of charges so a defendant really needs to rely on their own attorney for guidance.