From 7fdba320460c125f4e113efb1cb7c418b228d3af Mon Sep 17 00:00:00 2001 From: Ramiro Rodriguez Colmeiro Date: Wed, 12 Nov 2025 12:47:54 -0300 Subject: [PATCH] prompr fix to request more specific JSON responses --- reasoning_gym/code/codeio.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/reasoning_gym/code/codeio.py b/reasoning_gym/code/codeio.py index 390b22a8..36b4469d 100644 --- a/reasoning_gym/code/codeio.py +++ b/reasoning_gym/code/codeio.py @@ -23,7 +23,7 @@ Given the following input: {2} -Can you predict the output without writing any code? Please think and then provide the exact output in the form of a JSON object as your final answer. The keys and values of the object should strictly match the output requirement as specified. +Can you predict the output without writing any code? Please think and then provide the exact output in the form of a JSON value (object, array, number or string, or one of the following three literal names: false null true) as your final answer. The keys and values of the object should strictly match the output requirement as specified. Tip: Here is a reference code snippet for this question. You can refer to this code to guide your reasoning but not copy spans of code directly. @@ -43,7 +43,7 @@ Given the following output: {2} -Can you predict a feasible input without writing any code? Please reason and put your final answer in the form of a JSON object, even if the there is only one input variable, with keys strictly matching the input variables' names as specified. +Can you predict a feasible input without writing any code? Please reason and put your final answer in the form of a JSON value (object, array, number or string, or one of the following three literal names: false null true), even if the there is only one input variable, with keys strictly matching the input variables' names as specified. Tip: Here is a reference code snippet for this question. You can refer to this code to guide your reasoning but not copy spans of code directly.