A multi-day analysis of Hacker News’ top 60 stories reveals how its ranking really works: a public formula based on votes and time, plus a hidden penalty system tied to words, domains, and controversy. Here’s the formula, the code to reproduce it, and the rules no one officially documents.