I couldn't find anything in the FAQ, but I'm curious about the magic behind how badges are given out.