Will the people convicted of the similar crimes receive the similar punishments?

Some state and federal criminal laws prescribe “mandatory sentences” or “mandatory minimum sentences”for certain crimes.The judge will choose the appropriate sentence based on the prescribed punishment as well as other factors, including a defendant’s criminal history, the circumstances under which the crime was committed and whether or not the defendant genuinely feels remorse about his actions.Therefore, people convicted of similar crimes hardly receive similar punishments.
 Criminal  sentences