by cypherpunks01 · 14y ago · 0 comments
The difference is that instead of doing the calculation from the "time since submission" (which changes over time and, as you say, won't work with Couch's views which can't emit values as time goes on) it does the calculation using the "created_at" property. In essence the outcome is the same.
Here's the algorithm I use which needs some better documentation :) https://github.com/lmatteis/hckr.it/blob/master/common/util....
I might be wrong, though. It's been a while since I've looked at that part of the code.
There are also a few similarities like max(abs(points+1),1), log base 10...