Miscatagorizing Cards

Index » Feedback

  • 1
 
Reply #1 - 2010 June 10, 1:18 am
infractus New member
From: wisconsin Registered: 2010-04-29 Posts: 8 Website

Sorry if this was addressed already, but a quick search didn't find anything; and sorry if this is in the wrong forum category.
2-3 times when using RtK for reviewing kanji I've gotten a "Oops! You've disconnected" error and although I notice it and reconnect immediately, it miscategorizes some of the cards. I'd have cards in boxes 5, 6, and 7 and I know they don't belong there. I delete the ones that I know are wrong and re-add them, which is not a big deal, but it's disheartening because I don't know how other many cards it's miscategorizing into other boxes that aren't so obvious.

Last edited by infractus (2010 June 10, 1:19 am)

Reply #2 - 2010 June 20, 5:41 am
ファブリス Administrator
From: Belgium Registered: 2006-06-14 Posts: 4021 Website

Hi infractus. What can happen is that the last 1 to 10 cards (up to 10 cards are "cached"), will not have their review status updated if you get a disconnect error. So the cards may not have moved up or back to the failed pile as expected. From the server point of view (where the database is), nothing happened with those cards. So there shouldn't be a need to delete them, instead if any cards weren't updated due to a disconnect, they will show up in subsequent reviews. Keep in mind they may also be mixed with newly added cards, so it is not necessarily obvious when the cards come back.

Reply #3 - 2010 June 20, 10:52 pm
infractus New member
From: wisconsin Registered: 2010-04-29 Posts: 8 Website

well I've had that happen to, while using the "end" option, but I'm not talking about it forgetting that I reviewed them, I'm talking about them actually putting them in the wrong box... Box 5, box 6, box 7, etc. This first happened when I was only 2 weeks or so in, and has happened twice since

Advertising (register and sign in to hide this)
JapanesePod101 Sponsor
 
Reply #4 - 2010 June 21, 2:58 am
ファブリス Administrator
From: Belgium Registered: 2006-06-14 Posts: 4021 Website

EDIT: Hmm, now I seem to remember there was a bug with disconnect whereby the card would be rated twice, so it would jump two boxes. I don't remember if it was fixed, I'll investigate.

What can happen is if the connection is really slow, on local side the website will show the disconnect error with the retry link. But on the server side the message may arrive moments later. Then when you retry the server received the message twice.

I don't think it was fixed and I'll make a point of fixing it ASAP. sad

Reply #5 - 2010 June 22, 2:23 am
alexsuraci Member
From: Indiana Registered: 2009-09-06 Posts: 23 Website
Reply #6 - 2010 June 22, 5:34 am
ファブリス Administrator
From: Belgium Registered: 2006-06-14 Posts: 4021 Website

I'm looking right now at the flashcard review code. I'll make it more robust in that the server will never update the same card twice in a review session, and also return exactly what cards have been succesfully updated to the client. That should fix the issue with double rating of cards that happen with some disconnects.

Reply #7 - 2010 June 22, 3:10 pm
ファブリス Administrator
From: Belgium Registered: 2006-06-14 Posts: 4021 Website

Hi infractus,

I think the bug is fixed, but I'm a bit wary of updating the live site straightaway, the disconnection problem is not easy to test.

If you still experience disconnects from time to time, could you test out the staging website? Your account should exist there, as an older copy. Notice the "DEVELOPMENT VERSION!" background, to avoid confusion with your real account. You can delete all your cards on the staging site, or create a new dummy account if you prefer, it is safe.

The server now keeps a list of updated cards so in theory it's impossible for cards to be rated twice in the same review session. This should fix the issue you mentionned.

Thanks!

Reply #8 - 2010 June 22, 11:10 pm
infractus New member
From: wisconsin Registered: 2010-04-29 Posts: 8 Website

Alright, thank you very much. Based on your descriptions that describes the issue fine and the solution you implemented should work great.
I have a somewhat spotty internet connection so I appreciate that you've made the effort to resolve this.

Reply #9 - 2010 June 23, 12:15 am
slivir Member
From: Japan Registered: 2009-01-26 Posts: 84

I had this exact same problem today so you're not alone.

Reply #10 - 2010 June 23, 4:22 am
ファブリス Administrator
From: Belgium Registered: 2006-06-14 Posts: 4021 Website

Could you guys do some testing on the staging site I linked above? Maybe delete all cards and add just the first 50 ones, that you already know very well? Then if you have disconnects you could confirm if it works better?

If you let me know that it appears to work fine, I'll push the changes to the live site in the next few days.

Reply #11 - 2010 June 29, 12:46 pm
ファブリス Administrator
From: Belgium Registered: 2006-06-14 Posts: 4021 Website

Hello. There was a brief update today of the live site, so the bug should be fixed. Since nobody tested the staging site, I can only hope I didn't introduce new bugs.

Reply #12 - 2010 June 29, 7:01 pm
slivir Member
From: Japan Registered: 2009-01-26 Posts: 84

It seems to be working better now. Had a few disconnects today and the cards didn't jump any boxes.

My connection is only bad at my place of work on Wednesdays (sometimes Fridays). I'm sorry I couldn't test the staging site for you.

Reply #13 - 2010 June 30, 5:02 am
infractus New member
From: wisconsin Registered: 2010-04-29 Posts: 8 Website

I'm sorry I haven't replied to this, especially since I brought it up in the first place, I've been really busy with work and we moved just recently so I haven't had much time to do much of anything, I barely have had time to do my reviews.
I really appreciate that you've went through the bother to find and fix this bug, it really shows your dedication, so thank you.

Reply #14 - 2010 July 07, 5:00 pm
bladethecoder Member
From: UK Registered: 2009-04-10 Posts: 157

I had a disconnect today, and when I pressed "reconnect" the reconnect link went away but the system didn't continue and clicking "end" did nothing, so I had to exit. The last 12 cards were still where they were before I reviewed.

Also, how many reviews are supposed to be lost on unclean exit? I thought I remembered reading "up to 6" somewhere, but it's always been more than 6 on previous occasions as well.

Last edited by bladethecoder (2010 July 07, 5:02 pm)

Reply #15 - 2010 July 08, 4:06 am
ファブリス Administrator
From: Belgium Registered: 2006-06-14 Posts: 4021 Website

@bladethecoder: The caching of flashcard answers is maximum 10 so you may have to re-test up to 10 flashcards on unclean exit.

Reply #16 - 2010 July 08, 6:50 am
bladethecoder Member
From: UK Registered: 2009-04-10 Posts: 157

Hmm, I'm pretty sure it was 12. I'll try to keep an eye on the numbers in case it happens again.

bladethecoder Member
From: UK Registered: 2009-04-10 Posts: 157

(My reconnect failures have all been at the end of a review session, as I mentioned in the other thread. I think I have also had unclean exits in the middle of a session that weren't reconnect failures, and lost more than 10 reviews, though I can't be sure about that.)

Anyway, I have a definite report now. I think there were 27 cards due before the review session. I reviewed them all, and it got stuck on reaching the end, in the manner I described above. After exiting, there were 14 cards due.

Last edited by bladethecoder (2010 September 02, 1:44 pm)

ファブリス Administrator
From: Belgium Registered: 2006-06-14 Posts: 4021 Website

Hi blade,

The bug is fixed. I have an update coming soon. I rewrote the flashcard "engine" to use a more elegant "ajax queue" logic, which solves this problem. Basically from next update you can always reconnect regardless of the situation.

I *may* be able to update the site this weekend. I will announce downtime one day ahead.

  • 1