Re: [Toss-devel] GDL translation progress report (doing pawn_whopping.gdl)
Status: Beta
Brought to you by:
lukaszkaiser
From: Lukasz K. <luk...@gm...> - 2011-11-13 23:06:19
|
Hi. To finish this round of GDL translation work - let's call it v1 even though we had a few previous attempts - I did a lot of tests during the weekend. First of all, I stress-tested game translation with all examples of gdl games I could find - which are mostly from the Dresden server. There were a few problems with stack, so I made functions tail recursive, and on computers with less memory it still might run out of it before the timeout. But except for the memory issue, all games now either translate or timeout reasonably. Full test report is in the attached file - I ran the tests at 180 seconds per file on my laptop (which is not much time - a bit more could help) and we translated 71 out of all 235 games I found, which is just above 30%. With less memory, there were 3 games that had the biggest issues: (1) duplicatestatesmall, (2) knightstour, and (3) ruledepthquadratic, so these are some candidates to look at first the next time. After testing just the translation, I started some plays on the Dresden server to make sure we can still play what we played before and that is still works. Indeed, in Breakthrough and Connect5 we play as good as before :). http://euklid.inf.tu-dresden.de:8180/ggpserver/public/view_state.jsp?matchID=breakthrough.1321221433240 http://euklid.inf.tu-dresden.de:8180/ggpserver/public/view_state.jsp?matchID=connect5.1321220460498 Some other games which translate do not work so well - which is of course to be expected and was even pointed out in the previous mail. But there are different reasons we will have to work on: e.g. pacman3p fails during the phase when heuristic is generated (we did no work on this in some time) and games like connect4 and pawn_whopping get heuristics, but fail when moving - due to dense relations (i.e. the moves simply take too long for this reason). As you can see, there is enough work for the next time, but I think that we are ready to call it v1 :). With over 30% games translated and some playing very well, I think this is a good start. And I'm happy about the documentation in reference.tex: it still needs some cleanup before release, but it looks good. And - since I plan to focus on other things now to get the release ready - this nice reference and rich unit tests will make it easy to get back to the GGP stuff later. I think this was a really nice work, thanks! Lukasz |