mirror of
https://github.com/open-thought/reasoning-gym.git
synced 2026-04-24 17:05:03 +00:00
test: Add comprehensive unit tests for QuantumLockDataset
This commit is contained in:
parent
01dfae6fe7
commit
9480c18e16
2 changed files with 102 additions and 5 deletions
|
|
@ -18,6 +18,9 @@ class ChainSumConfig:
|
|||
size: int = 500
|
||||
|
||||
def validate(self) -> None:
|
||||
"""Validate configuration parameters"""
|
||||
assert self.difficulty > 0, "difficulty must be positive"
|
||||
assert self.size > 0, "size must be positive"
|
||||
"""Validate configuration parameters"""
|
||||
assert self.min_terms > 0, "min_terms must be positive"
|
||||
assert self.max_terms >= self.min_terms, "max_terms must be >= min_terms"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue