Author |
Topic: Game Archive Errors (Read 1562 times) |
|
lightvector
Forum Guru
Arimaa player #2543
Gender:
Posts: 197
|
|
Game Archive Errors
« on: May 13th, 2011, 4:55pm » |
Quote Modify
|
I was preparing to do some analysis on the game archives, and caught some more errors. Game 55 - 22g is illegal. Also, is game 55 supposed to be listed in between 16 and 17? Game 32 - 15g is illegal Game 77 - 19g is illegal Game 20004 - Gold's last move (31w) is duplicated by silver Game 20043 - Silver's last move (44b) is duplicated by gold Game 20310 - 11w appears twice, the first instance contains move 10b Game 20900 - Gold's last move (31w) is duplicated by silver Game 21086 - Silver's last move (14b) is duplicated by gold Game 21220 - Silver's last move (30b) is duplicated by gold Game 21306 - Gold's last move (14w) is duplicated by silver Game 21795 - Gold's last move (18w) is duplicated by silver Game 22477 - Silver's last move (3b) is duplicated by gold Game 23732 - Silver's last move (9b) is duplicated by gold Game 24059 - Gold's last move (30w) is duplicated by silver Game 24236 - Gold's last move (8w) is duplicated by silver Game 25477 - Silver's last move (15b) is duplicated by gold Game 25990 - 30b appears twice, the first instance contains move 30w Game 27590 - 13b has two steps concatenated together, also 5b has an extra space (maybe the space from 13b somehow got inserted early at 5b?) Game 120745 - Silver's last move (27b) is duplicated by gold Game 122556 - Gold's last move (10w) is duplicated by silver Game 133833 - Gold's last move (3w) is duplicated by silver Game 161645 - Silver's last move (44b) is duplicated by gold I'm guessing games 55, 32, and 77 are from when the server didn't properly check frozen pieces? I'm not sure what should be done about them, if they were the actual moves played in those games (despite being illegal). All of the rest are clearly errors and should be fixed. The most recent instance is surprisingly recent, 161645 was in November 2010. Maybe the bug still exists? All of these duplication bugs apparently happen on timeout - perhaps some sort of rare race condition in the server code?
|
« Last Edit: May 13th, 2011, 4:57pm by lightvector » |
IP Logged |
|
|
|
robinz
Forum Guru
Arimaa player #6110
Gender:
Posts: 65
|
|
Re: Game Archive Errors
« Reply #1 on: May 14th, 2011, 5:20am » |
Quote Modify
|
on May 13th, 2011, 4:55pm, lightvector wrote: The most recent instance is surprisingly recent, 161645 was in November 2010. |
| Sorry, this isn't relevant to your question, but I'm surprised to hear this. My current postal games have numbers around 229000. I really can't believe that there have been almost as many games played between November 2010 and May 2011 as there were until November 2010 from when the site started (which I think was about 2002/3? someone here will know). So either you're wrong about when 161645 was played, or (more likely) I'm confused about something...
|
|
IP Logged |
|
|
|
Janzert
Forum Guru
Arimaa player #247
Gender:
Posts: 1016
|
|
Re: Game Archive Errors
« Reply #2 on: May 14th, 2011, 7:39am » |
Quote Modify
|
Ongoing games use a temporary game number that is quite a bit larger than the permanent number that gets assigned after the game finishes. Janzert
|
|
IP Logged |
|
|
|
omar
Forum Guru
Arimaa player #2
Gender:
Posts: 1003
|
|
Re: Game Archive Errors
« Reply #3 on: May 14th, 2011, 3:46pm » |
Quote Modify
|
Thanks for spotting this lightvector. I'll add a "corrupted game" field to the database and mark these games as corrupted so that they can be skipped when analyzing the database. Fixing them manually would mess up the historical record that the game was originally messed up by the error on the server.
|
|
IP Logged |
|
|
|
Janzert
Forum Guru
Arimaa player #247
Gender:
Posts: 1016
|
|
Re: Game Archive Errors
« Reply #4 on: May 14th, 2011, 9:32pm » |
Quote Modify
|
People may also want to check out this really old thread with issues I found when going through the database then. Game 46 may be my favorite. Janzert
|
« Last Edit: May 14th, 2011, 9:34pm by Janzert » |
IP Logged |
|
|
|
lightvector
Forum Guru
Arimaa player #2543
Gender:
Posts: 197
|
|
Re: Game Archive Errors
« Reply #5 on: May 14th, 2011, 10:42pm » |
Quote Modify
|
Haha, game 46 is awesome! My move parser now checks local move legality, which is how I found those errors. But not ending conditions, so it didn't detect that game. Cute.
|
|
IP Logged |
|
|
|
mistre
Forum Guru
Gender:
Posts: 553
|
|
Re: Game Archive Errors
« Reply #6 on: May 14th, 2011, 11:37pm » |
Quote Modify
|
I wonder what silver's reaction was when they realized that they won, but they didn't really win!
|
|
IP Logged |
|
|
|
omar
Forum Guru
Arimaa player #2
Gender:
Posts: 1003
|
|
Re: Game Archive Errors
« Reply #7 on: May 15th, 2011, 3:08pm » |
Quote Modify
|
Thanks for the link Janzert. I've created a field called 'corrupt' which is set to 1 if the move list or the events log is bad. I've marked the games mentioned by lightvector and Janzert as corrupt.
|
|
IP Logged |
|
|
|
rabbits
Forum Guru
Arimaa player #1337
Gender:
Posts: 108
|
|
Re: Game Archive Errors
« Reply #8 on: May 15th, 2011, 8:56pm » |
Quote Modify
|
I just watched game 46 expecting to spot the funny illegal move, but then I got to the end and hadn't noticed anything strange... I thought I had missed the move where a frozen piece overcomes its fear and gets away from its bully... I almost went back to the beginning of the game to watch it again, this time more carefully. Instead I came back to this thread and realized what the problem was. Then I watched the rest of the game and laughed quite hard!
|
|
IP Logged |
|
|
|
lightvector
Forum Guru
Arimaa player #2543
Gender:
Posts: 197
|
|
Re: Game Archive Errors
« Reply #9 on: May 23rd, 2011, 9:25pm » |
Quote Modify
|
on May 14th, 2011, 3:46pm, omar wrote:Thanks for spotting this lightvector. I'll add a "corrupted game" field to the database and mark these games as corrupted so that they can be skipped when analyzing the database. Fixing them manually would mess up the historical record that the game was originally messed up by the error on the server. |
| Just curious, has this field been added yet? It's not urgent, of course, but I noticed the game archive files seem to be the same as before.
|
|
IP Logged |
|
|
|
Hippo
Forum Guru
Arimaa player #4450
Gender:
Posts: 883
|
|
Re: Game Archive Errors
« Reply #10 on: May 24th, 2011, 12:56pm » |
Quote Modify
|
Interesting view to the arimaa history
|
|
IP Logged |
|
|
|
omar
Forum Guru
Arimaa player #2
Gender:
Posts: 1003
|
|
Re: Game Archive Errors
« Reply #11 on: May 25th, 2011, 3:51pm » |
Quote Modify
|
on May 23rd, 2011, 9:25pm, lightvector wrote: Just curious, has this field been added yet? It's not urgent, of course, but I noticed the game archive files seem to be the same as before. |
| Yes, the field was added to the database, but was not being picked up by the program that makes the archive file. It should start getting picked up now. I've also created a file which has a list of the game ids marked as corrupt as of 201105. http://arimaa.com/arimaa/download/gameData/corrupt201105.txt
|
|
IP Logged |
|
|
|
Fritzlein
Forum Guru
Arimaa player #706
Gender:
Posts: 5928
|
|
Re: Game Archive Errors
« Reply #12 on: Feb 27th, 2012, 10:56pm » |
Quote Modify
|
Oh, boy, I just tried to update my database, and the new "corrupt" field broke the import routine and (ironically) corrupted the database.
|
|
IP Logged |
|
|
|
|