Could be things outside of punishments too, like cultural norms, political strategies, work practices, medical techniques, etc
For example, a medical technique they used to treat the clinically depressed in the past was with electro-shock therapy, or putting them asylums, etc. This is seen as barbaric today. Lobotomy was also quite common for treating kids deemed unruly. Same story.
Modern medical treatments for gender surgery probably qualify. Future people will likely be horrified by this.