mirror of
https://github.com/open-thought/reasoning-gym.git
synced 2026-04-26 17:13:17 +00:00
remove redundant assert in ChainSumConfig.validate()
This commit is contained in:
parent
9fb231dde9
commit
e9a2097a71
1 changed files with 0 additions and 4 deletions
|
|
@ -27,10 +27,6 @@ class ChainSumConfig:
|
|||
assert self.min_digits > 0, "min_digits must be positive"
|
||||
assert self.max_digits >= self.min_digits, "max_digits must be >= min_digits"
|
||||
|
||||
# Validate digit ranges make sense
|
||||
if self.min_digits > 1:
|
||||
assert 10 ** (self.min_digits - 1) >= 1, "min_digits would result in invalid number range"
|
||||
|
||||
|
||||
class ChainSumDataset(ProceduralDataset):
|
||||
"""Generates simple arithmetic tasks using only + and - operators"""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue