mirror of
https://github.com/open-thought/reasoning-gym.git
synced 2026-04-19 12:58:07 +00:00
jugs jugs jugs lint
This commit is contained in:
parent
6f00690ae1
commit
0f798457ed
2 changed files with 32 additions and 4 deletions
|
|
@ -232,9 +232,9 @@ class JugsConfig:
|
|||
|
||||
def validate(self):
|
||||
"""Validate configuration parameters"""
|
||||
assert self.num_jugs > 2, "edge_probability must be gt 2"
|
||||
assert self.difficulty > 0, "edge_probability must be gt 0"
|
||||
assert self.difficulty < 200, "edge_probability must be gt 200"
|
||||
assert self.num_jugs > 2, "num_jugs must be gt 2"
|
||||
assert self.difficulty > 0, "difficulty must be gt 0"
|
||||
assert self.difficulty < 200, "difficulty must be lt 200"
|
||||
|
||||
|
||||
class JugsDataset(ProceduralDataset):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue