In my understanding, the wards serve mostly two purposes: prevent harm from the outside (by mostly isolating Hogwarts magically from the outside), and analytical wards that inform the school authorities if something really bad happens.
So if you want to murder someone inside of Hogwards, you face the problem that the murder is immediately detected, and then you’re sealed off from the outside—the chances of escaping aren’t very high.
You are right that the wards don’t seem to prevent any accidents, but it seems that most “school magic” doesn’t go horribly wrong without prior warnings. For example in potions, people seem to know which potions are dangerous, and those are only done under supervision.
In my understanding, the wards serve mostly two purposes: prevent harm from the outside (by mostly isolating Hogwarts magically from the outside), and analytical wards that inform the school authorities if something really bad happens.
So if you want to murder someone inside of Hogwards, you face the problem that the murder is immediately detected, and then you’re sealed off from the outside—the chances of escaping aren’t very high.
You are right that the wards don’t seem to prevent any accidents, but it seems that most “school magic” doesn’t go horribly wrong without prior warnings. For example in potions, people seem to know which potions are dangerous, and those are only done under supervision.