lichess.org
Donate

Favorite Opponents

Thanks for clarifying that, flugsio! As you say, the simplest fix is to just change the page title to something like "Arcticpenguin Favorite opponents in last 1000 games."
My favorite opponents list does not have 1000 games, and I have played 30+ games with some opponents that are not on the list at all (when there are people on the list with only 5 games played), so flugio is incorrect. It is only registering the most recent games.
I think flugsio means that to calculate the Favorite opponents list it looks through the last 1000 games you played and counts the number of times you played each opponent. Then it lists the ~50 opponents you've played the most times in the last 1000 games. If you played 30+ games with someone, but not enough in the last 1000 games to make the list, then it won't show up. The total is not going to add up to 1000 because it's only listing the top ~50 or so opponents, and you've probably played hundreds of other opponents one or two times in your last 1000 games.

Right? Or am I not understanding the bug you're encountering?
Ouch, "Good post but you can do better" ey?

To not be wrong would be the same as point you to the code on the server and the contents of the database. However, I can simply this task by being a tiny bit more precise but excluding every complex detail that I assume doesn't matter.

In your case, the list shows only 433 (I was still not wrong, it only considers max 1000 games). Also in your case, you have distributed these games over many many many opponents. Now, because everyone in the world can't be your favorite at the same time the page is limited to 50 opponents. So yes, it drops the rest of the games. If I would be even more precise, your page actually only shows 48 players, the reason is that closed accounts are removed from the list after it has been cut. This could maybe be done in the reverse order, in the case that all your 1000 last games was with 50 closed accounts, however it is not that important. </lol> (Hopefully this was mate in 2 and doesn't need more posts)
Hey, this isn't my bug. But thanks for clearing that up, if that's indeed what he meant, then that does explain this "bug".
Uhm, okay flugio...

"So yes, it drops the rest of the games. If I would be even more precise, your page actually only shows 48 players, the reason is that closed accounts are removed from the list after it has been cut. This could maybe be done in the reverse order, in the case that all your 1000 last games was with 50 closed accounts, however it is not that important."

No, they are not closed accounts. I have played many more games than several on the list with people who are still active.

I do agree that it is not important, though. I apologize for offending you by calling you "wrong", but what you said didn't make sense based on the real number of games played with opponents that aren't even registering.

The way Penguin explained it made more sense.
No offending taken, I got a chance and reason to peak at the code again. Also, I was probably wrong here and there as humans are.

I meant it is limited to 50 accounts, but your list actually only has 48 because the 2 closed accounts isn't showed. It was only the 50-48 difference I regarded as unimportant, it will show 50 again after more games played.
Whole idea is bad. I prefer old system - all time favorite opponents.

At least make an option what list to display: for last 1000 games or for all time.

This topic has been archived and can no longer be replied to.