def get_filled_buffer_with_dones():
observation_space = gym.spaces.Box(low=<NUM_LIT:0>, high=<NUM_LIT:255>, shape=(<NUM_LIT:2>, <NUM_LIT:2>, <NUM_LIT:1>), dtype=np.uint8)<EOL>action_space = gym.spaces.Discrete(<NUM_LIT:4>)<EOL>buffer = CircularBufferBackend(<NUM_LIT:20>, observation_space, action_space)<EOL>v1 = np.ones(<NUM_LIT:4>).reshape((<NUM_LIT:2>, <NUM_LIT:2>, <NUM_LIT:1>))<EOL>done_set = {<NUM_LIT:2>, <NUM_LIT:5>, <NUM_LIT:10>, <NUM_LIT>, <NUM_LIT>, <NUM_LIT>, <NUM_LIT>}<EOL>for i in range(<NUM_LIT:30>):<EOL><INDENT>if i in done_set:<EOL><INDENT>buffer.store_transition(v1 * (i+<NUM_LIT:1>), <NUM_LIT:0>, float(i)/<NUM_LIT:2>, True)<EOL><DEDENT>else:<EOL><INDENT>buffer.store_transition(v1 * (i+<NUM_LIT:1>), <NUM_LIT:0>, float(i)/<NUM_LIT:2>, False)<EOL><DEDENT><DEDENT>return buffer<EOL>
Return simple preinitialized buffer with some done's in there