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
|
|
@ -112,7 +112,7 @@ class RansomNoteDataset(ProceduralDataset):
|
|||
return 0.0
|
||||
|
||||
s_answer = answer.strip()
|
||||
if not s_answer == str(entry['answer']):
|
||||
if not s_answer == str(entry["answer"]):
|
||||
return 0.01
|
||||
else:
|
||||
return 1.0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue