mirror of
https://github.com/open-thought/reasoning-gym.git
synced 2026-04-27 17:23:19 +00:00
pre-commit
This commit is contained in:
parent
941085e0c5
commit
96464388bb
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