There’s was a very detailed post a few years back on here which clearly set out how it’s done. For the life of me I’ll never find it though
I do recall at the time the general consensus being that it was a good system
Guessing you might be referring to this:
BBC - Paul Fletcher: Secrets of the fixture computer