mirror of
https://github.com/open-thought/reasoning-gym.git
synced 2026-04-23 16:55:05 +00:00
fix index out of range of arc_1d dataset (#190)
This commit is contained in:
parent
e4102a44f6
commit
7a45b14a49
3 changed files with 30 additions and 24 deletions
|
|
@ -18,7 +18,7 @@ class Arc1DConfig:
|
|||
|
||||
def validate(self) -> None:
|
||||
"""Validate configuration parameters"""
|
||||
assert self.min_size > 0, "min_size must be positive"
|
||||
assert self.min_size >= 8, "min_size must be >= 8"
|
||||
assert self.max_size >= self.min_size, "max_size must be >= min_size"
|
||||
assert self.num_train > 0, "num_train must be positive"
|
||||
assert self.size > 0, "size must be positive"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue