mirror of
https://github.com/open-thought/reasoning-gym.git
synced 2026-04-28 17:29:39 +00:00
pre-commit
This commit is contained in:
parent
6c46b93ae2
commit
a168605fc7
3 changed files with 12 additions and 12 deletions
|
|
@ -26,7 +26,7 @@ def test_binary_alternation_config_validation():
|
|||
with pytest.raises(AssertionError):
|
||||
config = BinaryAlternationConfig(p_solvable=-0.01) # < 0 not allowed
|
||||
config.validate()
|
||||
|
||||
|
||||
with pytest.raises(AssertionError):
|
||||
config = BinaryAlternationConfig(p_solvable=1.01) # > 0 not allowed
|
||||
config.validate()
|
||||
|
|
@ -101,4 +101,4 @@ def test_binary_alternation_answer():
|
|||
|
||||
# One shot example
|
||||
string = "111000"
|
||||
assert dataset._get_answer(string) == 1
|
||||
assert dataset._get_answer(string) == 1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue