ankidroid / Anki-Android

AnkiDroid: Anki flashcards on Android. Your secret trick to achieve superhuman information retention.
GNU General Public License v3.0
8.62k stars 2.23k forks source link

[BUG]: Reset Progress messes up Review History after Changing Learning Steps #16105

Closed brishtibheja closed 7 months ago

brishtibheja commented 7 months ago

Checked for duplicates?

Does it also happen in the desktop version?

What are the steps to reproduce this bug?

(I'm not totally sure about the steps)

  1. Add cards to deck (preferably 3 or more as this doesn't happen with every card)
  2. Review them normally (I pressed Again first, then Good on them)
  3. Reset progress for the cards
  4. Change learning steps (I was switching between 5s/10s in the second step)
  5. Go through the cards again

Expected behaviour

review history is normal

Actual behaviour

at least one of the cards has a messed up history. Reset appears at top and all the reviews you do go beneath it.

Screenshot_2024-04-05-18-30-17-20_a9eef3a2a561b80d5c76daebd0f9a14c

Look at this picture. The second review from top actually happens after the one on top (after reset). This is evident because how can I press Good two times and not get the Graduating Interval.

Debug info

AnkiDroid Version = 2.18alpha8 (6fc26947fd31743bc83e68f17ae7fec64bfa8e62)

Backend Version = provider(?) (24.04 429bc9e14cefb597646a0e1beac6ef140f226b6f)

Android Version = 11 (SDK 30)

ProductFlavor = full

Manufacturer = realme

Model = RMX2193

Hardware = mt6768

Webview User Agent = null

ACRA UUID = cf265e01-9693-407f-984d-61ddf9698fac

FSRS Enabled = true

Crash Reports Enabled = true

(Optional) Anything else you want to share?

This is an edge-case but I figure this can mess up with FSRS for some people (not sure)

Research

BrayanDSO commented 7 months ago

Scheduler issue. Please report it in the forums.