Ratchet seems to be off-by-one

A couple times recently I’ve tried to ratchet a do-more goal to zero, and I instead ended up with a safebuf of one.

In both cases I’ve fixed it using the graph editor.

(I called it an off-by-one error but I haven’t actually tried confirming that by ratcheting to a different amount)

2 Likes

Hmm, that sounds odd. I’ve tested and there’s definitely no widespread “off by one” issue; it’s working as expected for me.

I wonder – is it possible you had breaks scheduled in the graph? You can’t remove breaks fully in a single ratchet.

1 Like

I saw something similar. I used ratchet for a do less goal. When I put 0.7 it left 0.6 units only. If the beeminder team needs more details, let me know!

1 Like

I didn’t have any breaks in the future, no.

One possibly-relevant detail is that my deadline is after midnight.

This sounds like it could be a floating-point issue. (Compare How does a goal with a rate of 1 have +2 due?)

1 Like