mirror of
https://github.com/open-thought/reasoning-gym.git
synced 2026-04-24 17:05:03 +00:00
Refactor code formatting for improved readability across multiple files
This commit is contained in:
parent
6eb252ae32
commit
c63a596489
16 changed files with 50 additions and 69 deletions
|
|
@ -66,9 +66,7 @@ def test_curriculum():
|
|||
|
||||
def test_task_types():
|
||||
for task_type in ("string_generation", "extraction", "dfa_state", "dfa_prefix"):
|
||||
config = RegexPuzzlesConfig(
|
||||
seed=42, size=10, task_types=(task_type,), task_weights=[1.0]
|
||||
)
|
||||
config = RegexPuzzlesConfig(seed=42, size=10, task_types=(task_type,), task_weights=[1.0])
|
||||
ds = RegexPuzzlesDataset(config)
|
||||
for i in range(len(ds)):
|
||||
item = ds[i]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue