They actually survey their subscribers/readers regularly to compile and/or update a consensus of where the various news organizations they use should be placed on their left/right/center classifications.
For The Hill it's probably because they're usually left leaning but some of their presenters lean more libertarian or center