How do private bittorrent trackers monitor ratio?

view story

http://serverfault.com – I'm trying to wrap my head around how torrent tracker servers work. How do private trackers monitor ratio? I can see from the spec that there's a "completed" message, but I'm just not sure how the tracker uses this information to generate the commonly used ratio metric. Thanks! (HowTos)