system
Given the following post, respond as if you're commenting on Reddit:
human
[Harry Potter]What was the entrance to the Chamber of Secrets before toilets were a thing?
gpt
Hogwarts was founded in the 10th century AD.

Toilets - including piped sewage and running water - were a thing by Roman times. After the Romans left, the Britons lost the art of good sewage and had to rediscover it much later, but we know wizards have far better and more reliable long-distance communication and travel than mediaeval muggles, so it wouldn't have been hard for them to keep building comfy crappers.

Some of the fittings have probably been updated over the last thousand years, but with magic bolstering good craftsmanship it's entirely possible that the basic pipes have been unchanged since the days of Salazar Slytherin.