On Sat, Sep 05, 2026 at 11:01:42PM +0900, TAKAHASHI Kaoru wrote:

> I created a patch that adds a checkbox to the Market Window to enable
> calculations that ignore the gammon rate and backgammon rate.  When this
> checkbox is selected, the Market Window treats the gammon rate and
> backgammon rate as 0 in its calculations. The entered values themselves
> are retained, and you can still recalculate by switching between 0-ply
> and 4-ply. While this checkbox is selected, the rate input fields are
> made insensitive to indicate that they are not being used in the current
> calculation.
> 
> If the checkbox is unchecked, the calculation will be performed using
> the latest saved rates.

I'm not familiar with the Market Window feature, but would it not be 
simpler to just set the four rates to 0 and rely on the Reset button to 
get back the initial values ?

I'm aware that Reset resets everything: money vs. match, match score, 
etc... but is there really a use case for changing some non-rate 
parameters, then looking at what gammon rates at 0 do, then resetting 
the rates but not the other parameters before presumably experimenting 
with something else ?


By the way, there are other quirks in this feature (the market window 
analysis, not your proposed change):

- it is possible to decrease a gammon rate and set it to a lower value 
than the backgammon rate (or to increase the backgammon rate above the 
gammon rate)

- the step increment for the rates is 0.01% and the page increment 1%. 
Who really adjusts them by 0.01 percents ?


Fixing the first one and using arguably more sensible values for the 
increments opens this possibility:

- use a step increment of 1% (and round the value if used) and a page 
increment of 0

- intercept the page down event and set the rate to 0 if it is used.

That would allow to set all rates to 0 without an additional UI element 
(but admittedly two actions by the user rather than one)

Reply via email to