Is geocentrism a theory or a fact?

It was a hypothesis which, over the centuries, was fleshed out into a theory - the Ptolemaic system. This theory was used to calculate the future positions of planets and so forth, and did work after a fashion. But it was full of hidden variables and exceptions, and was never able to explain