I was involved in the military justice system for 10 years, both as a military police officer and as a company commander. I can assure you, that in my experience, matters of extenuation and mitigation were considered far more deliberately, and weighed much more fairly than what I observe in the civilian justice system.
Naval shipboard commands are a different world ....lol
..... the old UCMJ ... penetration however slight ..... amazing how that statemement fit every article.
On the other hand, I watched good sailors absolutely ruined for small stuff by someone who disliked them. Depended on the Division, Department, XO and CO. What someone in AS Div skated on, someone in M Div was keelhauled for.
In my 20 years in the Nav, that depended on who you were.