Time spent logged in will also be useful to include as a component.
That can be manipulated very easily, so it's useless for something like this.
Ok.
And you should consider more sophisticated metrics such as sum of f(x) over all two-week periods, f(x) being x / (1 + sqrt(x/14)) or x / (1 + x/28).
Why is that better? I'm not sure that it can be done very easily/efficiently.
1. It's smoother. Instead of having an arbitrary threshold above which posts cease to count, the output varies continuously in the input of interests.
2. It requires to actually be active throughout the registration period. With your method, someone who has been registered for 104 weeks and posted once per 2 weeks (that is, not very active at all), can jack up his activity from 52 to 728 by spamming 700 posts at once. Whereas with my method there is an upper bound on how much you can boost your score by concentrated posting.
I do think a voting system can have merit as well, though that is much easier to screw up.
Also, if there isn't already, there should be an option in profile settings whether to display people's activity, post count, or both.
but what is the ","? is it t*14/p, t*14*p, t*4 + g(p)?, min( t*14 || p)
I think he means min (t*14||p) to say z = g(x,y) is a 3 dimensional function
the logical "or" || should be used not ","
if(t*14
{cout>>t*14;}
else
{cout>>p;}
No, min(x, y) is a function of two variables which returns the lower one of them. min(t*14 || p) is meaningless, || works on boolean values, not on numbers.