mirror of
https://github.com/open-thought/reasoning-gym.git
synced 2026-04-19 12:58:07 +00:00
lint
This commit is contained in:
parent
aae6a58e35
commit
9c12701e7a
2 changed files with 2 additions and 2 deletions
|
|
@ -85,7 +85,7 @@ def test_group_anagrams_dataset_items():
|
|||
assert solution == solvable
|
||||
|
||||
# Test the scoring
|
||||
assert dataset.score_answer(answer=item['answer'], entry=item) == 1.0
|
||||
assert dataset.score_answer(answer=item["answer"], entry=item) == 1.0
|
||||
assert dataset.score_answer(answer="gibberish", entry=item) == 0.01
|
||||
assert dataset.score_answer(answer=None, entry=item) == 0.0
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue