The source code for Hacker News is available with the Arc download. pg has said that the actual ranking algorithm differs slightly from the code listed in order to thwart abuse, but for the purposes of ranges I thought it'd be close enough. Knowing the time, relative ranking, and the known scores of participants, the ranges are basically "how many points would this comment need to be one rank higher/lower".