Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

issue where cards intervals are getting distorted when you hit undo #55

Open
clubmeh opened this issue May 2, 2021 · 3 comments
Open
Assignees
Labels
testing Needs additional data or confirmation

Comments

@clubmeh
Copy link

clubmeh commented May 2, 2021

Hi,

I've noticed this on many occasions, but sometimes when I hit undo on a card to quickly re-read something in the extra section, I have noticed that had I pressed on the card prior to undo, the bonus ease does not get reversed. This results in the second pressing of good / pass to have a massively increased interval (had a card I undid that had an interval of 3.0 months go to 4.4 months b/c of this bug).

If this is really how it is functioning for everyone this is a critical issue that needs to be fixed.

@jazzyjangles
Copy link

hey i am a user not the author and stumbled upon this and looked into it a little myself. are u using the browser to check the interval or are u using the card reviewer when it says the interval above the answer choice? use the browser. because what i noticed is when doing undo/review undo/review over and over pressing different buttons the ease is set accuratley to the most recent press. ie when i press good and the ease goes from 300 to 330... when i press undo it shows 330 still.. but then if i press again it sets the ease to 280. now if i press undo it says the ease is 280, but if i press good it corrects and schedules it for the ease of 330. so what im saying is my scheduler is working properly even if i press undo. its just that when i press undo it doesnt correct the ease until after i rate good/again. but when i see a card for the first time without doing undo it would set it to 280 or 330 depending on what i rate it so the ease is correcting fine for me.

@brownbat
Copy link
Owner

The interval hints above the buttons assume the standard algorithm, so they are really misleading and don't reflect the actual ease / interval of the card as seen in the browser after the review.

I'll take another look at this one, but in the past when it came up, it was a problem with the predicted interval that Anki displays on the cards not realizing we're going to alter the ease before its calculation is complete.

@brownbat brownbat self-assigned this May 11, 2021
@brownbat brownbat added the testing Needs additional data or confirmation label May 11, 2021
@AustinHasten
Copy link

Sometimes (not always?) the card's factor doesn't seem to get reset on undo. This can cause confusion if you look at the card's info pane and probably accounts for the wacky predicted intervals. It shouldn't actually affect the addon's behavior because the addon gets a card's current factor by looking at the most recent review, not the actual factor on the card at the time.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
testing Needs additional data or confirmation
Projects
None yet
Development

No branches or pull requests

4 participants