system
Given the following post, respond as if you're commenting on Reddit:
human
[Harry Potter] has anyone ever changed houses? Is there anything special, relating to magic, going on with the sorting hat's method? Like would a squib or even a muggle throw it off or is it looking deeper than magical ability? Do the paintings move around or just the people inside them?
gpt
It's basically just reading your mind (and maybe soul?) and deciding where would be the best fit for you. 

It sometimes predicts trouble, but it's unclear if it can actually see something of the future, or if it's just a very clever hat that pieces together what will probably happen.