davehg / rl-library

Automatically exported from code.google.com/p/rl-library
Apache License 2.0
0 stars 0 forks source link

Tetris Task spec not right #139

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
The task spec is apparently not giving the same numbers as the observation
sizes for the MDPs.  Not sure if this is for training or proving MDPs.
http://rl-competition.org/phpBB2/viewtopic.php?t=32

Someone should write a test program in the Tetris project that creates one
of each of the training MDPs, gets and parses its task spec, and then
initializes it and gets some observations to make sure they all match up.

This can be the start of our unit testing.

Original issue reported on code.google.com by brian.ta...@gmail.com on 3 Dec 2007 at 10:55

GoogleCodeExporter commented 8 years ago
This was a fairly serious bug. It turns out that the values for the piece 
vector ie: 7 length vector where all are 0 
except for the current piece which is 1, was not being accounted for in the 
task spec but was being sent back as 
an observation. Increased the int count in the Task Spec for tetris by 7, and 
added the appropriate types.

Task Spec should be now fixed

Original comment by rad...@gmail.com on 5 Dec 2007 at 10:46