On Thu, Feb 13, 2025 at 10:48:09AM +0100, Øystein Schønning-Johansen wrote:

> Will rounding down to the nearest integer (floor) solve the issue?

On Thu, Feb 13, 2025 at 11:21:18AM +0000, Christian Anthon wrote:

> I believe I looked at this a long time ago but opted to keep it as it 
> was. It is an approximation anyway. Your changes otherwise looks 
> right.

Both are approximations but the first one is the Keith count as 
described and the current code something possibly slightly confusing 
when the "Keith Count Leader(+1/7)" is shown with a decimal digit.

In addition to the matter of < vs. <= you mention, wouldn't it be 
preferable to show the double and take criteria separately? Something 
like:

Keith Count Leader            : 35
Keith Count Leader(+1/7)     L: 40
Keith Count Trailer          T: 38

Redouble (since L <= T+3)
Take (since L >= T+2)

Reply via email to