mirror of
https://github.com/open-thought/reasoning-gym.git
synced 2026-04-22 16:49:06 +00:00
Fix GoL-Halt Determinism (#317)
* test alt case * fix determinism of gol-halt
This commit is contained in:
parent
e01910254d
commit
d9ef4f4d14
3 changed files with 19 additions and 0 deletions
|
|
@ -263,6 +263,9 @@ class GameOfLifeHaltingDataset(ProceduralDataset):
|
|||
},
|
||||
]
|
||||
|
||||
def __init__(self, config: GameOfLifeHaltingConfig):
|
||||
super().__init__(config=config, seed=config.seed, size=config.size)
|
||||
|
||||
def __getitem__(self, idx: int) -> dict:
|
||||
"""Generate a single GameOfLife task
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue