Posted by Klavot on June 30, 2007, at 6:30:18
In reply to Re: Examples, posted by Klavot on June 30, 2007, at 2:54:18
Since my last post, I've had some more ideas on how to improve the block length formula. The formula I previously proposed was
B = S(D*exp(-P/r)+k).
Multiplying out the terms gives
B = S*D*exp(-P/r) + S*k.
The first terms implies that the severity of the current incivility is also applied to previous incivility, which clearly isn't right. So I propose a slightly different formula, one which is both simpler and eliminates the need for the constant k:
B = S + D*exp(-P/r).
Again exp(x) refers to the exponential function, r is a constant >= 1 to be determined in advance (lower values of r will give more lenient blocks), B is the block length to be determined, S is the severity of the current incivility (a numerical value >= 1 to be assessed by Dr Bob; greater values of S correspond with more serious acts of incivility), D is the duration of the previous block, and P is the time passed since the previous block expired. All time lengths are measured in weeks and rounding only happens after the entire term has been calculated.
Klavot
poster:Klavot
thread:766717
URL: http://www.dr-bob.org/babble/admin/20070605/msgs/766832.html