From c236bcf1b67c8e81176ac289809d11aa38c5e23b Mon Sep 17 00:00:00 2001 From: Andreas Koepf Date: Thu, 20 Feb 2025 22:47:21 +0100 Subject: [PATCH] store possible answer in entry 'answer' field --- reasoning_gym/algorithmic/jugs.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/reasoning_gym/algorithmic/jugs.py b/reasoning_gym/algorithmic/jugs.py index 3f93a409..a09893d0 100644 --- a/reasoning_gym/algorithmic/jugs.py +++ b/reasoning_gym/algorithmic/jugs.py @@ -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: