mirror of
https://github.com/open-thought/reasoning-gym.git
synced 2026-04-22 16:49:06 +00:00
store possible answer in entry 'answer' field
This commit is contained in:
parent
9068e1d1b1
commit
c236bcf1b6
1 changed files with 2 additions and 2 deletions
|
|
@ -279,8 +279,8 @@ Reply as a JSON-parsable list of moves which result in any of the jugs being fil
|
|||
|
||||
return {
|
||||
"question": question,
|
||||
"answer": None,
|
||||
"metadata": {"possible_answer": solution, "puzzle": puzzle},
|
||||
"answer": json.dumps(solution), # one possible solution
|
||||
"metadata": {"puzzle": puzzle},
|
||||
}
|
||||
|
||||
def score_answer(self, answer: Optional[str], entry: Dict[str, any]) -> float:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue