According to Torah Law, if a man cannot or will not be restrained from criminally forcing himself sexually upon other people, it is permissible for the court to order him to be castrated.
The Torah standard for modest clothes is to cover her whole torso until her collarbone, her legs until her knees, and her arms until the elbow. Likewise, it is proper that a married woman cover her hair when outside her house or in the presence of men other than her husband.
I hope this helps.
We have a chemical way for pedos but whatever same end.
Those are all correct, however the issue here is running in the presence of men, it's a little less straight forward, in normal clothes it is not really allowed for many women, for some women it's not an issue, and women can wear clothes that make it ok, these are cumbersome so we have gyms for them.
It seems absurd to make such laws for people used to seeing half-naked people all day. If you live in a place where restrain your eyes doesn't mean to continually stare at the ground, such a thing affects you enormously. The results of exposure to constant sexual immodesty begin at foul language and go through judging people solely on their looks, dehumanizing them and worse. In a Jewish society where we're trying to make something perfect, it makes sense, in a society where it's everyone, selective application of halacha leads to abuses.